diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-08 13:33:43 +0000 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-08 13:33:43 +0000 |
commit | c39061d9ec9e5a9ad445b38020abf5484390fd65 (patch) | |
tree | 91ce5ed5199064033abbfcffc1987fa4d46c5f07 | |
parent | 87fd13326f3b13005f9ad71952dd5d090583efb8 (diff) | |
download | FreeBSD-ports-c39061d9ec9e5a9ad445b38020abf5484390fd65.zip FreeBSD-ports-c39061d9ec9e5a9ad445b38020abf5484390fd65.tar.gz |
- Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
-rw-r--r-- | sysutils/safe-rm/Makefile | 9 | ||||
-rw-r--r-- | sysutils/safe-rm/pkg-plist | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/safe-rm/Makefile b/sysutils/safe-rm/Makefile index 256528c..50b3965 100644 --- a/sysutils/safe-rm/Makefile +++ b/sysutils/safe-rm/Makefile @@ -10,19 +10,24 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Wrapper around the rm command to prevent accidental deletions LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= safe-rm NO_BUILD= yes +NO_ARCH= yes -DOCS= COPYING Changes README +PLIST_FILES= bin/safe-rm +PORTDOCS= Changes README OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/safe-rm ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/sysutils/safe-rm/pkg-plist b/sysutils/safe-rm/pkg-plist deleted file mode 100644 index 50ea23b..0000000 --- a/sysutils/safe-rm/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/safe-rm -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/Changes -%%PORTDOCS%%%%DOCSDIR%%/README |