"Fossies" - the Fresh Open Source Software Archive

Member "xterm-356/package/pkgsrc/Makefile" (2 May 2020, 1767 Bytes) of package /linux/misc/xterm-356.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile": 355_vs_356.

    1 # $NetBSD: Makefile,v 1.117 2018/03/12 11:18:00 wiz Exp $
    2 
    3 DISTNAME=	xterm-356
    4 PKGREVISION=	1
    5 CATEGORIES=	x11
    6 MASTER_SITES=	ftp://ftp.invisible-island.net/xterm/
    7 EXTRACT_SUFX=	.tgz
    8 
    9 MAINTAINER=	pkgsrc-users@NetBSD.org
   10 HOMEPAGE=	https://invisible-island.net/xterm/xterm.html
   11 COMMENT=	Latest terminal emulator for the X Window System
   12 LICENSE=	x11
   13 
   14 GNU_CONFIGURE=		yes
   15 USE_TOOLS+=		tbl pkg-config
   16 
   17 WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
   18 
   19 CONFIGURE_ARGS+=	--enable-88-color
   20 CONFIGURE_ARGS+=	--enable-256-color
   21 CONFIGURE_ARGS+=	--enable-paste64
   22 CONFIGURE_ARGS+=	--enable-readline-mouse
   23 
   24 CONFIGURE_ARGS.standard=# empty
   25 CONFIGURE_ARGS.3d=	--with-Xaw3d
   26 CONFIGURE_ARGS.xpm=	--with-Xaw3d
   27 CONFIGURE_ARGS.neXtaw=	--with-neXtaw
   28 CONFIGURE_ARGS+=	${${CONFIGURE_ARGS.${XAW_TYPE}}:L}
   29 
   30 INSTALLATION_DIRS=	share/applications
   31 
   32 .include "../../mk/bsd.prefs.mk"
   33 
   34 .if ${X11_TYPE} == "modular"
   35 CONFIGURE_ARGS+=	--disable-imake
   36 CONFIGURE_ARGS+=	--enable-narrowproto
   37 .endif
   38 
   39 .if exists(/usr/include/wchar.h)
   40 CONFIGURE_ARGS+=	--enable-wide-chars
   41 .endif
   42 
   43 .include "../../x11/libX11/buildlink3.mk"
   44 .include "../../x11/libXt/buildlink3.mk"
   45 ###
   46 ### For detection of XKB bell extension.
   47 ###
   48 BUILDLINK_DEPMETHOD.libxkbfile?=	build
   49 .include "../../x11/libxkbfile/buildlink3.mk"
   50 
   51 post-install:
   52 	${INSTALL_DATA} ${WRKSRC}/xterm.desktop \
   53 		${DESTDIR}${PREFIX}/share/applications && \
   54 	${INSTALL_DATA} ${WRKSRC}/uxterm.desktop \
   55 		${DESTDIR}${PREFIX}/share/applications
   56 	cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && tbl xterm.1 \
   57 		> xterm.1.tbl && mv xterm.1.tbl xterm.1
   58 
   59 .include "options.mk"
   60 
   61 .include "../../mk/curses.buildlink3.mk"
   62 .include "../../mk/termcap.buildlink3.mk"
   63 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
   64 .include "../../mk/xaw.buildlink3.mk"
   65 .include "../../mk/bsd.pkg.mk"