1998-09-17 17:47:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 1998/09/17 15:47:09 agc Exp $
|
1998-06-26 18:39:23 +02:00
|
|
|
#
|
|
|
|
|
1998-07-31 17:00:41 +02:00
|
|
|
DISTNAME= xpkgwedge-0.4
|
1998-06-26 18:39:23 +02:00
|
|
|
CATEGORIES= devel x11
|
|
|
|
DISTFILES= # none
|
|
|
|
|
|
|
|
MAINTAINER= tv@netbsd.org
|
|
|
|
|
1998-08-23 23:25:19 +02:00
|
|
|
NO_CHECKSUM= yes
|
1998-06-26 18:39:23 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_IMAKE= yes
|
|
|
|
|
1998-09-17 17:47:08 +02:00
|
|
|
MESSAGE_FILE= ${WRKDIR}/MESSAGE
|
|
|
|
|
1998-06-26 18:39:23 +02:00
|
|
|
pre-extract:
|
1998-07-31 17:00:41 +02:00
|
|
|
@if [ ! -f ${X11BASE}/include/X11/X.h ]; then \
|
|
|
|
${ECHO} 'xpkgwedge requires $$X11BASE to point to the real X distribution.'; \
|
|
|
|
${ECHO} 'If you are setting this variable in mk.conf, fix or remove the setting'; \
|
1998-06-26 18:39:23 +02:00
|
|
|
${ECHO} 'and then install xpkgwedge.'; \
|
|
|
|
${FALSE}; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${CP} ${FILESDIR}/Imakefile ${FILESDIR}/xpkgwedge.def ${WRKSRC}
|
|
|
|
|
1998-07-14 12:56:15 +02:00
|
|
|
pre-install:
|
|
|
|
@${SED} -e 's|@@PREFIX@@|${LOCALBASE}|g' < ${PKGDIR}/MESSAGE.pre \
|
1998-09-17 17:47:08 +02:00
|
|
|
> ${MESSAGE_FILE}
|
1998-06-26 18:39:23 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
1998-07-31 17:00:41 +02:00
|
|
|
|
1998-08-11 21:29:26 +02:00
|
|
|
# In order to force xpkgwedge to install into X11BASE, we forcibly override
|
|
|
|
# any user setting of USE_LOCALBASE_FOR_X11. _NO_ other pkg should do this.
|
|
|
|
PREFIX=${X11BASE}
|
|
|
|
|
1998-07-31 17:00:41 +02:00
|
|
|
# Clear the build dependencies list so that xpkgwedge will not be recursively
|
|
|
|
# dependent on itself.
|
|
|
|
BUILD_DEPENDS=
|