1 # $NetBSD: Makefile,v 1.65 2012/10/23 19:51:35 asau Exp $
3 DISTNAME
= xcdroast-
${DIST_VER}
4 PKGNAME
= xcdroast-
${DIST_VER
:S
/alpha
/a
/}
7 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=xcdroast
/}
9 PATCH_SITES
= http
://www.xcdroast.org
/xcdr098
/patches
/
10 PATCHFILES
= parse_version.patch
12 MAINTAINER
= pkgsrc-users@NetBSD.org
13 HOMEPAGE
= http
://www.xcdroast.org
/
14 COMMENT
= Graphical user interface for the command-line cdrecord-tools
16 DEPENDS
+= cdrtools
>=2.01:..
/..
/sysutils
/cdrtools
20 USE_TOOLS
+= gmake msgfmt pkg-config
24 CONFIGURE_ARGS
+= --enable-gtk2
25 CONFIGURE_ARGS
+= --sysconfdir
=${PKG_SYSCONFDIR}
27 .
include "../../mk/bsd.prefs.mk"
29 .if
${_OPSYS_HAS_OSSAUDIO} == "yes"
31 CONFIGURE_ENV
+= AUDIO_LIBS
=${LIBOSSAUDIO}
34 DOCDIR
= ${PREFIX}/share
/doc
/xcdroast
35 DOCFILES
= DOCUMENTATION FAQ README.nonroot manual
/xcdroast-manual.pdf
36 HTMLDIR
= ${PREFIX}/share
/doc
/html
/xcdroast
37 CONF_FILES
= /dev
/null
${PKG_SYSCONFDIR}/xcdroast.conf
39 SUBST_CLASSES
+= devossaudio
40 SUBST_STAGE.devossaudio
= pre-build
41 SUBST_MESSAGE.devossaudio
= Fixing path to audio device.
42 SUBST_FILES.devossaudio
= io.c wavplay.c
43 SUBST_SED.devossaudio
= -e
"s,@DEVOSSAUDIO@,${DEVOSSAUDIO},g"
45 INSTALLATION_DIRS
= ${DOCDIR}
49 for file in
${DOCFILES}; do \
50 ${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \
53 .
include "../../devel/gettext-lib/buildlink3.mk"
54 .
include "../../x11/gtk2/buildlink3.mk"
55 .
include "../../mk/oss.buildlink3.mk"
57 .
include "../../mk/bsd.pkg.mk"