diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2012-10-23 13:50:33 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2012-10-23 13:50:33 +0000 |
commit | ec627b82cc136e5da522b4fd0980408f783d5a2b (patch) | |
tree | ad260d3bf1cd29f671801e9ae01c38ab7162ec94 /x11 | |
parent | 7e7298a0601e31f89611cbaba7c429b081fc1166 (diff) | |
download | freebsd-ports-ec627b82cc136e5da522b4fd0980408f783d5a2b.zip |
- Restore the 256 color option but have it on per default [1]
- Provide super sexy FreeBSD icons [2]
PR: 172915 [1]
Submitted by: Martin Tournoij <martin@arp242.net> [1], self [2]
Feature safe: yes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xterm/Makefile | 24 | ||||
-rw-r--r-- | x11/xterm/distinfo | 2 |
2 files changed, 21 insertions, 5 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile index cbacbcf5dfbe..8c9eb2d005ae 100644 --- a/x11/xterm/Makefile +++ b/x11/xterm/Makefile @@ -2,10 +2,13 @@ PORTNAME= xterm PORTVERSION= 284 +PORTREVISION= 1 CATEGORIES= x11 -MASTER_SITES= ftp://invisible-island.net/xterm/ \ - CRITICAL +MASTER_SITES= ftp://invisible-island.net/xterm/:src1 \ + CRITICAL:src1 CRITICAL:src2 EXTRACT_SUFX= .tgz +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src1 \ + bsd-xterm-icons-${ICONVERSION}${EXTRACT_SUFX}:src2 MAINTAINER= ehaupt@FreeBSD.org COMMENT= Terminal emulator for the X Window System @@ -17,21 +20,28 @@ WANT_GNOME= desktopfileutils GNU_CONFIGURE= yes CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS+= --with-utempter --enable-narrowproto --enable-256-color +CONFIGURE_ARGS+= --with-utempter --enable-narrowproto CPPFLAGS+= -I${LOCALBASE}/include -OPTIONS_DEFINE= WCHAR LUIT DECTERM PCRE GNOME DABBREV +ICONVERSION= 1 + +OPTIONS_DEFINE= WCHAR LUIT DECTERM PCRE GNOME DABBREV 256COLOR DABBREV_DESC= Enable support for dabbrev-expand DECTERM_DESC= Enable DECterm Locator support LUIT_DESC= Use LUIT for locale convertion from/to UTF-8 WCHAR_DESC= Enable wide-character support +256COLOR_DESC= Enable 256-color support -OPTIONS_DEFAULT=WCHAR LUIT +OPTIONS_DEFAULT=WCHAR LUIT 256COLOR .include <bsd.port.options.mk> +.if ${PORT_OPTIONS:M256COLOR} +CONFIGURE_ARGS+= --enable-256-color +.endif + .if ${PORT_OPTIONS:MLUIT} CONFIGURE_ARGS+= --enable-luit BUILD_DEPENDS= luit:${PORTSDIR}/x11/luit @@ -69,6 +79,10 @@ MAN1= resize.1 koi8rxterm.1 uxterm.1 xterm.1 LIB_DEPENDS+= utempter:${PORTSDIR}/sysutils/libutempter .endif +post-extract: + @${CP} ${WRKDIR}/bsd-xterm-icons-1/*.png ${WRKDIR}/bsd-xterm-icons-1/*.xpm \ + ${WRKSRC}/icons/ + post-install: .for f in koi8rxterm resize uxterm xterm @${CHMOD} ${BINMODE} ${PREFIX}/bin/${f} diff --git a/x11/xterm/distinfo b/x11/xterm/distinfo index 30c0dd95cfe8..cbdfcdb41fa8 100644 --- a/x11/xterm/distinfo +++ b/x11/xterm/distinfo @@ -1,2 +1,4 @@ SHA256 (xterm-284.tgz) = a5c400c753bc9d6c219753a210e516de388dd1e8771f44a91c0094d4901365af SIZE (xterm-284.tgz) = 1098456 +SHA256 (bsd-xterm-icons-1.tgz) = fcf51dce0e23e9911a16ed7f2ce835bb6ff2ada65f023c29fdd8abda2795bf7c +SIZE (bsd-xterm-icons-1.tgz) = 22718 |