diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2013-12-27 14:47:58 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2013-12-27 14:47:58 +0000 |
commit | 1288c1a14fee86b964c14fc1028379ff78a2ddcb (patch) | |
tree | bbcf6de766afc8fd3b581fcb6942c9857e76f292 /misc/mirmon | |
parent | 8ba3edb0eef994240051ba25a7dedb90291ea481 (diff) | |
download | ports-1288c1a14fee86b964c14fc1028379ff78a2ddcb.tar.gz ports-1288c1a14fee86b964c14fc1028379ff78a2ddcb.zip |
Notes
Diffstat (limited to 'misc/mirmon')
-rw-r--r-- | misc/mirmon/Makefile | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/misc/mirmon/Makefile b/misc/mirmon/Makefile index 12e01d7cb61a..fb1045d444a6 100644 --- a/misc/mirmon/Makefile +++ b/misc/mirmon/Makefile @@ -14,12 +14,11 @@ USES= perl5 USE_PERL5= run SUB_FILES= pkg-message -SUB_LIST= PREFIX=${PREFIX} +SUB_LIST= PREFIX=${STAGEDIR}${PREFIX} PLIST_FILES= bin/mirmon bin/probe MAN1= mirmon.1 -NO_STAGE= yes .include <bsd.port.options.mk> .if ! ${PORT_OPTIONS:MDOCS} @@ -33,18 +32,17 @@ post-patch: -e "s,/usr/bin/rsync,${LOCALBASE}/bin/rsync," ${WRKSRC}/probe do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/mirmon ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/probe ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${CP} -R ${WRKSRC}/countries.list ${WRKSRC}/icons ${DATADIR} - @${FIND} ${DATADIR} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${DATADIR} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} - ${INSTALL_MAN} ${WRKSRC}/mirmon.1 ${MANPREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/mirmon ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/probe ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${CP} -R ${WRKSRC}/countries.list ${WRKSRC}/icons ${STAGEDIR}${DATADIR} + @${FIND} ${STAGEDIR}${DATADIR} ! -type d | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${DATADIR} -type d | ${SORT} -r | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .if ! ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${CP} ${WRKSRC}/mirmon.html ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} ${WRKSRC}/mirmon.html ${STAGEDIR}${DOCSDIR} .endif post-install: |