summaryrefslogtreecommitdiff
path: root/pkgtools/xpkgwedge
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-07-14 10:56:15 +0000
committerfrueauf <frueauf>1998-07-14 10:56:15 +0000
commit714257b6afb8ab51421a0e7cfc30e531143e198a (patch)
treeeaaacd3793a7798f41fc2b41ca1fa95c4725d22f /pkgtools/xpkgwedge
parentc29cddbefec23421358d21f9cf6bccb7d7842a38 (diff)
downloadpkgsrc-714257b6afb8ab51421a0e7cfc30e531143e198a.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/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