aboutsummaryrefslogtreecommitdiff
path: root/security/ncrypt/Makefile
blob: 9961fbe5b5994b13f5124a14108251cdfe61e81e (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
# 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

BROKEN_FreeBSD_13=	ld: error: duplicate symbol: ROUNDS
BROKEN_FreeBSD_14=	ld: error: duplicate symbol: ROUNDS

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>