diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-18 03:12:24 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-18 03:12:24 +0800 |
commit | d0104e92a39c51ad72fb628afed62f9d2ba7656a (patch) | |
tree | 738280322d1bbcef1eadbe1c46db9cbca6c01ca1 /sysutils | |
parent | 1bcea9dc304df95fd3d41f8fa425c200b78a306a (diff) | |
download | freebsd-ports-graphics-d0104e92a39c51ad72fb628afed62f9d2ba7656a.tar.gz freebsd-ports-graphics-d0104e92a39c51ad72fb628afed62f9d2ba7656a.tar.zst freebsd-ports-graphics-d0104e92a39c51ad72fb628afed62f9d2ba7656a.zip |
- Add LICENSE_FILE
- Add NO_ARCH
- Use MANPREFIX
- Switch to options helpers
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pdumpfs/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/pdumpfs/Makefile b/sysutils/pdumpfs/Makefile index d52973c66a4..e39c2ed5501 100644 --- a/sysutils/pdumpfs/Makefile +++ b/sysutils/pdumpfs/Makefile @@ -11,8 +11,10 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Daily backup system similar to Plan9's dumpfs LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING USE_RUBY= yes +NO_ARCH= yes RUBY_SHEBANG_FILES= ${WRKSRC}/pdumpfs.in ALL_TARGET= pdumpfs @@ -26,9 +28,11 @@ OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${STAGEDIR}${PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${STAGEDIR}${MANPREFIX}/man/man8 ${RUBY} -ni -r nkf -e 'puts NKF.nkf("-e",$$_)' ${WRKSRC}/man/ja/man8/pdumpfs.8 - ${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${STAGEDIR}${PREFIX}/man/ja/man8 + ${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${STAGEDIR}${MANPREFIX}/man/ja/man8 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |