summaryrefslogtreecommitdiff
path: root/sysutils/xcdroast/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xcdroast/Makefile')
-rw-r--r--sysutils/xcdroast/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/xcdroast/Makefile b/sysutils/xcdroast/Makefile
index 351f0aa9d77..465e6e0fe2c 100644
--- a/sysutils/xcdroast/Makefile
+++ b/sysutils/xcdroast/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2009/02/11 21:48:39 shattered Exp $
+# $NetBSD: Makefile,v 1.51 2009/02/15 15:59:44 joerg Exp $
DISTNAME= xcdroast-${DIST_VER}
PKGNAME= xcdroast-${DIST_VER:S/alpha/a/}
-#PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xcdroast/}
@@ -13,6 +13,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xcdroast.org/
COMMENT= Graphical user interface for the command-line cdrecord-tools
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= cdrtools>=2.01:../../sysutils/cdrtools
DIST_VER= 0.98alpha16
@@ -42,11 +44,12 @@ SUBST_MESSAGE.devossaudio= Fixing path to audio device.
SUBST_FILES.devossaudio= io.c wavplay.c
SUBST_SED.devossaudio= -e "s,@DEVOSSAUDIO@,${DEVOSSAUDIO},g"
+INSTALLATION_DIRS= ${DOCDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
(cd ${WRKSRC}/doc; \
for file in ${DOCFILES}; do \
- ${INSTALL_DATA} $${file} ${DOCDIR}; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \
done)
.include "../../devel/gettext-lib/buildlink3.mk"