freebsd-ports/sysutils/safe-rm/Makefile
Andrej Zverev 7ec4b3d1a2 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-16 07:47:02 +00:00

34 lines
668 B
Makefile

# 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>