aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-12-08 22:11:54 +0800
committerdanilo <danilo@FreeBSD.org>2013-12-08 22:11:54 +0800
commitd2e535fc0e278fa61dd9a9305c240ed9db97a3bf (patch)
tree7db22406296c8b5f8f5ba78ec82fd7d250c54a09 /misc
parent8f9d40aed4697a0028d2e118aec1c8304c67b0f6 (diff)
downloadfreebsd-ports-gnome-d2e535fc0e278fa61dd9a9305c240ed9db97a3bf.tar.gz
freebsd-ports-gnome-d2e535fc0e278fa61dd9a9305c240ed9db97a3bf.tar.zst
freebsd-ports-gnome-d2e535fc0e278fa61dd9a9305c240ed9db97a3bf.zip
- Add stage support
Diffstat (limited to 'misc')
-rw-r--r--misc/xpns/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/misc/xpns/Makefile b/misc/xpns/Makefile
index a091153028c4..e8d00018bbcd 100644
--- a/misc/xpns/Makefile
+++ b/misc/xpns/Makefile
@@ -26,21 +26,16 @@ PLIST_FILES= bin/xpns \
PLIST_DIRS= %%DATADIR%% \
libexec/xpns
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
do-install:
- (cd ${WRKSRC} && ${INSTALL_SCRIPT} xpns ${PREFIX}/bin)
- @${MKDIR} ${PREFIX}/libexec/xpns
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} pns ${PREFIX}/libexec/xpns)
- @${MKDIR} ${DATADIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} pns.hlp pns.shell ${DATADIR})
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} *.net ${DOCSDIR})
-.endif
+ (cd ${WRKSRC} && ${INSTALL_SCRIPT} xpns ${STAGEDIR}${PREFIX}/bin)
+ @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/xpns
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} pns ${STAGEDIR}${PREFIX}/libexec/xpns)
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} pns.hlp pns.shell ${STAGEDIR}${DATADIR})
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} *.net ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>