blob: 866eafc89b760e358a4e41fcbbf604cf27fd8a30 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
# $FreeBSD$
PORTNAME= safe-rm
PORTVERSION= 0.10
CATEGORIES= sysutils
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
USES= perl5
USE_PERL5= run
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 ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|