diff options
author | agc <agc@pkgsrc.org> | 1998-09-17 15:47:08 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-09-17 15:47:08 +0000 |
commit | 9db74e9f8a25c66beac5b0c2a9b28acf16fc0369 (patch) | |
tree | 37178b4900decb25d860ed6425016c19659325cf /pkgtools | |
parent | 9a4d510aaeeee9bdaba804c5733fc20047521183 (diff) | |
download | pkgsrc-9db74e9f8a25c66beac5b0c2a9b28acf16fc0369.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')
-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" |