mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
47f2932eba
Move definition of ROUNDS from header to source file. This fixes the port on FreeBSD 13 and later.
30 lines
668 B
Makefile
30 lines
668 B
Makefile
PORTNAME= ncrypt
|
|
PORTVERSION= 0.8.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION:R}.0
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Advanced AES file encryption tool
|
|
WWW= http://ncrypt.sourceforge.net/
|
|
|
|
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>
|