From c7441c80b60553ce01ec44383566c53bbe79d846 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Mon, 17 Mar 2014 13:53:29 +0000 Subject: Support staging --- editors/gate/Makefile | 12 +++++------- editors/gate/pkg-plist | 1 + 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'editors') 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 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%% -- cgit v1.2.3