summaryrefslogtreecommitdiff
path: root/net/freeradius2
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-04-03 01:22:02 +0000
committerjoerg <joerg@pkgsrc.org>2012-04-03 01:22:02 +0000
commit5471971c9c540dc06cc37f53b5c99c346837eb1b (patch)
tree600248405c50c5df397a81f986064ae5c2791367 /net/freeradius2
parent78dc5fe8e15339eeb89ff23ffb9e053fa4648024 (diff)
downloadpkgsrc-5471971c9c540dc06cc37f53b5c99c346837eb1b.tar.gz
Don't leak ${DESTDIR} into package. Bump revision.
Diffstat (limited to 'net/freeradius2')
-rw-r--r--net/freeradius2/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index f5473db1d37..0d65fd2628d 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2012/03/21 18:02:21 brook Exp $
+# $NetBSD: Makefile,v 1.22 2012/04/03 01:22:02 joerg Exp $
DISTNAME= freeradius-server-${RADVER}
PKGNAME= ${DISTNAME:S/-server//}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/
EXTRACT_SUFX= .tar.bz2
@@ -47,7 +47,7 @@ OWN_DIRS_PERMS+= ${VARBASE}/log/radiusd/radacct \
${RADIUS_USER} ${RADIUS_GROUP} 0750
RADVER= 2.1.12
-EGDIR= ${DESTDIR}${PREFIX}/share/examples/freeradius
+EGDIR= ${PREFIX}/share/examples/freeradius
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7
@@ -164,14 +164,10 @@ post-build:
.endif
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
-.for d in ${EGDIRS}
- ${INSTALL_DATA_DIR} ${EGDIR}/${d}
-.endfor
.for f in ${EGFILES}
- ${INSTALL_DATA} ${WRKSRC}/raddb/${f} ${EGDIR}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/raddb/${f} ${DESTDIR}${EGDIR}/${f}
.endfor
- ${INSTALL_DATA} ${WRKSRC}/src/modules/rlm_perl/example.pl ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/src/modules/rlm_perl/example.pl ${DESTDIR}${EGDIR}
.include "../../devel/libltdl/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"