Lines 1-26
Link Here
|
1 |
# New ports collection makefile for: secure_delete |
1 |
# Created by: Vaida Bogdan <vaida.bogdan@gmail.com> |
2 |
# Date created: 24 Jul 2004 |
|
|
3 |
# Whom: Vaida Bogdan <vaida.bogdan@gmail.com> |
4 |
# |
5 |
# $FreeBSD: ports/security/secure_delete/Makefile,v 1.3 2008/07/31 03:38:45 vs Exp $ |
2 |
# $FreeBSD: ports/security/secure_delete/Makefile,v 1.3 2008/07/31 03:38:45 vs Exp $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= secure_delete |
4 |
PORTNAME= secure_delete |
9 |
PORTVERSION= 3.1 |
5 |
PORTVERSION= 3.1 |
|
|
6 |
PORTREVISION= 1 |
10 |
CATEGORIES= security |
7 |
CATEGORIES= security |
11 |
MASTER_SITES= http://packetstormsecurity.org/groups/thc/ |
8 |
MASTER_SITES= PACKETSTORM/groups/thc |
12 |
|
9 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= Secure data deletion toolkit |
11 |
COMMENT= Secure data deletion toolkit |
15 |
|
12 |
|
|
|
13 |
OPTIONS_DEFINE= DOCS |
14 |
|
16 |
CONFLICTS= srm-[0-9]* |
15 |
CONFLICTS= srm-[0-9]* |
17 |
|
16 |
|
18 |
MANCOMPRESSED= no |
17 |
MAKE_JOBS_UNSAFE= yes |
19 |
MAN1= srm.1 sfill.1 sswap.1 smem.1 |
|
|
20 |
|
18 |
|
21 |
SUB_FILES= pkg-message |
19 |
SUB_FILES= pkg-message |
22 |
|
20 |
|
23 |
post-install: |
21 |
MLINKS= srm.1 sdel.1 |
|
|
22 |
MAN1= srm.1 sfill.1 sswap.1 smem.1 |
23 |
PORTDOCS= CHANGES FILES README secure_delete.doc usenix6-gutmann.doc |
24 |
PLIST_FILES= ${BIN_PROGRAMS:S,^,bin/,} ${BIN_SCRIPTS:S,^,bin/,} bin/sdel |
25 |
|
26 |
BIN_PROGRAMS= srm sfill sswap smem |
27 |
BIN_SCRIPTS= the_cleaner.sh |
28 |
|
29 |
.include <bsd.port.options.mk> |
30 |
|
31 |
post-patch: |
32 |
@${REINPLACE_CMD} -e \ |
33 |
's|^CC=|CC?=| ; \ |
34 |
s|-O2 |$$(CFLAGS) | ;\ |
35 |
/strip/s|^|#|' ${WRKSRC}/Makefile |
36 |
|
37 |
do-install: |
38 |
.for i in ${BIN_PROGRAMS} |
39 |
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin |
40 |
${INSTALL_MAN} ${WRKSRC}/${i}.1 ${MANPREFIX}/man/man1 |
41 |
.endfor |
42 |
.for i in ${BIN_SCRIPTS} |
43 |
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin |
44 |
.endfor |
45 |
${LN} -sf srm ${PREFIX}/bin/sdel |
46 |
.if ${PORT_OPTIONS:MDOCS} |
47 |
@${MKDIR} ${DOCSDIR} |
48 |
.for i in ${PORTDOCS} |
49 |
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
50 |
.endfor |
51 |
.endif |
24 |
@${CAT} ${PKGMESSAGE} |
52 |
@${CAT} ${PKGMESSAGE} |
25 |
|
53 |
|
26 |
.include <bsd.port.mk> |
54 |
.include <bsd.port.mk> |