summaryrefslogtreecommitdiff
path: root/audio/xamp/Makefile
blob: bf8327bec4e57cebe5f5a7506d2510c048ce8904 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# $NetBSD: Makefile,v 1.10 2001/02/25 04:17:37 hubertf Exp $
# FreeBSD: ports/audio/xamp/Makefile,v 1.5 1999/08/25 04:36:22 obrien Exp
#

DISTNAME=	xamp-0.8-10
PKGNAME=	xamp-0.8.10
WRKSRC=		${WRKDIR}/xamp-0.8/xamp-0.8g
CATEGORIES=	audio
MASTER_SITES=	http://andrej.co.ru/~andrej/programs/xamp/ \
		http://andrej.co.ru/~andrej/programs/xamp/backs/
EXTRACT_SUFX=	.tgz
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SKIN_DATA}

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

DEPENDS+=	qt1-1.44:../../x11/qt1

DIST_SUBDIR=	xamp
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CXXFLAGS="${CFLAGS}"
USE_GMAKE=	yes
USE_X11BASE=	yes

EVAL_PREFIX+=	QT1DIR=qt1
CONFIGURE_ARGS+=	"--with-qt-dir=${QT1DIR}/qt1"

CONFIGURE_ENV+=	"QTDIR=${QT1DIR}/qt1"
CONFIGURE_ENV+=	"MOC=${QT1DIR}/qt1/bin/moc"

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

do-install:
		${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

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