aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/safe-rm
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-08-18 00:57:13 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-08-18 00:57:13 +0800
commit2058118ff7928d6c035e830fe5af8b0df1afe252 (patch)
tree8dd5227f956c59ca0cdff47a53306365e170a9c1 /sysutils/safe-rm
parent6cf602d2077af87ecdbbbf3adbd9bd40a2c26824 (diff)
downloadfreebsd-ports-gnome-2058118ff7928d6c035e830fe5af8b0df1afe252.tar.gz
freebsd-ports-gnome-2058118ff7928d6c035e830fe5af8b0df1afe252.tar.zst
freebsd-ports-gnome-2058118ff7928d6c035e830fe5af8b0df1afe252.zip
- Update to 0.10
- Update to new upstream location - Update to new options framework
Diffstat (limited to 'sysutils/safe-rm')
-rw-r--r--sysutils/safe-rm/Makefile12
-rw-r--r--sysutils/safe-rm/distinfo4
-rw-r--r--sysutils/safe-rm/pkg-descr2
3 files changed, 12 insertions, 6 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
diff --git a/sysutils/safe-rm/distinfo b/sysutils/safe-rm/distinfo
index 70a8cfde5ffb..0e8501a58b9e 100644
--- a/sysutils/safe-rm/distinfo
+++ b/sysutils/safe-rm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (safe-rm-0.3.tar.gz) = f9d1cc2d0aad9fb7067fb817bb003c010b132c88d2d5962e44e9d82dcb4e1e36
-SIZE (safe-rm-0.3.tar.gz) = 14674
+SHA256 (safe-rm-0.10.tar.gz) = be561121f98c3fef45ce2456455b45bfe33116a8e763b667d167bcb0e9ab5576
+SIZE (safe-rm-0.10.tar.gz) = 15974
diff --git a/sysutils/safe-rm/pkg-descr b/sysutils/safe-rm/pkg-descr
index 0138f7f6eb98..41774c8f28af 100644
--- a/sysutils/safe-rm/pkg-descr
+++ b/sysutils/safe-rm/pkg-descr
@@ -3,4 +3,4 @@ by replacing /bin/rm with a wrapper, which checks the given arguments
against a configurable blacklist of files and directories that should
never be removed.
-WWW: http://code.google.com/p/safe-rm/
+WWW: https://launchpad.net/safe-rm