head	1.28;
access;
symbols
	pkgsrc-2013Q2:1.28.0.14
	pkgsrc-2013Q2-base:1.28
	pkgsrc-2012Q4:1.28.0.12
	pkgsrc-2012Q4-base:1.28
	pkgsrc-2011Q4:1.28.0.10
	pkgsrc-2011Q4-base:1.28
	pkgsrc-2011Q2:1.28.0.8
	pkgsrc-2011Q2-base:1.28
	pkgsrc-2009Q4:1.28.0.6
	pkgsrc-2009Q4-base:1.28
	pkgsrc-2008Q4:1.28.0.4
	pkgsrc-2008Q4-base:1.28
	pkgsrc-2008Q3:1.28.0.2
	pkgsrc-2008Q3-base:1.28
	cube-native-xorg:1.27.0.8
	cube-native-xorg-base:1.27
	pkgsrc-2008Q2:1.27.0.6
	pkgsrc-2008Q2-base:1.27
	cwrapper:1.27.0.4
	pkgsrc-2008Q1:1.27.0.2
	pkgsrc-2008Q1-base:1.27
	pkgsrc-2007Q4:1.26.0.8
	pkgsrc-2007Q4-base:1.26
	pkgsrc-2007Q3:1.26.0.6
	pkgsrc-2007Q3-base:1.26
	pkgsrc-2007Q2:1.26.0.4
	pkgsrc-2007Q2-base:1.26
	pkgsrc-2007Q1:1.26.0.2
	pkgsrc-2007Q1-base:1.26
	pkgsrc-2006Q4:1.25.0.2
	pkgsrc-2006Q4-base:1.25
	pkgsrc-2006Q3:1.24.0.6
	pkgsrc-2006Q3-base:1.24
	pkgsrc-2006Q2:1.24.0.4
	pkgsrc-2006Q2-base:1.24
	pkgsrc-2006Q1:1.24.0.2
	pkgsrc-2006Q1-base:1.24
	pkgsrc-2005Q4:1.22.0.2
	pkgsrc-2005Q4-base:1.22
	pkgsrc-2005Q3:1.21.0.4
	pkgsrc-2005Q3-base:1.21
	pkgsrc-2005Q2:1.21.0.2
	pkgsrc-2005Q2-base:1.21
	pkgsrc-2005Q1:1.16.0.4
	pkgsrc-2005Q1-base:1.16
	pkgsrc-2004Q4:1.16.0.2
	pkgsrc-2004Q4-base:1.16
	pkgsrc-2004Q3:1.15.0.4
	pkgsrc-2004Q3-base:1.15
	pkgsrc-2004Q2:1.15.0.2
	pkgsrc-2004Q2-base:1.15
	pkgsrc-2004Q1:1.14.0.2
	pkgsrc-2004Q1-base:1.14
	pkgsrc-2003Q4:1.12.0.6
	pkgsrc-2003Q4-base:1.12
	netbsd-1-6-1:1.12.0.2
	netbsd-1-6-1-base:1.12
	netbsd-1-6:1.12.0.4
	netbsd-1-6-RELEASE-base:1.12
	pkgviews:1.11.0.2
	pkgviews-base:1.11
	buildlink2:1.10.0.2
	buildlink2-base:1.10
	netbsd-1-5-PATCH003:1.10
	netbsd-1-5-PATCH001:1.10
	netbsd-1-5-RELEASE:1.7
	netbsd-1-4-PATCH003:1.7
	netbsd-1-4-PATCH002:1.1.1.1
	comdex-fall-1999:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.28
date	2008.09.16.16.07.31;	author wiz;	state dead;
branches;
next	1.27;

1.27
date	2008.03.02.06.10.34;	author jlam;	state Exp;
branches;
next	1.26;

1.26
date	2007.01.07.09.13.47;	author rillig;	state Exp;
branches;
next	1.25;

1.25
date	2006.10.04.20.44.20;	author wiz;	state Exp;
branches;
next	1.24;

1.24
date	2006.02.05.23.08.15;	author joerg;	state Exp;
branches;
next	1.23;

1.23
date	2006.01.16.13.44.53;	author rxg;	state Exp;
branches;
next	1.22;

1.22
date	2005.12.05.20.49.50;	author rillig;	state Exp;
branches;
next	1.21;

1.21
date	2005.06.16.06.57.40;	author jlam;	state Exp;
branches;
next	1.20;

1.20
date	2005.06.01.18.02.39;	author jlam;	state Exp;
branches;
next	1.19;

1.19
date	2005.05.22.20.07.39;	author jlam;	state Exp;
branches;
next	1.18;

1.18
date	2005.04.11.21.44.58;	author tv;	state Exp;
branches;
next	1.17;

1.17
date	2005.03.24.21.12.51;	author wiz;	state Exp;
branches;
next	1.16;

1.16
date	2004.10.03.00.13.10;	author tv;	state Exp;
branches;
next	1.15;

1.15
date	2004.05.11.12.18.37;	author wiz;	state Exp;
branches;
next	1.14;

1.14
date	2004.01.22.07.15.01;	author grant;	state Exp;
branches;
next	1.13;

1.13
date	2004.01.20.12.07.43;	author agc;	state Exp;
branches;
next	1.12;

1.12
date	2002.08.16.03.12.12;	author jschauma;	state Exp;
branches;
next	1.11;

1.11
date	2002.06.30.01.24.03;	author jschauma;	state Exp;
branches;
next	1.10;

1.10
date	2001.02.25.04.17.37;	author hubertf;	state Exp;
branches;
next	1.9;

1.9
date	2001.02.16.13.30.52;	author wiz;	state Exp;
branches;
next	1.8;

1.8
date	2000.10.18.11.22.42;	author rh;	state Exp;
branches;
next	1.7;

1.7
date	2000.07.15.20.39.15;	author agc;	state Exp;
branches;
next	1.6;

1.6
date	2000.07.14.16.04.19;	author agc;	state Exp;
branches;
next	1.5;

1.5
date	2000.07.11.14.53.37;	author agc;	state Exp;
branches;
next	1.4;

1.4
date	2000.07.10.15.08.14;	author agc;	state Exp;
branches;
next	1.3;

1.3
date	2000.03.28.00.09.21;	author dmcmahill;	state Exp;
branches;
next	1.2;

1.2
date	2000.03.23.23.27.24;	author dmcmahill;	state Exp;
branches;
next	1.1;

1.1
date	99.09.17.00.48.26;	author hubertf;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.09.17.00.48.26;	author hubertf;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Remove remaining qt1 and qt2 packages, as announced on pkgsrc-users
on Sep 7 2008. No complaints received.
@
text
@# $NetBSD: Makefile,v 1.27 2008/03/02 06:10:34 jlam Exp $

DISTNAME=	xamp-0.8-10
PKGNAME=	xamp-0.8.10
PKGREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_BACKUP}
EXTRACT_SUFX=	.tgz
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SKIN_DATA}

MAINTAINER=	rxg@@NetBSD.org
HOMEPAGE=	# http://andrej.co.ru/~andrej/programs/xamp/
COMMENT=	Version of amp (stands for `Audio Mpeg Player') plus a Qt GUI

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/xamp-0.8/xamp-0.8g
DIST_SUBDIR=	xamp
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CXXFLAGS=${CFLAGS:M*:Q}
USE_TOOLS+=	gmake
USE_LANGUAGES=	c c++

CONFIGURE_ARGS+=	--with-qt-dir=${BUILDLINK_PREFIX.qt1:Q}/qt1

CONFIGURE_ENV+=	QTDIR=${QT1DIR:Q}
MAKE_ENV+=	QT1DIR=${QT1DIR:Q}

SKIN_DATA=	bfamp.tar.gz chrome.tar.gz mmxamp.tar.gz
SKIN_DIR=	${PREFIX}/lib/X11/xamp

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

post-patch:
	for f in about.cpp aboutData.cpp readmex.h; do \
		${MV} ${WRKSRC}/$$f ${WRKSRC}/$$f.tmp; \
		${SED} -e 's:/usr/X11R6:'${PREFIX}':g' < ${WRKSRC}/$$f.tmp > \
			${WRKSRC}/$$f; \
	done

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xamp ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/xamp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	@@${INSTALL_DATA_DIR} ${DESTDIR}${SKIN_DIR}/bfamp-xamp
	${INSTALL_DATA} ${WRKDIR}/bfamp-xamp/*.bmp \
		${DESTDIR}${SKIN_DIR}/bfamp-xamp
	@@${INSTALL_DATA_DIR} ${DESTDIR}${SKIN_DIR}/chrome-xamp
	${INSTALL_DATA} ${WRKDIR}/chrome-xamp/*.bmp \
		${DESTDIR}${SKIN_DIR}/chrome-xamp
	@@${INSTALL_DATA_DIR} ${DESTDIR}${SKIN_DIR}/mmxxamp-xamp
	${INSTALL_DATA} ${WRKDIR}/mmxxamp-xamp/*.bmp \
		${DESTDIR}${SKIN_DIR}/mmxxamp-xamp

.include "../../x11/qt1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.27
log
@Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2007/01/07 09:13:47 rillig Exp $
@


1.26
log
@Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2006/10/04 20:44:20 wiz Exp $
d15 2
d42 11
a52 8
	${INSTALL_PROGRAM} ${WRKSRC}/xamp ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/xamp.1 ${PREFIX}/${PKGMANDIR}/man1
	@@${INSTALL_DATA_DIR} ${SKIN_DIR}/bfamp-xamp
	${INSTALL_DATA} ${WRKDIR}/bfamp-xamp/*.bmp ${SKIN_DIR}/bfamp-xamp
	@@${INSTALL_DATA_DIR} ${SKIN_DIR}/chrome-xamp
	${INSTALL_DATA} ${WRKDIR}/chrome-xamp/*.bmp ${SKIN_DIR}/chrome-xamp
	@@${INSTALL_DATA_DIR} ${SKIN_DIR}/mmxxamp-xamp
	${INSTALL_DATA} ${WRKDIR}/mmxxamp-xamp/*.bmp ${SKIN_DIR}/mmxxamp-xamp
@


1.25
log
@Update MASTER_SITES and HOMEPAGE, from Sergey Svishchev.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2006/02/05 23:08:15 joerg Exp $
d30 1
a30 1
INSTALLATION_DIRS=	bin man/man1
d41 1
a41 1
	${INSTALL_MAN} ${WRKSRC}/xamp.1 ${PREFIX}/man/man1
@


1.24
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2006/01/16 13:44:53 rxg Exp $
d7 1
a7 2
MASTER_SITES=	http://andrej.co.ru/~andrej/programs/xamp/ \
		http://andrej.co.ru/~andrej/programs/xamp/backs/
d12 1
a12 1
HOMEPAGE=	http://andrej.co.ru/~andrej/programs/xamp/
@


1.23
log
@
Modified mailbox in MAINTAINER.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2005/12/05 20:49:50 rillig Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.22
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2005/06/16 06:57:40 jlam Exp $
d12 1
a12 1
MAINTAINER=	rxg@@ms25.url.com.tw
@


1.21
log
@Create directories before installing files into them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2005/06/01 18:02:39 jlam Exp $
d19 1
a19 1
CONFIGURE_ENV+=	CXXFLAGS="${CFLAGS}"
@


1.20
log
@Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2005/05/22 20:07:39 jlam Exp $
d31 2
@


1.19
log
@Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2005/04/11 21:44:58 tv Exp $
a21 1
USE_X11=	yes
@


1.18
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2005/03/24 21:12:51 wiz Exp $
d20 1
a20 1
USE_GNU_TOOLS+=	make
@


1.17
log
@Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2004/10/03 00:13:10 tv Exp $
a19 1
USE_BUILDLINK3=	yes
@


1.16
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 3
# $NetBSD: Makefile,v 1.15 2004/05/11 12:18:37 wiz Exp $
# FreeBSD: ports/audio/xamp/Makefile,v 1.5 1999/08/25 04:36:22 obrien Exp
#
@


1.15
log
@Make build with gcc3. Make it use buildlink3. Closes PR 22281.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/01/22 07:15:01 grant Exp $
d7 1
@


1.14
log
@replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/01/20 12:07:43 agc Exp $
a16 2
DEPENDS+=	qt1-1.44:../../x11/qt1

d21 1
d23 2
a24 1
USE_X11BASE=	yes
d26 1
a26 2
EVAL_PREFIX+=	QT1DIR=qt1
CONFIGURE_ARGS+=	"--with-qt-dir=${QT1DIR}/qt1"
d28 2
a29 2
CONFIGURE_ENV+=	"QTDIR=${QT1DIR}/qt1"
CONFIGURE_ENV+=	"MOC=${QT1DIR}/qt1/bin/moc"
d51 1
@


1.13
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2002/08/16 03:12:12 jschauma Exp $
d23 1
a23 1
USE_GMAKE=	yes
@


1.12
log
@Beautify: correct tab-stops.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2002/06/30 01:24:03 jschauma Exp $
a6 1
WRKSRC=		${WRKDIR}/xamp-0.8/xamp-0.8g
d19 1
@


1.11
log
@xpkgwedgeify (patch supplied by maintainer in pkg/17430) - closes pkg/17430
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2001/02/25 04:17:37 hubertf Exp $
d36 3
a38 3
		for f in about.cpp aboutData.cpp readmex.h; do \
			${MV} ${WRKSRC}/$$f ${WRKSRC}/$$f.tmp; \
			${SED} -e 's:/usr/X11R6:'${PREFIX}':g' < ${WRKSRC}/$$f.tmp > \
d40 1
a40 1
		done
d43 8
a50 8
		${INSTALL_PROGRAM} ${WRKSRC}/xamp ${PREFIX}/bin
		${INSTALL_MAN} ${WRKSRC}/xamp.1 ${PREFIX}/man/man1
		@@${INSTALL_DATA_DIR} ${SKIN_DIR}/bfamp-xamp
		${INSTALL_DATA} ${WRKDIR}/bfamp-xamp/*.bmp ${SKIN_DIR}/bfamp-xamp
		@@${INSTALL_DATA_DIR} ${SKIN_DIR}/chrome-xamp
		${INSTALL_DATA} ${WRKDIR}/chrome-xamp/*.bmp ${SKIN_DIR}/chrome-xamp
		@@${INSTALL_DATA_DIR} ${SKIN_DIR}/mmxxamp-xamp
		${INSTALL_DATA} ${WRKDIR}/mmxxamp-xamp/*.bmp ${SKIN_DIR}/mmxxamp-xamp
@


1.10
log
@Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2001/02/16 13:30:52 wiz Exp $
d34 7
@


1.9
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2000/10/18 11:22:42 rh Exp $
d38 1
a38 1
		@@${MKDIR} ${SKIN_DIR}/bfamp-xamp
d40 1
a40 1
		@@${MKDIR} ${SKIN_DIR}/chrome-xamp
d42 1
a42 1
		@@${MKDIR} ${SKIN_DIR}/mmxxamp-xamp
@


1.8
log
@Update xamp to 0.8.10 (from PR 11250 by Rui-Xiang Guo
<rxg@@ms25.url.com.tw>, the maintainer of this package).  Changes are
bugfixes, and use of the native NetBSD sound API instead of OSS emulation.
@
text
@d1 1
a1 1
# $NetBSD$
d16 1
@


1.7
log
@Instead of the clunky SHOW_PKG_PREFIX, introduce an EVAL_PREFIX definition,
which takes entries of the format <make-definition-name>=<pkgname>. This
has not been added to MAKEFLAGS because (a) premature optimisation is the
root of all evil, and (b) because the .for loop used to implement this
shows the wrong results when multiple prefices are evaluated.

Modify all the package Makefiles to use EVAL_PREFIX, thereby simplifying
them considerably.

ALso simplify the logic to calculate the prefix as well.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2000/07/14 16:04:19 agc Exp $
d5 3
a7 2
DISTNAME=	xamp-0.8-7
PKGNAME=	xamp-0.8.7
d9 2
a10 1
MASTER_SITES=	ftp://ftp.simcb.ru/pub/unix/x11/
d12 1
d15 1
a15 1
HOMEPAGE=	http://edu.lahti.fi/xamp/
d19 1
a19 1
WRKSRC=		${WRKDIR}/xamp-0.8/xamp-0.8
d31 3
d37 6
@


1.6
log
@The previous method of using a make target for finding a prerequisite
package's prefix would not work as part of the environment specification
via MAKE_ENV (as it would not be executed in the correct directory).

Fix this by invoking pkg_info(1) directly, not via an intermediate make(1)
step - this is not as clean, but more effective (i.e. it works).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2000/07/11 14:53:37 agc Exp $
d22 2
a23 1
CONFIGURE_ARGS+=	"--with-qt-dir=`${SHOW_PREFIX1} qt1 ${SHOW_PREFIX2}`/qt1"
d25 2
a26 2
CONFIGURE_ENV+=	"QTDIR=`${SHOW_PREFIX1} qt1 ${SHOW_PREFIX2}`/qt1"
CONFIGURE_ENV+=	"MOC=`${SHOW_PREFIX1} qt1 ${SHOW_PREFIX2}`/qt1/bin/moc"
@


1.5
log
@Make the determination of the pre-req package's installed directory be
a bit more user-friendly.

Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in
bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2000/07/10 15:08:14 agc Exp $
d22 1
a22 1
CONFIGURE_ARGS+=	"--with-qt-dir=`${MAKE} show-qt1-prefix`/qt1"
d24 2
a25 2
CONFIGURE_ENV+=	"QTDIR=`${MAKE} show-qt1-prefix`/qt1"
CONFIGURE_ENV+=	"MOC=`${MAKE} show-qt1-prefix`/qt1/bin/moc"
@


1.4
log
@Find qt1 prefix via pkg_info(1), rather than hardcoding it as ${X11BASE}.
Pointed out by Dave Sainty <dave@@dtsp.co.nz>, munged slightly by me.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2000/03/28 00:09:21 dmcmahill Exp $
d22 1
a22 1
CONFIGURE_ARGS+=	"--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1" \
d24 2
a25 2
CONFIGURE_ENV+=	"QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1"
CONFIGURE_ENV+=	"MOC=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin/moc"
@


1.3
log
@make qt1 install in its own directory instead of renaming its installed
components.  This allows users of Qt to specify QTDIR=/path/to/qt instead
of having to patch all configure scripts and makefiles to look for alternate
names.  This is the recommended approach from Troll Tech (Qt authors).

update pkgs which use qt1 to reflect this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2000/03/23 23:27:24 dmcmahill Exp $
d22 1
a22 1
CONFIGURE_ARGS+=	"--with-qt-dir=${X11BASE}/qt1" \
d24 2
a25 2
CONFIGURE_ENV+=	"QTDIR=${X11BASE}/qt1"
CONFIGURE_ENV+=	"MOC=${X11BASE}/qt1/bin/moc"
@


1.2
log
@switch dependency from qt-1.44 to qt1-1.44
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 1999/09/17 00:48:26 hubertf Exp $
d22 1
a22 2
CONFIGURE_ARGS+=	--with-qt-includes=${X11BASE}/include/qt1 \
			--with-qt-libs=${X11BASE}/lib \
d24 2
a25 2
tst:
	echo ${INSTALL}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d14 1
a14 1
DEPENDS+=	qt-1.44:../../x11/qt
d18 1
a18 1
CONFIGURE_ENV=	CXXFLAGS="${CFLAGS}"
d21 6
@


1.1.1.1
log
@A version of amp (stands for `Audio Mpeg Player') plus a Qt GUI

Submitted in PR 8424 by Rui-Xiang Guo <rxg@@ms25.url.com.tw>
@
text
@@
