diff options
author | jlam <jlam> | 2004-08-27 03:45:08 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-08-27 03:45:08 +0000 |
commit | c6716b56fa87f289520f990686f8c7eab47b495f (patch) | |
tree | bda7db559cd31cbe91e38f167027a433937747a4 /textproc/nbsed/Makefile | |
parent | 8782d37a3a507737145bbca45476cff58290edb7 (diff) | |
download | pkgsrc-c6716b56fa87f289520f990686f8c7eab47b495f.tar.gz |
Simplify the import structure by keeping the "sed" name, and using the
configure script's --program-transform-name to install as "nbsed". Also
add a cat-ready nbsed.0 file.
Diffstat (limited to 'textproc/nbsed/Makefile')
-rw-r--r-- | textproc/nbsed/Makefile | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/textproc/nbsed/Makefile b/textproc/nbsed/Makefile index aa2062fc9d3..b67dbcffe10 100644 --- a/textproc/nbsed/Makefile +++ b/textproc/nbsed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2004/08/21 08:39:54 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2004/08/27 03:45:08 jlam Exp $ DISTNAME= nbsed-20040821 CATEGORIES= textproc pkgtools @@ -9,12 +9,20 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.NetBSD.org/ COMMENT= NetBSD-current's sed(1) -NO_CHECKSUM= # defined -GNU_CONFIGURE= # defined +USE_BUILDLINK3= yes +NO_CHECKSUM= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --program-transform-name="s,sed,nbsed," -post-extract: - ${MKDIR} ${WRKSRC} - cd ${FILESDIR} && ${PAX} -rwpe . ${WRKSRC} +.include "../../mk/bsd.prefs.mk" + +.if defined(LIBNBCOMPAT_STYLE) && (${LIBNBCOMPAT_STYLE} == "inplace") +. include "../../pkgtools/libnbcompat/inplace.mk" +.else +. include "../../pkgtools/libnbcompat/buildlink3.mk" +.endif + +do-extract: + @${CP} -Rp ${FILESDIR} ${WRKSRC} -.include "../../pkgtools/libnbcompat/inplace.mk" .include "../../mk/bsd.pkg.mk" |