diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-25 15:32:41 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-25 15:32:41 +0000 |
commit | 996723e862269472df167629acb6c85ee26c4d52 (patch) | |
tree | 99261aa9ca257e10763b054c2b3ef72b26dfd836 /sysutils/sysrc | |
parent | aed7589ac11bd16d89052c51519fdc1afe372e16 (diff) | |
download | ports-996723e862269472df167629acb6c85ee26c4d52.tar.gz ports-996723e862269472df167629acb6c85ee26c4d52.zip |
Notes
Diffstat (limited to 'sysutils/sysrc')
-rw-r--r-- | sysutils/sysrc/Makefile | 27 | ||||
-rw-r--r-- | sysutils/sysrc/pkg-plist | 8 |
2 files changed, 16 insertions, 19 deletions
diff --git a/sysutils/sysrc/Makefile b/sysutils/sysrc/Makefile index 06953567f8c2..d71beb1d3dc7 100644 --- a/sysutils/sysrc/Makefile +++ b/sysutils/sysrc/Makefile @@ -13,25 +13,14 @@ LICENSE= BSD NO_BUILD= yes -MAN8= ${PORTNAME}.8 - -PLIST_FILES= sbin/${PORTNAME} \ - share/${PORTNAME}/common.subr \ - share/${PORTNAME}/${PORTNAME}.subr \ - libexec/${PORTNAME}/include/messages.subr - -PLIST_DIRS= share/${PORTNAME} \ - libexec/${PORTNAME}/include \ - libexec/${PORTNAME} - -NO_STAGE= yes do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/ - ${MKDIR} ${PREFIX}/share/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/common.subr ${PREFIX}/share/${PORTNAME}/ - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.subr ${PREFIX}/share/${PORTNAME}/ - ${MKDIR} ${PREFIX}/libexec/${PORTNAME}/include - ${INSTALL_DATA} ${WRKSRC}/messages.subr ${PREFIX}/libexec/${PORTNAME}/include/ - ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8/ + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/common.subr ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.subr ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/include + ${INSTALL_DATA} ${WRKSRC}/messages.subr \ + ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/include + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8 .include <bsd.port.mk> diff --git a/sysutils/sysrc/pkg-plist b/sysutils/sysrc/pkg-plist new file mode 100644 index 000000000000..feb04935f44a --- /dev/null +++ b/sysutils/sysrc/pkg-plist @@ -0,0 +1,8 @@ +libexec/sysrc/include/messages.subr +man/man8/sysrc.8.gz +sbin/sysrc +%%DATADIR%%/common.subr +%%DATADIR%%/sysrc.subr +@dirrm %%DATADIR%% +@dirrm libexec/sysrc/include +@dirrm libexec/sysrc |