summaryrefslogtreecommitdiff
path: root/pkgtools/xpkgwedge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/xpkgwedge/Makefile')
-rw-r--r--pkgtools/xpkgwedge/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgtools/xpkgwedge/Makefile b/pkgtools/xpkgwedge/Makefile
index 3c0dd1596f5..7e7b01c98e0 100644
--- a/pkgtools/xpkgwedge/Makefile
+++ b/pkgtools/xpkgwedge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1998/08/23 21:25:19 frueauf Exp $
+# $NetBSD: Makefile,v 1.11 1998/09/17 15:47:09 agc Exp $
#
DISTNAME= xpkgwedge-0.4
@@ -12,6 +12,8 @@ NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_IMAKE= yes
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
pre-extract:
@if [ ! -f ${X11BASE}/include/X11/X.h ]; then \
${ECHO} 'xpkgwedge requires $$X11BASE to point to the real X distribution.'; \
@@ -25,10 +27,7 @@ pre-configure:
pre-install:
@${SED} -e 's|@@PREFIX@@|${LOCALBASE}|g' < ${PKGDIR}/MESSAGE.pre \
- > ${PKGDIR}/MESSAGE
-
-pre-clean:
- @${RM} -f ${PKGDIR}/MESSAGE
+ > ${MESSAGE_FILE}
.include "../../mk/bsd.pkg.mk"