aboutsummaryrefslogtreecommitdiffstats
path: root/security/ncrypt/Makefile
blob: a62b9fe08adc06bd0ac3d8f9d2511bc8b1f3019e (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
# Created by: Frank Laszlo <laszlof@vonostingroup.com>
# $FreeBSD$

PORTNAME=   ncrypt
PORTVERSION=    0.8.1
CATEGORIES= security
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION:R}.0

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       tar:tgz
GNU_CONFIGURE=  yes

PLIST_FILES=    bin/ncrypt bin/nrm

post-patch:
    @${REINPLACE_CMD} -e \
        's|getopt.$$(OBJEXT) || ; \
         s|getopt1.$$(OBJEXT) || ; \
         s|getopt.c || ; \
         s|getopt1.c ||' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e \
        's|-O0|| ; \
         s|"\($$CCOPTS\)"|"\1 $$CFLAGS"|' ${WRKSRC}/configure

.include <bsd.port.mk>