pkgsrc/sysutils/xcdroast/Makefile
jlam d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00

48 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2003/01/28 22:04:20 jlam Exp $
DISTNAME= xcdroast-0.98alpha13
PKGNAME= xcdroast-0.98a13
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
DEPENDS+= cdrecord-xcdroast-0.98a13.*:../cdrecord-xcdroast
.include "../../mk/bsd.prefs.mk"
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
USE_PKGLOCALEDIR= YES
USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
.if ${_OPSYS_HAS_OSSAUDIO} == "yes"
CFLAGS+= -DHAVE_OSS
.endif
DOCDIR= ${PREFIX}/share/doc/xcdroast
SUPPORT_FILES= /dev/null ${PKG_SYSCONFDIR}/xcdroast.conf
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}; \
for file in ${WRKSRC}/doc/*; do \
${INSTALL_DATA} $${file} ${DOCDIR}; \
done
# gdk-pixbuf implies gtk, glib, gettext-lib
.include "../../graphics/gdk-pixbuf/buildlink2.mk"
.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"