summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-07-14 10:56:15 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-07-14 10:56:15 +0000
commit004e47e5b091448f3c76862035061bad61cfce9a (patch)
treeeaaacd3793a7798f41fc2b41ca1fa95c4725d22f /pkgtools
parent57995c0b73f5d629a227f53577b4c35c6c7587ef (diff)
downloadpkgsrc-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')
-rw-r--r--pkgtools/xpkgwedge/Makefile10
-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