1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/nocatauth-server/Makefile
2007-03-31 06:14:43 +00:00

45 lines
1003 B
Makefile

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