diff options
Diffstat (limited to 'pkgtools/xpkgwedge/Makefile')
-rw-r--r-- | pkgtools/xpkgwedge/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgtools/xpkgwedge/Makefile b/pkgtools/xpkgwedge/Makefile new file mode 100644 index 00000000000..90af81e608e --- /dev/null +++ b/pkgtools/xpkgwedge/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1 1998/06/26 16:39:23 tv Exp $ +# + +DISTNAME= xpkgwedge-0.1 +CATEGORIES= devel x11 +DISTFILES= # none + +MAINTAINER= tv@netbsd.org + +RESTRICTED= optional # NOT for distro as a "binary" pkg +IS_INTERACTIVE= yes # should not be built when batch + +NO_BUILD= yes +NO_WRKSUBDIR= yes +USE_IMAKE= yes + +pre-extract: + @if [ x${LOCALBASE} = x${X11BASE} ]; then \ + ${ECHO} '$$LOCALBASE == $$X11BASE; this patch cannot be applied.'; \ + ${ECHO} 'During install, xpkgwedge requires $$X11BASE to point to the real X distribution.'; \ + ${ECHO} 'If you are setting this variable in mk.conf, remove the setting temporarily'; \ + ${ECHO} 'and then install xpkgwedge.'; \ + ${FALSE}; \ + fi + +pre-configure: + @${CP} ${FILESDIR}/Imakefile ${FILESDIR}/xpkgwedge.def ${WRKSRC} + +post-install: + @${SED} -e s,@@PREFIX@@,${LOCALBASE}, ${PKGDIR}/MESSAGE + +.include "../../mk/bsd.pkg.mk" |