diff options
Diffstat (limited to 'audio/abcmidi/Makefile')
-rw-r--r-- | audio/abcmidi/Makefile | 45 |
1 files changed, 17 insertions, 28 deletions
diff --git a/audio/abcmidi/Makefile b/audio/abcmidi/Makefile index bfe079c12da..94f55dfd81d 100644 --- a/audio/abcmidi/Makefile +++ b/audio/abcmidi/Makefile @@ -1,47 +1,36 @@ -# $NetBSD: Makefile,v 1.7 2009/10/10 08:33:24 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2011/02/17 13:54:12 ryoon Exp $ # DISTNAME= abcMIDI-${ABCMIDIVER} PKGNAME= abcmidi-${ABCMIDIVER:S/-//g} CATEGORIES= audio -MASTER_SITES= http://ifdo.pugmarks.com/~seymour/runabc/ +MASTER_SITES= http://ifdo.ca/~seymour/runabc/ EXTRACT_SUFX= .zip -WRKSRC= ${WRKDIR}/abcmidi -MAKE_FILE= makefile MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://abc.sourceforge.net/abcMIDI/ COMMENT= Music utilities for abc +LICENSE= gnu-gpl-v2 -ABCMIDIVER= 2006-04-22 +ABCMIDIVER= 2011-01-01 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 ${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 ${DESTDIR}${PREFIX}/share/doc/abcmidi + share/doc/${PKGBASE}/programming \ + share/examples/${PKGBASE} + +WRKSRC= ${WRKDIR}/abcmidi +MAKE_FILE= makefile +INSTALL_MAKE_FLAGS+= prefix=${PREFIX} + +post-install: cd ${WRKSRC}/doc/programming && ${INSTALL_DATA} abc2midi.txt \ coding.txt midi2abc.txt split.abc yaps.txt \ - ${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 + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/programming + cd ${WRKSRC}/samples && ${INSTALL_DATA} araber.abc baym_rebin.abc \ + boys.abc coleraine.abc daramud.abc demo.abc dergasn.abc \ + drums.abc \ + ${DESTDIR}${PREFIX}/share/examples/${PKGBASE} .include "../../mk/bsd.pkg.mk" |