blob: 141a2ab6e35b42970941d66883f14e7e6c4c2863 (
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
46
47
48
49
50
51
52
|
# $NetBSD: Makefile,v 1.14 2004/01/22 07:15:01 grant 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
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
WRKSRC= ${WRKDIR}/xamp-0.8/xamp-0.8g
DIST_SUBDIR= xamp
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CXXFLAGS="${CFLAGS}"
USE_GNU_TOOLS+= make
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
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 ${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"
|