From 183f1ed93cb47a4b8a3ac51de63901a962a99ae8 Mon Sep 17 00:00:00 2001 From: pav Date: Sun, 21 Nov 2004 04:40:58 +0000 Subject: - Update to 1.2.95 PR: ports/74108 Submitted by: Andrey Pavlenko (maintainer) --- net/gnu-radius/Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'net/gnu-radius/Makefile') diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile index ca5a36d33569..4c17a2047739 100644 --- a/net/gnu-radius/Makefile +++ b/net/gnu-radius/Makefile @@ -5,12 +5,11 @@ # $FreeBSD$ PORTNAME= gnu-radius -PORTVERSION= 1.2 -PORTREVISION= 2 +PORTVERSION= 1.2.95 CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITES= ${MASTER_SITE_GNU_ALPHA} MASTER_SITE_SUBDIR= radius -DISTNAME= radius-${PORTVERSION} +DISTNAME= radius-${PORTVERSION} MAINTAINER= lance@merlin.net.ua COMMENT= GNU RADIUS server @@ -18,11 +17,13 @@ COMMENT= GNU RADIUS server #MAKEFILE= Makefile CONFLICTS= freeradius-0.* openradius-0.* radiusd-cistron-1.* +USE_RC_SUBR= yes USE_SUBMAKE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= # empty +INFO= radius MAN1= radgrep.1 radlast.1 raduse.1 radwho.1 MAN8= builddbm.8 radctl.8 radiusd.8 radping.8 radzap.8 MANCOMPRESSED= no @@ -31,8 +32,6 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ CURDIR="${.CURDIR}" \ MKDIR="${MKDIR}" -STARTUP_FILE= ${PREFIX}/etc/rc.d/gnu-radius.sh - .if defined(BATCH) CONFIGURE_ARGS+=--with-include-path="${LOCALBASE}/include/" \ --with-lib-path="${LOCALBASE}/lib/" @@ -45,11 +44,12 @@ post-fetch: .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif +post-patch: + @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%RC_SUBR%%|${RC_SUBR}|g" \ + < ${FILESDIR}/radiusd.sh > ${WRKDIR}/radiusd.sh + post-install: - @${SED} -e "s=!!PREFIX!!=${PREFIX}=g" ${FILESDIR}/gnu-radius.sh.tmpl \ - > ${PREFIX}/etc/rc.d/gnu-radius.sh - @${CHMOD} 550 ${PREFIX}/etc/rc.d/gnu-radius.sh - @${CHOWN} root:wheel ${PREFIX}/etc/rc.d/gnu-radius.sh + ${INSTALL_SCRIPT} ${WRKDIR}/radiusd.sh ${PREFIX}/etc/rc.d/radiusd.sh post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc -- cgit