aboutsummaryrefslogtreecommitdiff
path: root/sysutils/safe-rm/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-08-17 16:57:13 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-08-17 16:57:13 +0000
commit1188952765e88fb7c521e089427b1aec0abdcf9c (patch)
tree8dd5227f956c59ca0cdff47a53306365e170a9c1 /sysutils/safe-rm/Makefile
parent2a7885f5340f5c06f13f7ca288676a39c5d27162 (diff)
downloadports-1188952765e88fb7c521e089427b1aec0abdcf9c.tar.gz
ports-1188952765e88fb7c521e089427b1aec0abdcf9c.zip
Notes
Diffstat (limited to 'sysutils/safe-rm/Makefile')
-rw-r--r--sysutils/safe-rm/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysutils/safe-rm/Makefile b/sysutils/safe-rm/Makefile
index a808a14e72a1..7d845ad5157d 100644
--- a/sysutils/safe-rm/Makefile
+++ b/sysutils/safe-rm/Makefile
@@ -2,25 +2,31 @@
# $FreeBSD$
PORTNAME= safe-rm
-PORTVERSION= 0.3
+PORTVERSION= 0.10
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= http://launchpad.net/safe-rm/trunk/0.10/+download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Wrapper around the rm command to prevent accidental deletions
+LICENSE= GPLv3
+
USE_PERL5_RUN= yes
NO_BUILD= yes
+FETCH_ARGS= -pRr
+
PORTDOCS= COPYING Changes README
PLIST_FILES= bin/safe-rm
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/safe-rm ${PREFIX}/bin
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif