diff options
author | agc <agc@pkgsrc.org> | 2001-10-25 20:16:53 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-10-25 20:16:53 +0000 |
commit | 2c0130d6fbaf743b223f7294e6d69863273003f8 (patch) | |
tree | 56f5e4e15b6bef8d7dc81d21a7bab0905b4e278d /net/gated/Makefile | |
parent | 197b4c463a89598ea6f18daa35137bf4f8789b39 (diff) | |
download | pkgsrc-2c0130d6fbaf743b223f7294e6d69863273003f8.tar.gz |
+ Move configuration from configure script to a standard package
Makefile target.
+ Modify Makefiles in patch stage, rather than using sed in configure
stage.
+ Use ${LOWER_OPSYS} where appropriate.
+ Use pax in preference to a tar pipeline to copy hierarchies at
install time.
Diffstat (limited to 'net/gated/Makefile')
-rw-r--r-- | net/gated/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/net/gated/Makefile b/net/gated/Makefile index e98a846d806..a2f8839fc4b 100644 --- a/net/gated/Makefile +++ b/net/gated/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2001/04/05 16:58:49 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2001/10/25 20:16:53 agc Exp $ # FreeBSD Id: Makefile,v 1.17 1998/04/26 18:47:12 peter Exp # @@ -25,10 +25,16 @@ post-extract: ${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/gated \ > ${WRKDIR}/gated +do-configure: + cd ${WRKSRC}/src; \ + obj=obj.`util/archtype`; \ + ${MKDIR} $$obj; \ + ${CP} configs/${LOWER_OPSYS} $$obj/Config; \ + ${RM} -f Config + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gated - cd ${WRKSRC}/doc ; \ - ${GTAR} pcf - . | ( cd ${PREFIX}/share/doc/gated ; ${GTAR} pvxf - ) + cd ${WRKSRC}/doc; ${PAX} -rwpe . ${PREFIX}/share/doc/gated ${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/doc/gated ${CHGRP} -R ${SHAREGRP} ${PREFIX}/share/doc/gated ${INSTALL_SCRIPT} ${WRKDIR}/gated ${PREFIX}/etc/rc.d |