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