pkgsrc/audio/xamp/Makefile
dmcmahill 07c67df8fd 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.
2000-03-28 00:09:19 +00:00

31 lines
777 B
Makefile

# $NetBSD: Makefile,v 1.3 2000/03/28 00:09:21 dmcmahill Exp $
# FreeBSD: ports/audio/xamp/Makefile,v 1.5 1999/08/25 04:36:22 obrien Exp
#
DISTNAME= xamp-0.8-7
PKGNAME= xamp-0.8.7
CATEGORIES= audio
MASTER_SITES= ftp://ftp.simcb.ru/pub/unix/x11/
EXTRACT_SUFX= .tgz
MAINTAINER= rxg@ms25.url.com.tw
HOMEPAGE= http://edu.lahti.fi/xamp/
DEPENDS+= qt1-1.44:../../x11/qt1
WRKSRC= ${WRKDIR}/xamp-0.8/xamp-0.8
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CXXFLAGS="${CFLAGS}"
USE_GMAKE= yes
USE_X11BASE= yes
CONFIGURE_ARGS+= "--with-qt-dir=${X11BASE}/qt1" \
CONFIGURE_ENV+= "QTDIR=${X11BASE}/qt1"
CONFIGURE_ENV+= "MOC=${X11BASE}/qt1/bin/moc"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xamp ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xamp.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"