diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-07-07 17:00:08 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-07-07 17:00:08 +0800 |
commit | fcbb68b3537a779cffbb75e5987e5c5d8018ff03 (patch) | |
tree | d4c3a756ee7526062f7cbfe724902a836a172237 /net | |
parent | fc5a6614fb9e1fced592be73f4c9967920acbc11 (diff) | |
download | freebsd-ports-gnome-fcbb68b3537a779cffbb75e5987e5c5d8018ff03.tar.gz freebsd-ports-gnome-fcbb68b3537a779cffbb75e5987e5c5d8018ff03.tar.zst freebsd-ports-gnome-fcbb68b3537a779cffbb75e5987e5c5d8018ff03.zip |
- Switch to options helpers
- Add LICENSE
Diffstat (limited to 'net')
-rw-r--r-- | net/radiusd-cistron/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/net/radiusd-cistron/Makefile b/net/radiusd-cistron/Makefile index 1f0dba5846f6..60c1ad50bda6 100644 --- a/net/radiusd-cistron/Makefile +++ b/net/radiusd-cistron/Makefile @@ -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> |