diff options
author | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
commit | 33be9d571979426caf74e11b4f9a9f2be70808b5 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/abcmidi | |
parent | 49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff) | |
download | pkgsrc-33be9d571979426caf74e11b4f9a9f2be70808b5.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/abcmidi')
-rw-r--r-- | audio/abcmidi/Makefile | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/audio/abcmidi/Makefile b/audio/abcmidi/Makefile index a52ebe8a25f..4e4ead56e87 100644 --- a/audio/abcmidi/Makefile +++ b/audio/abcmidi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2006/12/19 13:48:20 rillig Exp $ +# $NetBSD: Makefile,v 1.6 2008/03/02 06:10:30 jlam Exp $ # DISTNAME= abcMIDI-${ABCMIDIVER} @@ -15,24 +15,33 @@ COMMENT= Music utilities for abc ABCMIDIVER= 2006-04-22 +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 \ share/doc/abcmidi/programming share/examples/abcmidi do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} abc2abc abc2midi mftext \ - midi2abc midicopy yaps ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/demo.abc ${PREFIX}/share/examples/abcmidi/ + midi2abc midicopy yaps ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/demo.abc \ + ${DESTDIR}${PREFIX}/share/examples/abcmidi cd ${WRKSRC}/doc && ${INSTALL_DATA} AUTHORS CHANGES \ abcguide.txt abcmatch.txt gpl.txt history.txt readme.txt \ - yapshelp.txt ${PREFIX}/share/doc/abcmidi/ + yapshelp.txt ${DESTDIR}${PREFIX}/share/doc/abcmidi cd ${WRKSRC}/doc/programming && ${INSTALL_DATA} abc2midi.txt \ coding.txt midi2abc.txt split.abc yaps.txt \ - ${PREFIX}/share/doc/abcmidi/programming/ - ${INSTALL_MAN} ${WRKSRC}/doc/abc2abc.1 ${PREFIX}/${PKGMANDIR}/man1/ - ${INSTALL_MAN} ${WRKSRC}/doc/abc2midi.1 ${PREFIX}/${PKGMANDIR}/man1/ - ${INSTALL_MAN} ${WRKSRC}/doc/mftext.1 ${PREFIX}/${PKGMANDIR}/man1/ - ${INSTALL_MAN} ${WRKSRC}/doc/midi2abc.1 ${PREFIX}/${PKGMANDIR}/man1/ - ${INSTALL_MAN} ${WRKSRC}/doc/midicopy.1 ${PREFIX}/${PKGMANDIR}/man1/ - ${INSTALL_MAN} ${WRKSRC}/doc/yaps.1 ${PREFIX}/${PKGMANDIR}/man1/ + ${DESTDIR}${PREFIX}/share/doc/abcmidi/programming + ${INSTALL_MAN} ${WRKSRC}/doc/abc2abc.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/abc2midi.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/mftext.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/midi2abc.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/midicopy.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/yaps.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |