1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/destroy/Makefile
Rene Ladan 28536a96ad security/destroy: fix build on DragonflyBSD. The distribution Makefile
includes bsd.port.mk at the end (!), which causes an infinite loop there
while FreeBSD is fine.  As the build consists of one target only, just
define it in the port Makefile.

Noticed by:	marino
2014-02-28 16:36:59 +00:00

25 lines
615 B
Makefile

# Created by: shane@freebsdhackers.net aka modsix@gmail.com
# $FreeBSD$
PORTNAME= destroy
PORTVERSION= 20130926
CATEGORIES= security
MASTER_SITES= http://www.mod6.net/destroy/ \
http://www.kinneysoft.com/destroy/
MAINTAINER= modsix@gmail.com
COMMENT= Securely destroy files on the hard disk
LICENSE= BSD4CLAUSE
PLIST_FILES= bin/destroy man/man1/destroy.1.gz
do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} destroy.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/destroy ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/destroy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>