head	1.11;
access;
symbols
	pkgsrc-2013Q2:1.11.0.54
	pkgsrc-2013Q2-base:1.11
	pkgsrc-2012Q4:1.11.0.52
	pkgsrc-2012Q4-base:1.11
	pkgsrc-2011Q4:1.11.0.50
	pkgsrc-2011Q4-base:1.11
	pkgsrc-2011Q2:1.11.0.48
	pkgsrc-2011Q2-base:1.11
	pkgsrc-2009Q4:1.11.0.46
	pkgsrc-2009Q4-base:1.11
	pkgsrc-2008Q4:1.11.0.44
	pkgsrc-2008Q4-base:1.11
	pkgsrc-2008Q3:1.11.0.42
	pkgsrc-2008Q3-base:1.11
	cube-native-xorg:1.11.0.40
	cube-native-xorg-base:1.11
	pkgsrc-2008Q2:1.11.0.38
	pkgsrc-2008Q2-base:1.11
	pkgsrc-2008Q1:1.11.0.36
	pkgsrc-2008Q1-base:1.11
	pkgsrc-2007Q4:1.11.0.34
	pkgsrc-2007Q4-base:1.11
	pkgsrc-2007Q3:1.11.0.32
	pkgsrc-2007Q3-base:1.11
	pkgsrc-2007Q2:1.11.0.30
	pkgsrc-2007Q2-base:1.11
	pkgsrc-2007Q1:1.11.0.28
	pkgsrc-2007Q1-base:1.11
	pkgsrc-2006Q4:1.11.0.26
	pkgsrc-2006Q4-base:1.11
	pkgsrc-2006Q3:1.11.0.24
	pkgsrc-2006Q3-base:1.11
	pkgsrc-2006Q2:1.11.0.22
	pkgsrc-2006Q2-base:1.11
	pkgsrc-2006Q1:1.11.0.20
	pkgsrc-2006Q1-base:1.11
	pkgsrc-2005Q4:1.11.0.18
	pkgsrc-2005Q4-base:1.11
	pkgsrc-2005Q3:1.11.0.16
	pkgsrc-2005Q3-base:1.11
	pkgsrc-2005Q2:1.11.0.14
	pkgsrc-2005Q2-base:1.11
	pkgsrc-2005Q1:1.11.0.12
	pkgsrc-2005Q1-base:1.11
	pkgsrc-2004Q4:1.11.0.10
	pkgsrc-2004Q4-base:1.11
	pkgsrc-2004Q3:1.11.0.8
	pkgsrc-2004Q3-base:1.11
	pkgsrc-2004Q2:1.11.0.6
	pkgsrc-2004Q2-base:1.11
	pkgsrc-2004Q1:1.11.0.4
	pkgsrc-2004Q1-base:1.11
	pkgsrc-2003Q4:1.11.0.2
	pkgsrc-2003Q4-base:1.11
	buildlink2-base:1.11;
locks; strict;
comment	@# @;


1.11
date	98.09.04.09.28.04;	author agc;	state dead;
branches;
next	1.10;

1.10
date	98.08.23.21.25.19;	author frueauf;	state Exp;
branches;
next	1.9;

1.9
date	98.08.23.21.18.24;	author frueauf;	state Exp;
branches;
next	1.8;

1.8
date	98.08.11.19.29.26;	author tv;	state Exp;
branches;
next	1.7;

1.7
date	98.08.09.23.16.18;	author tron;	state Exp;
branches;
next	1.6;

1.6
date	98.07.31.19.30.49;	author tv;	state Exp;
branches;
next	1.5;

1.5
date	98.07.31.15.00.41;	author tv;	state Exp;
branches;
next	1.4;

1.4
date	98.07.14.10.56.16;	author frueauf;	state Exp;
branches;
next	1.3;

1.3
date	98.07.01.15.56.35;	author tv;	state Exp;
branches;
next	1.2;

1.2
date	98.06.26.16.41.11;	author tv;	state Exp;
branches;
next	1.1;

1.1
date	98.06.26.16.39.23;	author tv;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Move xpkgwedge from x11 category to pkgtools category by Repository Copy.
@
text
@# $NetBSD: Makefile,v 1.10 1998/08/23 21:25:19 frueauf Exp $
#

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

MAINTAINER=	tv@@netbsd.org

NO_CHECKSUM=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes
USE_IMAKE=	yes

pre-extract:
	@@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'; \
		${ECHO} 'and then install xpkgwedge.'; \
		${FALSE}; \
	fi

pre-configure:
	@@${CP} ${FILESDIR}/Imakefile ${FILESDIR}/xpkgwedge.def ${WRKSRC}

pre-install:
	@@${SED} -e 's|@@@@PREFIX@@@@|${LOCALBASE}|g' < ${PKGDIR}/MESSAGE.pre \
		> ${PKGDIR}/MESSAGE

pre-clean:
	@@${RM} -f ${PKGDIR}/MESSAGE

.include "../../mk/bsd.pkg.mk"

# 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}

# Clear the build dependencies list so that xpkgwedge will not be recursively
# dependent on itself.
BUILD_DEPENDS=
@


1.10
log
@Setting NO_CHECKSUM=yes is enough.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 1998/08/23 21:18:24 frueauf Exp $
@


1.9
log
@As there is nothing to extract, set EXTRACT_ONLY=#empty and remove
unnecessery md5 file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1998/08/11 19:29:26 tv Exp $
d10 1
a10 1
EXTRACT_ONLY=	# empty
@


1.8
log
@Set ${PREFIX} after inclusion of bsd.pkg.mk; don't depend on bsd.pkg.mk to
conditionally set PREFIX.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1998/08/09 23:16:18 tron Exp $
d10 1
@


1.7
log
@"make clean" shouldn't fail if nothing was built so far.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1998/07/31 19:30:49 tv Exp $
a13 4
# In order to force xpkgwedge to install into X11BASE, we forcibly set PREFIX
# here.  No other pkg should do this.
PREFIX=${X11BASE}

d33 4
@


1.6
log
@Make xpkgwedge capable of building a "binary pkg", for uniformity.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1998/07/31 15:00:41 tv Exp $
d34 1
a34 1
	@@${RM} ${PKGDIR}/MESSAGE
@


1.5
log
@Update to "0.4": new layout to coincide with USE_LOCALBASE_FOR_X11
changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/07/14 10:56:16 frueauf Exp $
a8 2

RESTRICTED=	optional package affecting many pkg builds
@


1.4
log
@cat ${PKGDIR}/MESSAGE in bsd.pkg.mk if it exists, don't do it in every
package Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1998/07/01 15:56:35 tv Exp $
d4 1
a4 1
DISTNAME=	xpkgwedge-0.2
d16 4
d21 3
a23 4
	@@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'; \
d39 4
@


1.3
log
@Update to "0.2": define ConfigDir in terms of $(X11_ROOT), so that imake
can be used recursively ("make Makefiles").
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/06/26 16:41:11 tv Exp $
d28 6
a33 2
post-install:
	@@${SED} -e s,@@@@PREFIX@@@@,${LOCALBASE}, ${PKGDIR}/MESSAGE
@


1.2
log
@No need for both IS_INTERACTIVE and RESTRICTED; just put in RESTRICTED
with a suitable message.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 1998/06/26 16:39:23 tv Exp $
d4 1
a4 1
DISTNAME=	xpkgwedge-0.1
@


1.1
log
@Add xpkgwedge, an experimental patch that enables the build of X11 pkgs
(even imake ones) that will install in /usr/pkg instead of /usr/X11R6.
This is NOT (yet?) the standard X11 pkg build procedure, but it does
provide a "way out" for users that do not want to pollute their /usr/X11R6
tree with pkgs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 1998/04/24 09:20:39 agc Exp $
d10 1
a10 2
RESTRICTED=	optional	# NOT for distro as a "binary" pkg
IS_INTERACTIVE=	yes		# should not be built when batch
@
