diff options
author | agc <agc> | 1998-09-17 15:47:08 +0000 |
---|---|---|
committer | agc <agc> | 1998-09-17 15:47:08 +0000 |
commit | 90899d9d926914b63ec716064e23e199deff3f6c (patch) | |
tree | 37178b4900decb25d860ed6425016c19659325cf /pkgtools/xpkgwedge | |
parent | 56d40d459c9f6f0570c7ebd7f298a274c540f503 (diff) | |
download | pkgsrc-90899d9d926914b63ec716064e23e199deff3f6c.tar.gz |
Make the REQ and MESSAGE files specifiable from package Makefiles,
as REQ_FILE and MESSAGE_FILE respectively.
Modify xpkgwedge to create its MESSAGE_FILE in the WRKDIR.
Diffstat (limited to 'pkgtools/xpkgwedge')
-rw-r--r-- | pkgtools/xpkgwedge/Makefile | 9 |
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" |