diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-07-14 10:56:15 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-07-14 10:56:15 +0000 |
commit | 004e47e5b091448f3c76862035061bad61cfce9a (patch) | |
tree | eaaacd3793a7798f41fc2b41ca1fa95c4725d22f /pkgtools/xpkgwedge | |
parent | 57995c0b73f5d629a227f53577b4c35c6c7587ef (diff) | |
download | pkgsrc-004e47e5b091448f3c76862035061bad61cfce9a.tar.gz |
cat ${PKGDIR}/MESSAGE in bsd.pkg.mk if it exists, don't do it in every
package Makefile.
Diffstat (limited to 'pkgtools/xpkgwedge')
-rw-r--r-- | pkgtools/xpkgwedge/Makefile | 10 | ||||
-rw-r--r-- | pkgtools/xpkgwedge/pkg/MESSAGE.pre (renamed from pkgtools/xpkgwedge/pkg/MESSAGE) | 0 |
2 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/xpkgwedge/Makefile b/pkgtools/xpkgwedge/Makefile index 1ce41c243b8..cf2f0b4513a 100644 --- a/pkgtools/xpkgwedge/Makefile +++ b/pkgtools/xpkgwedge/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/07/01 15:56:35 tv Exp $ +# $NetBSD: Makefile,v 1.4 1998/07/14 10:56:16 frueauf Exp $ # DISTNAME= xpkgwedge-0.2 @@ -25,7 +25,11 @@ pre-extract: pre-configure: @${CP} ${FILESDIR}/Imakefile ${FILESDIR}/xpkgwedge.def ${WRKSRC} -post-install: - @${SED} -e s,@@PREFIX@@,${LOCALBASE}, ${PKGDIR}/MESSAGE +pre-install: + @${SED} -e 's|@@PREFIX@@|${LOCALBASE}|g' < ${PKGDIR}/MESSAGE.pre \ + > ${PKGDIR}/MESSAGE + +pre-clean: + @${RM} ${PKGDIR}/MESSAGE .include "../../mk/bsd.pkg.mk" diff --git a/pkgtools/xpkgwedge/pkg/MESSAGE b/pkgtools/xpkgwedge/pkg/MESSAGE.pre index f1f2442d940..f1f2442d940 100644 --- a/pkgtools/xpkgwedge/pkg/MESSAGE +++ b/pkgtools/xpkgwedge/pkg/MESSAGE.pre |