diff options
author | jlam <jlam> | 2004-12-19 18:59:12 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-12-19 18:59:12 +0000 |
commit | 6157cbfbfb094cae7eee7a6648eec7b9d3ee7557 (patch) | |
tree | 5f26de0a019cc12b80fef743323ccba1c65359f0 | |
parent | b2c79d36d61f56b2338f00f9b407c848cf05400c (diff) | |
download | pkgsrc-6157cbfbfb094cae7eee7a6648eec7b9d3ee7557.tar.gz |
Move buildlink3.mk files ahead of make targets as per doc/Makefile-example.
-rw-r--r-- | net/freeradius/Makefile | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile index 2aa25258bab..7fd46ef17fa 100644 --- a/net/freeradius/Makefile +++ b/net/freeradius/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2004/11/16 13:51:45 adrianp Exp $ +# $NetBSD: Makefile,v 1.19 2004/12/19 18:59:12 jlam Exp $ DISTNAME= freeradius-1.0.1 PKGREVISION= 4 @@ -81,26 +81,6 @@ CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} .endfor .undef f -pre-build: - cd ${WRKSRC} && ${LN} -s src/lib lib - -post-build: - @${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC - -post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA_DIR} ${EGDIR}/certs - ${INSTALL_DATA_DIR} ${EGDIR}/certs/demoCA - -. for f in ${EGFILES} - ${INSTALL_DATA} ${WRKSRC}/raddb/${f} ${EGDIR}/${f} -. endfor -. undef f - - @${MKDIR} ${PKG_SYSCONFDIR}/certs - @${MKDIR} ${PKG_SYSCONFDIR}/certs/demoCA - cd ${WRKSRC} && ${FIND} . -name .libs | ${XARGS} ${RM} -rf - .include "../../security/openssl/buildlink3.mk" .include "../../databases/gdbm/buildlink3.mk" .include "../../devel/libltdl/buildlink3.mk" @@ -121,4 +101,24 @@ SUBST_SED.make+= -e "s|@ldap_ldflags@|@ldap_ldflags@ \ -lpthread|g" .endif +pre-build: + cd ${WRKSRC} && ${LN} -s src/lib lib + +post-build: + @${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC + +post-install: + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA_DIR} ${EGDIR}/certs + ${INSTALL_DATA_DIR} ${EGDIR}/certs/demoCA + +. for f in ${EGFILES} + ${INSTALL_DATA} ${WRKSRC}/raddb/${f} ${EGDIR}/${f} +. endfor +. undef f + + @${MKDIR} ${PKG_SYSCONFDIR}/certs + @${MKDIR} ${PKG_SYSCONFDIR}/certs/demoCA + cd ${WRKSRC} && ${FIND} . -name .libs | ${XARGS} ${RM} -rf + .include "../../mk/bsd.pkg.mk" |