summaryrefslogtreecommitdiff
path: root/audio/amaroc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
commit76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/amaroc
parent5c458b597ca0742153b3a339088ba80f14b598ef (diff)
downloadpkgsrc-76ed4a57975c0d7c08dcc86ebda15457c3e83793.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/amaroc')
-rw-r--r--audio/amaroc/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/amaroc/Makefile b/audio/amaroc/Makefile
index 4dadb517bd7..89ee58136f6 100644
--- a/audio/amaroc/Makefile
+++ b/audio/amaroc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/02/20 19:08:45 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/02 06:10:31 jlam Exp $
#
DISTNAME= amaroc-0.3
@@ -12,12 +12,15 @@ COMMENT= Command line interface to amarok
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin share/doc/amaroc
+
do-build:
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/amaroc.py ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amaroc
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/amaroc
+ ${INSTALL_SCRIPT} ${WRKSRC}/amaroc.py ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/amaroc
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/amaroc
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"