diff options
author | jadawin <jadawin@FreeBSD.org> | 2013-12-27 22:47:58 +0800 |
---|---|---|
committer | jadawin <jadawin@FreeBSD.org> | 2013-12-27 22:47:58 +0800 |
commit | 20bdef96f9415a4729ab9aa7d2684a9d9babb90d (patch) | |
tree | bbcf6de766afc8fd3b581fcb6942c9857e76f292 /misc/mirmon | |
parent | df74d5bcea12ac5b371fd8fcb7ea829612539190 (diff) | |
download | freebsd-ports-gnome-20bdef96f9415a4729ab9aa7d2684a9d9babb90d.tar.gz freebsd-ports-gnome-20bdef96f9415a4729ab9aa7d2684a9d9babb90d.tar.zst freebsd-ports-gnome-20bdef96f9415a4729ab9aa7d2684a9d9babb90d.zip |
- support STAGE
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: |