diff options
Diffstat (limited to 'net/radiusd-cistron/Makefile')
-rw-r--r-- | net/radiusd-cistron/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/radiusd-cistron/Makefile b/net/radiusd-cistron/Makefile index 87bf8e1f4e5b..7dc2e2ba3263 100644 --- a/net/radiusd-cistron/Makefile +++ b/net/radiusd-cistron/Makefile @@ -19,11 +19,11 @@ MAKEFILE= Makefile.BSD RADIUS_DIR= ${PREFIX}/etc/raddb MAKE_ENV+= RADIUS_DIR="${RADIUS_DIR}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +PAMBASE?= etc MAN1= radclient.1 radlast.1 radtest.1 radwho.1 radzap.1 MAN5= clients.5rad naslist.5rad MAN8= radiusd.8 radrelay.8 radwatch.8 - DOCFILES= COPYRIGHT INSTALL doc/ChangeLog doc/README doc/README.Y2K \ doc/README.cisco doc/README.pam doc/README.proxy \ doc/README.simul doc/README.usersfile @@ -54,4 +54,11 @@ do-install: .endfor .endif +.if exists(${DESTDIR}/etc/pam.d) +PLIST_SUB+= WITH_PAMD="" +.else +PLIST_SUB+= WITH_PAMD="@comment " +.endif +PLIST_SUB+= PAMBASE="/${PAMBASE}" + .include <bsd.port.mk> |