diff options
author | jmmv <jmmv> | 2003-05-01 18:05:26 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-05-01 18:05:26 +0000 |
commit | c7f699e1ccbd22cfa0d446a1d771ff39848fd978 (patch) | |
tree | a94119fb90c4ecdfee26cbda9ce45af9e84cc2f5 /net | |
parent | ab646830cd1b7880f72118dc2c3a7369f7df1515 (diff) | |
download | pkgsrc-c7f699e1ccbd22cfa0d446a1d771ff39848fd978.tar.gz |
Avoid defining specific do-build and do-install targets. Use buildlink2.
Diffstat (limited to 'net')
-rw-r--r-- | net/radiusd-cistron/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/net/radiusd-cistron/Makefile b/net/radiusd-cistron/Makefile index bc4b2b529e0..9f9cfb61563 100644 --- a/net/radiusd-cistron/Makefile +++ b/net/radiusd-cistron/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/02/27 20:36:28 darcy Exp $ +# $NetBSD: Makefile,v 1.7 2003/05/01 18:05:26 jmmv Exp $ DISTNAME= radiusd-cistron-1.6.6 CATEGORIES= net @@ -9,15 +9,15 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.radius.cistron.nl/ COMMENT= RADIUS-compliant remote authentication and accouting server -MAKEFILE= Makefile.BSD +CONFLICTS+= freeradius* -CONFLICTS+= freeradius* +USE_BUILDLINK2= YES -do-build: - cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} +MAKEFILE= Makefile.BSD +BUILD_DIRS= ${WRKSRC}/src +INSTALL_DIRS= ${WRKSRC}/src -do-install: - cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} install +post-install: @${MKDIR} -m 700 /var/log/radacct ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radiusd-cistron ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/radiusd-cistron @@ -43,8 +43,6 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/doc/radiusd.8 ${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/doc/radrelay.8 ${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/doc/radwatch.8 ${PREFIX}/man/man8 - -post-install: @${SED} -e "s=!!PREFIX!!=${PREFIX}=g" ${FILESDIR}/radiusd.sh.tmpl \ > ${PREFIX}/etc/rc.d/radiusd @${CHMOD} 555 ${PREFIX}/etc/rc.d/radiusd |