aboutsummaryrefslogtreecommitdiffstats
path: root/security/ncrypt/Makefile
blob: 2ba752966e15f0ee923cf26e1fd8017058e94f56 (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
# New ports collection makefile for:    ncrypt
# Date created:         30 Aug 2005
# Whom:             Frank Laszlo <laszlof@vonostingroup.com>
#
# $FreeBSD$
#

PORTNAME=   ncrypt
PORTVERSION=    0.7.0
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= laszlof@FreeBSD.org
COMMENT=    Advanced AES file encryption tool

GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  automake:19 aclocal:19 autoconf:261

PLIST_FILES=    bin/ncrypt bin/nrm

.include <bsd.port.pre.mk>

post-configure:
    @${REINPLACE_CMD} -E 's,^(CC|CFLAGS) =,\1 \?=,g' \
        ${WRKSRC}/Makefile
.if (${OSVERSION} < 501000)
    @${REINPLACE_CMD} -e 's,ifndef WIN32,if (!defined(__FreeBSD__)),g' \
        ${WRKSRC}/ncrypt.c
.endif

.include <bsd.port.post.mk>