diff options
-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 |