Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # $OpenBSD: Makefile,v 1.28 2013/10/11 23:48:03 naddy Exp $
  2. COMMENT= minimalistic console-based audio player
  3. DISTNAME= herrie-2.2
  4. REVISION= 2
  5. CATEGORIES= audio
  6. HOMEPAGE= http://herrie.info/
  7. # BSD
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB += c ncurses ogg pthread mad>=2 id3tag>=3 sndfile>=1
  10. WANTLIB += vorbis>=5 vorbisfile>=4 glib-2.0>=1000 gthread-2.0>=1000
  11. WANTLIB += curl>=9 ao
  12. MODULES= devel/gettext
  13. MASTER_SITES= ${HOMEPAGE}/distfiles/ \
  14. http://www.stack.nl/~ed/projects/herrie/distfiles/ \
  15. http://www.il.fontys.nl/~ed/projects/herrie/distfiles/
  16. LIB_DEPENDS= audio/libmad \
  17. audio/libid3tag \
  18. audio/libsndfile \
  19. audio/libvorbis \
  20. devel/glib2 \
  21. net/curl \
  22. audio/libao>=0.8.8p1
  23. CONFIGURE_STYLE= simple
  24. CONFIGURE_ENV+= CONFDIR=${SYSCONFDIR} \
  25. PREFIX=${PREFIX} \
  26. LDFLAGS="-lvorbis -logg" \
  27. CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
  28. CONFIGURE_ARGS= ncurses \
  29. no_modplug \
  30. no_strip \
  31. no_xspf \
  32. verbose \
  33. ao
  34. NO_TEST= Yes
  35. LANGS= ca da de es fi ga nl pl pt_BR ru sv tr uk vi zh_CN
  36. do-install:
  37. ${INSTALL_PROGRAM} ${WRKSRC}/herrie ${PREFIX}/bin
  38. ${INSTALL_DATA_DIR} ${PREFIX}/man/man1
  39. ${INSTALL_MAN} ${WRKSRC}/herrie.1 ${PREFIX}/man/man1
  40. .for l in ${LANGS}
  41. ${INSTALL_DATA_DIR} ${PREFIX}/share/locale/${l}/LC_MESSAGES
  42. ${INSTALL_DATA} ${WRKSRC}/${l}.mo \
  43. ${PREFIX}/share/locale/${l}/LC_MESSAGES/herrie.mo
  44. .endfor
  45. ${INSTALL_DATA_DIR} ${PREFIX}/share/herrie
  46. ${INSTALL_DATA} ${WRKSRC}/herrie.conf.sample ${PREFIX}/share/herrie
  47. .include <bsd.port.mk>