aboutsummaryrefslogtreecommitdiff
path: root/security/ncrypt/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-21 17:14:49 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-21 17:14:49 +0000
commitc8ec1e96354c78a25fc90f3c2d10d00a466892ed (patch)
treee6926ca46444863d802d99a35ff610dadcf6b9ec /security/ncrypt/Makefile
parente9baa3931b7676cf14a0982ec224c34aeb651c78 (diff)
downloadports-c8ec1e96354c78a25fc90f3c2d10d00a466892ed.tar.gz
ports-c8ec1e96354c78a25fc90f3c2d10d00a466892ed.zip
- Update to 0.8.0
PR: 200307 Submitted by: tkato432@yahoo.com
Notes
Notes: svn path=/head/; revision=386946
Diffstat (limited to 'security/ncrypt/Makefile')
-rw-r--r--security/ncrypt/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/security/ncrypt/Makefile b/security/ncrypt/Makefile
index 0f774c495add..e3a3dba31a9d 100644
--- a/security/ncrypt/Makefile
+++ b/security/ncrypt/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= ncrypt
-PORTVERSION= 0.7.0
-PORTREVISION= 3
+PORTVERSION= 0.8.0
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION}
@@ -11,14 +10,21 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Advanced AES file encryption tool
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+USES= autoreconf tar:tgz
GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
-USES= tar:tgz
PLIST_FILES= bin/ncrypt bin/nrm
+pre-patch:
+ @${RM} ${WRKSRC}/*.m4
+
post-patch:
- @${REINPLACE_CMD} -E 's,^(CC|CFLAGS) =,\1 \?=,g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's| getopt.c getopt1.c||' ${WRKSRC}/Makefile.am
+ @${REINPLACE_CMD} -e \
+ 's|-O0|| ; \
+ s|"\($$CCOPTS\)"|"\1 $$CFLAGS"|' ${WRKSRC}/configure.ac
.include <bsd.port.mk>