freebsd-ports/net-mgmt/aircrack-ng/Makefile
Mark Linimon 0a534ed4c7 Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-05-13 23:36:16 +00:00

50 lines
1.3 KiB
Makefile

# Created by: Lars Engels <lars.engels@0x20.net>
# $FreeBSD$
PORTNAME= aircrack-ng
DISTVERSION= 1.2-rc4
CATEGORIES= net-mgmt security
MASTER_SITES= http://download.aircrack-ng.org/
MAINTAINER= lme@FreeBSD.org
COMMENT= 802.11 WEP and WPA-PSK keys cracking program
LICENSE= GPLv2 BSD3CLAUSE APACHE20
LICENSE_COMB= dual
BROKEN_powerpc64= fails to compile: sse-intrinsics.c: error: emmintrin.h: No such file or directory
USES= cpe dos2unix gmake ssl
CPE_VERSION= ${DISTVERSION:C/-.*//}
CPE_UPDATE= ${DISTVERSION:C/^[^-]*$//:C/.*-//}
DOS2UNIX_FILES= src/osdep/byteorder.h
MAKE_ARGS= experimental=true libnl=false prefix=${PREFIX}
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
# Don't call 'strip' target with WITH_DEBUG set
INSTALL_TARGET= ${STRIP:S/-s/strip/} install
OPTIONS_DEFINE= PCRE SQLITE
OPTIONS_DEFAULT=PCRE SQLITE
OPTIONS_SUB= yes
PCRE_DESC= Use Perl Compatible Regular Expressions for wesside
PCRE_MAKE_ARGS= pcre=true
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
PCRE_USES= pkgconfig
SQLITE_DESC= Use SQLite for storing pre-computed key tables
SQLITE_USES= sqlite
SQLITE_MAKE_ARGS= sqlite=true
post-patch:
@${REINPLACE_CMD} \
-e 's|share/\(man/man[1-9]\)|\1|' \
${WRKSRC}/common.mak
@${REINPLACE_CMD} \
-e 's|%%ETCDIR%%|${ETCDIR}|' ${WRKSRC}/scripts/airodump-ng-oui-update
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
.include <bsd.port.mk>