summaryrefslogtreecommitdiff
path: root/x11/xpkgwedge/Makefile
blob: 1ce41c243b8a3b719cc4900299e34e55d5c11368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.3 1998/07/01 15:56:35 tv Exp $
#

DISTNAME=	xpkgwedge-0.2
CATEGORIES=	devel x11
DISTFILES=	# none

MAINTAINER=	tv@netbsd.org

RESTRICTED=	optional package affecting many pkg builds

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"