summaryrefslogtreecommitdiff
path: root/editors/gate
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-17 13:53:29 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-17 13:53:29 +0000
commitc7441c80b60553ce01ec44383566c53bbe79d846 (patch)
tree0c5d5b9060f8de018efb4319e45ad1c9dbe02b40 /editors/gate
parentSupport staging (diff)
Support staging
Notes
Notes: svn path=/head/; revision=348473
Diffstat (limited to 'editors/gate')
-rw-r--r--editors/gate/Makefile12
-rw-r--r--editors/gate/pkg-plist1
2 files changed, 6 insertions, 7 deletions
diff --git a/editors/gate/Makefile b/editors/gate/Makefile
index 29c0e59ed853..899abbf1a807 100644
--- a/editors/gate/Makefile
+++ b/editors/gate/Makefile
@@ -14,12 +14,10 @@ BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
RUN_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
GNU_CONFIGURE= yes
+
CONFIGURE_ARGS= --with-aspell=${LOCALBASE}/bin/aspell
ALL_TARGET= gate gate.1
-MAN1= gate.1
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|$${res_datadir}|${DATADIR}|g' ${WRKSRC}/configure
@@ -27,9 +25,9 @@ post-patch:
's|^char \*malloc();||g' ${WRKSRC}/term.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gate ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/gate.1 ${MANPREFIX}/man/man1
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/gate.help ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/gate ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/gate.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/gate.help ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
diff --git a/editors/gate/pkg-plist b/editors/gate/pkg-plist
index d9897f9dad53..4842dc778c33 100644
--- a/editors/gate/pkg-plist
+++ b/editors/gate/pkg-plist
@@ -1,3 +1,4 @@
bin/gate
+man/man1/gate.1.gz
%%DATADIR%%/gate.help
@dirrm %%DATADIR%%