diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 175fab70a3a2f3b0f348e8eb065240a97f4f7d61 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/amaroc | |
parent | 8e48fde97a437ad72ee0e0977aecc1023910f244 (diff) | |
download | pkgsrc-175fab70a3a2f3b0f348e8eb065240a97f4f7d61.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/Makefile | 11 |
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" |