blob: ba0d77ff24a6ae52e2204e18541edbb16502dbc9 (
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
|
# New ports collection makefile for: safe-rm
# Date created: 2008-09-13
# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= safe-rm
PORTVERSION= 0.3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= yzlin@FreeBSD.org
COMMENT= Wrapper around the rm command to prevent accidental deletions
USE_PERL5_RUN= yes
NO_BUILD= yes
PORTDOCS= COPYING Changes README
PLIST_FILES= bin/safe-rm
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/safe-rm ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|