aboutsummaryrefslogtreecommitdiff
path: root/security/ccrypt/Makefile
blob: ea01cee431de4c7fe4dadd70941ec2c7412925bc (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
35
36
37
38
39
40
41
42
43
44
45
46
47
# ex:ts=8
# Ports collection makefile for:	ccrypt
# Date created:			Feb 7, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	ccrypt
PORTVERSION=	1.8
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
				http://www.mathstat.dal.ca/~selinger/ccrypt/download/
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	corky1951@comcast.net
COMMENT=	A command-line utility for encrypting and decrypting files and streams

.if !defined(WITHOUT_NLS)
USE_GNOME=		intltool
USE_GETTEXT=	yes
PLIST_SUB+=		NLS=""
.else
USE_PERL5_BUILD=	yes
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=		NLS="@comment "
.endif

GNU_CONFIGURE=	yes

MAN1=	ccrypt.1
MLINKS=	ccrypt.1 ccencrypt.1 \
	ccrypt.1 ccdecrypt.1 \
	ccrypt.1 ccat.1

post-patch:
	@${REINPLACE_CMD} -e 's|gtar|tar|g' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for i in README doc/ccrypt.html doc/cypfaq01.txt
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>