- Switch to options helpers
- Add LICENSE
This commit is contained in:
parent
abc13adafb
commit
8b5dcb6e50
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418167
@ -10,13 +10,15 @@ MASTER_SITES= ftp://ftp.radius.cistron.nl/pub/radius/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= RADIUS-compliant remote authentication and accounting server
|
||||
|
||||
LICENSE= GPLv2+
|
||||
|
||||
CONFLICTS?= freeradius-0.* gnu-radius-1.* openradius-0.*
|
||||
|
||||
USES= shebangfix
|
||||
SHEBANG_FILES= src/checkrad.pl
|
||||
MAKEFILE= Makefile.BSD
|
||||
RADIUS_DIR= ${PREFIX}/etc/raddb
|
||||
MAKE_ENV+= RADIUS_DIR="${RADIUS_DIR}" DESTROOT="${STAGEDIR}"
|
||||
MAKE_ENV= RADIUS_DIR="${RADIUS_DIR}" DESTROOT="${STAGEDIR}"
|
||||
BUILD_WRKSRC= ${WRKSRC}/src
|
||||
INSTALL_WRKSRC= ${WRKSRC}/src
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
@ -26,13 +28,15 @@ 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
|
||||
|
||||
OPTIONS_DEFINE= PAM DOCS
|
||||
OPTIONS_DEFINE= PAM DOCS # PAM is used in pkg-plist
|
||||
OPTIONS_DEFAULT=PAM
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}/var/log/radacct
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}/var/log/radacct
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user