Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.4 2015/12/03 21:24:29 sthen Exp $
  2. COMMENT= GM and GS compatible SoundFont bank for MIDI
  3. V= 1.44
  4. REVISION= 0
  5. PKGNAME= generaluser-gs-soundfont-$V
  6. DISTNAME= GeneralUser_GS_$V-FluidSynth
  7. EXTRACT_SUFX= .zip
  8. CATEGORIES= audio
  9. HOMEPAGE= http://www.schristiancollins.com/generaluser.php
  10. MAINTAINER= Stuart Henderson <sthen@openbsd.org>
  11. # see LICENSE.TXT
  12. PERMIT_PACKAGE_CDROM= probably OK, but disabled on CDs for safety
  13. PERMIT_PACKAGE_FTP= Yes
  14. MASTER_SITES= http://www.schristiancollins.com/soundfonts/ \
  15. https://spacehopper.org/mirrors/
  16. NO_BUILD= Yes
  17. NO_TEST= Yes
  18. PKG_ARCH= *
  19. WRKDIST= ${WRKDIR}/generaluser-gs
  20. INST= ${PREFIX}/share/generaluser-gs
  21. post-extract:
  22. cd ${WRKDIR}; ln -s GeneralUser*FluidSynth generaluser-gs
  23. do-install:
  24. ${INSTALL_DATA_DIR} ${INST} ${PREFIX}/share/{doc,examples}/generaluser-gs
  25. ${INSTALL_DATA} ${WRKSRC}/GUTest.mid ${PREFIX}/share/examples/generaluser-gs/
  26. ${INSTALL_DATA} ${WRKSRC}/GeneralUser*.sf2 ${INST}/GeneralUser_GS.sf2
  27. ${INSTALL_DATA} ${WRKSRC}/*txt ${PREFIX}/share/doc/generaluser-gs
  28. cd "${WRKSRC}/instrument lists"; \
  29. ${INSTALL_DATA} "GeneralUser GS 1.43.ins" ${PREFIX}/share/generaluser-gs/GeneralUser_GS.ins; \
  30. ${INSTALL_DATA} "GeneralUser GS 1.43-Drumsets.ins" ${PREFIX}/share/generaluser-gs/GeneralUser_GS-Drumsets.ins; \
  31. ${INSTALL_DATA} "GeneralUser_GS_1.43.rgd" ${PREFIX}/share/generaluser-gs/GeneralUser_GS.rgd; \
  32. ${INSTALL_DATA} "GU1.43 Percussion Map.pdf" ${PREFIX}/share/doc/generaluser-gs/GU_Percussion_Map.pdf
  33. .include <bsd.port.mk>