freebsd-ports/net/nocatauth-gateway/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: NoCatAuth
# Date created: 19 November 2003
# Whom: Bruce M Simpson <bms@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nocatauth-gateway
PORTVERSION= 0.82
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://nocat.net/download/NoCatAuth/
DISTNAME= NoCatAuth-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Open 802.11 Authentication Gateway
RUN_DEPENDS= \
${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
IGNORE= uses a UID registered to another port
CONFLICTS= nocatauth-server-*
USE_PERL5_RUN= yes
USE_GMAKE= yes
USE_SUBMAKE= yes
WRAP_USER?= nocat
NOCATDIR?= nocat
MAKE_ENV+= FIREWALL=pf
MAKE_ENV+= FW_BIN=pfctl
MAKE_ENV+= FW_BINARY=${LOCALBASE}/sbin/pfctl
MAKE_ARGS+= DESTDIR=${PREFIX}/ PREFIX=${NOCATDIR}
MAKE_ARGS+= WRAP_USER=${WRAP_USER}
MAKE_ARGS+= -w
ALL_TARGET= wrapper
INSTALL_TARGET= suid-gateway
pre-install:
@( ${FIND} ${WRKDIR} -type f -name '*.orig' -exec ${RM} '{}' ';' )
@${SETENV} NOCAT_DIR="${PREFIX}/${NOCATDIR}" WRAP_USER=${WRAP_USER} \
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.include <bsd.port.mk>