summaryrefslogtreecommitdiff
path: root/x11/xpkgwedge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xpkgwedge/Makefile')
-rw-r--r--x11/xpkgwedge/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11/xpkgwedge/Makefile b/x11/xpkgwedge/Makefile
index 1ce41c243b8..cf2f0b4513a 100644
--- a/x11/xpkgwedge/Makefile
+++ b/x11/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"