aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-27 16:41:45 +0800
committerbapt <bapt@FreeBSD.org>2014-01-27 16:41:45 +0800
commit649d9a89584dc91ce48a4c8bd55a6b1dfd5b3ab6 (patch)
treef945e8312eeb47ea7c53cf06ad681087ff1a6878 /devel
parent57f7a1e2d040848a9804f3fbecefd23a28fa68fe (diff)
downloadfreebsd-ports-gnome-649d9a89584dc91ce48a4c8bd55a6b1dfd5b3ab6.tar.gz
freebsd-ports-gnome-649d9a89584dc91ce48a4c8bd55a6b1dfd5b3ab6.tar.zst
freebsd-ports-gnome-649d9a89584dc91ce48a4c8bd55a6b1dfd5b3ab6.zip
Support stage
This port was using DESTDIR for a non standard purpose, to use STAGEDIR for the DESTDIRNAME, use desthack to make the configure stagedir aware
Diffstat (limited to 'devel')
-rw-r--r--devel/xwpe/Makefile13
-rw-r--r--devel/xwpe/pkg-plist4
2 files changed, 8 insertions, 9 deletions
diff --git a/devel/xwpe/Makefile b/devel/xwpe/Makefile
index ded8ebbe7797..43484f4aab4c 100644
--- a/devel/xwpe/Makefile
+++ b/devel/xwpe/Makefile
@@ -10,20 +10,15 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE} \
MASTER_SITE_SUBDIR= apps/editors/X
MAINTAINER= gahr@FreeBSD.org
-COMMENT= A Borland-like IDE programming environment
+COMMENT= Borland-like IDE programming environment
-USE_GMAKE= yes
+USES= desthack gmake
+DESTDIRNAME= STAGEDIR
USE_XORG= sm ice x11
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --libdir=${PREFIX}/share
+CONFIGURE_ARGS= --libdir=\$${STAGEDIR}${PREFIX}/share
ALL_TARGET= # none
-MAN1= xwpe.1
-MLINKS= xwpe.1 xwe.1 \
- xwpe.1 wpe.1 \
- xwpe.1 we.1
-
-NO_STAGE= yes
post-patch:
.for file in we_prog.c we_fl_unix.c
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
diff --git a/devel/xwpe/pkg-plist b/devel/xwpe/pkg-plist
index cefc2734a03b..335a4daf9d9b 100644
--- a/devel/xwpe/pkg-plist
+++ b/devel/xwpe/pkg-plist
@@ -2,6 +2,10 @@ bin/we
bin/wpe
bin/xwe
bin/xwpe
+man/man1/we.1.gz
+man/man1/wpe.1.gz
+man/man1/xwe.1.gz
+man/man1/xwpe.1.gz
%%DATADIR%%/help.key
%%DATADIR%%/help.xwpe
%%DATADIR%%/syntax_def