"Fossies" - the Fresh Open Source Software Archive

Member "xterm-379/package/freebsd/Makefile" (25 Jan 2023, 3512 Bytes) of package /linux/misc/xterm-379.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": 377_vs_379.

    1 # $XTermId: Makefile,v 1.100 2023/01/25 01:14:44 tom Exp $
    2 # $FreeBSD: head/x11/xterm/Makefile 492827 2019-02-13 06:43:36Z ehaupt $
    3 
    4 # This is adapted from the FreeBSD port, installing as "xterm-dev" with
    5 # separate resource- and manpage files.
    6 # copy "xterm-${PORTVERSION}.tgz to the port's distfiles directory
    7 # and "make makesum".
    8 
    9 PORTNAME=	xterm
   10 PORTVERSION=	379
   11 CATEGORIES=	x11
   12 MASTER_SITES=	ftp://ftp.invisible-island.net/xterm/:src1 \
   13 		https://invisible-mirror.net/archives/xterm/:src1
   14 PKGNAMESUFFIX=	-dev
   15 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:src1
   16 
   17 MAINTAINER=	ehaupt@FreeBSD.org
   18 COMMENT=	Terminal emulator for the X Window System
   19 
   20 LICENSE=	MIT
   21 LICENSE_FILE=	${WRKSRC}/COPYING
   22 
   23 USES=		cpe ncurses tar:tgz
   24 USE_XORG=	xft xmu xt x11 xpm ice
   25 
   26 GNU_CONFIGURE=	yes
   27 
   28 CPE_VENDOR=	invisible-island
   29 
   30 CONFIGURE_ARGS+=	--with-utempter --enable-narrowproto
   31 
   32 CONFLICTS=	x11iraf-[0-9]*
   33 
   34 CPPFLAGS+=	-I${LOCALBASE}/include
   35 LIBS+=		-L${LOCALBASE}/lib
   36 
   37 ICONVERSION=	1
   38 
   39 OPTIONS_DEFINE=	WCHAR LUIT DECTERM PCRE DABBREV 256COLOR SIXEL GNOME LOGGING \
   40 		SCRNDUMP REGIS TOOLBAR XINERAMA
   41 OPTIONS_RADIO=	3D
   42 OPTIONS_RADIO_3D=	XAW3D XAW3DXFT NEXTAW
   43 
   44 DABBREV_DESC=	Enable support for dabbrev-expand
   45 DECTERM_DESC=	Enable DECterm Locator support
   46 LUIT_DESC=	Use LUIT for locale conversion from/to UTF-8
   47 SIXEL_DESC=	Enable Sixel graphics support
   48 REGIS_DESC=	Enable ReGIS graphics support
   49 WCHAR_DESC=	Enable wide-character support
   50 256COLOR_DESC=	Enable 256-color support
   51 LOGGING_DESC=	Enable logging terminal I/O to a file
   52 XAW3D_DESC=	Link with Xaw 3d library
   53 XAW3DXFT_DESC=	Link with Xaw 3d xft (extended fonts) library
   54 NEXTAW_DESC=	Link with neXT Athena library
   55 SCRNDUMP_DESC=	Enable XHTML and SVG screen dumps
   56 TOOLBAR_DESC=	Enable pulldown menus with a toolbar
   57 
   58 OPTIONS_DEFAULT=WCHAR LUIT 256COLOR
   59 
   60 256COLOR_CONFIGURE_ENABLE=	256-color
   61 LUIT_BUILD_DEPENDS=		luit:x11/luit
   62 LUIT_CONFIGURE_ENABLE=		luit
   63 LUIT_IMPLIES=			WCHAR
   64 WCHAR_CONFIGURE_ENABLE=		wide-chars
   65 WCHAR_VARS=			PKGMESSAGE="${PKGDIR}/pkg-message.wchar"
   66 DECTERM_CONFIGURE_ENABLE=	dec-locator
   67 PCRE_CONFIGURE_WITH=		pcre
   68 PCRE_LIB_DEPENDS=		libpcre.so:devel/pcre
   69 DABBREV_CONFIGURE_ENABLE=	dabbrev
   70 SIXEL_CONFIGURE_ENABLE=		sixel-graphics
   71 REGIS_CONFIGURE_ENABLE=		regis-graphics
   72 GNOME_USES=			desktop-file-utils
   73 LOGGING_CONFIGURE_ENABLE=	logging
   74 SCRNDUMP_CONFIGURE_ENABLE=	screen-dumps
   75 XAW3D_CONFIGURE_WITH=		Xaw3d
   76 XAW3D_LIB_DEPENDS=		libXaw3d.so:x11-toolkits/Xaw3d
   77 XAW3DXFT_CONFIGURE_WITH=	Xaw3dxft
   78 XAW3DXFT_LIB_DEPENDS=		libXaw3dxft.so:x11-toolkits/libxaw3dxft
   79 NEXTAW_CONFIGURE_WITH=		neXtaw
   80 NEXTAW_LIB_DEPENDS=		libneXtaw.so:x11-toolkits/neXtaw
   81 TOOLBAR_CONFIGURE_ENABLE=	toolbar
   82 WCHAR_LIB_DEPENDS=		libfreetype.so:print/freetype2
   83 XINERAMA_USE=			XORG=xinerama,xorgproto
   84 XINERAMA_CONFIGURE_OFF=		--without-xinerama
   85 
   86 PKG_CLASS=	XTermDev
   87 LIB_DEPENDS+=	libfontconfig.so:x11-fonts/fontconfig
   88 
   89 .include <bsd.port.options.mk>
   90 
   91 CONFIGURE_ARGS+=	--program-suffix=${PKGNAMESUFFIX} --with-app-class=${PKG_CLASS} --without-xterm-symlink
   92 
   93 .if ! ${PORT_OPTIONS:MXAW3D} && ! ${PORT_OPTIONS:MXAW3DXFT} && ! ${PORT_OPTIONS:MNEXTAW}
   94 USE_XORG+=	xaw
   95 .endif
   96 
   97 #post-extract:
   98 #	@${CP} ${WRKDIR}/bsd-xterm-icons-1/*.png \
   99 #		${WRKDIR}/bsd-xterm-icons-1/*.xpm \
  100 #			${WRKSRC}/icons/
  101 
  102 post-install:
  103 .for f in koi8rxterm${PKGNAMESUFFIX} resize${PKGNAMESUFFIX} uxterm${PKGNAMESUFFIX} xterm${PKGNAMESUFFIX}
  104 	@${CHMOD} ${BINMODE} ${STAGEDIR}${PREFIX}/bin/${f}
  105 .endfor
  106 	${INSTALL_DATA} ${WRKSRC}/xterm.desktop \
  107 		${STAGEDIR}${PREFIX}/share/applications/xterm${PKGNAMESUFFIX}.desktop
  108 
  109 .include <bsd.port.mk>