blob: 869cd11893c50de7834bd422cea5032baba04461 (
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
53
54
55
56
57
58
59
60
61
|
# $NetBSD: Makefile,v 1.26 2004/01/29 11:00:02 xtraeme Exp $
DISTNAME= xcdroast-0.98alpha15
PKGNAME= xcdroast-0.98a15
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xcdroast/}
MAINTAINER= frueauf@NetBSD.org
HOMEPAGE= http://www.xcdroast.org/
COMMENT= Graphical user interface for the command-line cdrecord-tools
BUILD_USES_MSGFMT= YES
DEPENDS+= cdrecord-xcdroast-0.98a15.*:../cdrecord-xcdroast
USE_BUILDLINK2= YES
USE_GNU_TOOLS+= make
USE_PKGINSTALL= YES
USE_PKGLOCALEDIR= YES
USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-gtk2
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
.include "../../mk/bsd.prefs.mk"
.if ${_OPSYS_HAS_OSSAUDIO} == "yes"
CFLAGS+= -DHAVE_OSS
CONFIGURE_ENV+= AUDIO_LIBS=${LIBOSSAUDIO}
.endif
DOCDIR= ${PREFIX}/share/doc/xcdroast
DOCFILES= DOCUMENTATION FAQ README.nonroot manual/xcdroast-manual.pdf
HTMLDIR= ${PREFIX}/share/doc/html/xcdroast
SUPPORT_FILES= /dev/null ${PKG_SYSCONFDIR}/xcdroast.conf
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
pre-build:
cd ${WRKSRC}/src; for file in io.c wavplay.c; do \
${SED} -e "s|@DEVOSSAUDIO@|${DEVOSSAUDIO}|g" \
$${file} > $${file}.fixed; \
${MV} -f $${file}.fixed $${file}; \
done
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
(cd ${WRKSRC}/doc; \
for file in ${DOCFILES}; do \
${INSTALL_DATA} $${file} ${DOCDIR}; \
done)
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/pcre/buildlink2.mk"
.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../x11/gtk2/buildlink2.mk"
.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|