diff options
author | danilo <danilo@FreeBSD.org> | 2013-12-08 22:11:54 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-12-08 22:11:54 +0800 |
commit | d2e535fc0e278fa61dd9a9305c240ed9db97a3bf (patch) | |
tree | 7db22406296c8b5f8f5ba78ec82fd7d250c54a09 /misc | |
parent | 8f9d40aed4697a0028d2e118aec1c8304c67b0f6 (diff) | |
download | freebsd-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/Makefile | 19 |
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> |