aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-10-24 03:36:17 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-10-24 03:36:17 +0800
commit5e220e5250321b718a221eeb252c0af0468c7cb0 (patch)
tree9f45e47e20fb9cbd991f1b5abab659c5a1da04d9 /x11
parenta66e881dd729ebb82a59b48b36ca6365bf402560 (diff)
downloadfreebsd-ports-graphics-5e220e5250321b718a221eeb252c0af0468c7cb0.tar.gz
freebsd-ports-graphics-5e220e5250321b718a221eeb252c0af0468c7cb0.tar.zst
freebsd-ports-graphics-5e220e5250321b718a221eeb252c0af0468c7cb0.zip
Support staging.
Diffstat (limited to 'x11')
-rw-r--r--x11/gtk-launch/Makefile7
-rw-r--r--x11/thinglaunch/Makefile3
-rw-r--r--x11/xterm/Makefile7
-rw-r--r--x11/xterm/pkg-plist4
4 files changed, 10 insertions, 11 deletions
diff --git a/x11/gtk-launch/Makefile b/x11/gtk-launch/Makefile
index 45d519e8cb1..43d7d33d1bd 100644
--- a/x11/gtk-launch/Makefile
+++ b/x11/gtk-launch/Makefile
@@ -20,7 +20,6 @@ PORTSCOUT= skipv:1.1
OPTIONS_DEFINE=DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -31,11 +30,11 @@ do-build:
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/launch.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
post-install:
diff --git a/x11/thinglaunch/Makefile b/x11/thinglaunch/Makefile
index eb4f12225f0..c6b496563b2 100644
--- a/x11/thinglaunch/Makefile
+++ b/x11/thinglaunch/Makefile
@@ -16,12 +16,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/thinglaunch
-NO_STAGE= yes
do-build:
${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \
-o ${WRKSRC}/${PORTNAME}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
index 130a4d422de..46cd81b88b4 100644
--- a/x11/xterm/Makefile
+++ b/x11/xterm/Makefile
@@ -37,7 +37,6 @@ WCHAR_DESC= Enable wide-character support
OPTIONS_DEFAULT=WCHAR LUIT 256COLOR
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:M256COLOR}
@@ -77,8 +76,6 @@ PLIST_SUB+= GNOME=""
PLIST_SUB+= GNOME="@comment "
.endif
-MAN1= resize.1 koi8rxterm.1 uxterm.1 xterm.1
-
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900004
@@ -91,9 +88,9 @@ post-extract:
post-install:
.for f in koi8rxterm resize uxterm xterm
- @${CHMOD} ${BINMODE} ${PREFIX}/bin/${f}
+ @${CHMOD} ${BINMODE} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
- @${INSTALL_DATA} ${WRKSRC}/xterm.desktop ${PREFIX}/share/applications/
+ @${INSTALL_DATA} ${WRKSRC}/xterm.desktop ${STAGEDIR}${PREFIX}/share/applications/
.if ${PORT_OPTIONS:MGNOME}
@-update-desktop-database
.endif
diff --git a/x11/xterm/pkg-plist b/x11/xterm/pkg-plist
index bc9539d7dc0..ff3f902a084 100644
--- a/x11/xterm/pkg-plist
+++ b/x11/xterm/pkg-plist
@@ -8,6 +8,10 @@ lib/X11/app-defaults/UXTerm
lib/X11/app-defaults/UXTerm-color
lib/X11/app-defaults/XTerm
lib/X11/app-defaults/XTerm-color
+man/man1/resize.1.gz
+man/man1/koi8rxterm.1.gz
+man/man1/uxterm.1.gz
+man/man1/xterm.1.gz
share/applications/xterm.desktop
share/pixmaps/filled-xterm_32x32.xpm
share/pixmaps/filled-xterm_48x48.xpm