Makefile 804 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.31 2017/03/27 17:26:10 dcoppa Exp $
  2. COMMENT= curses based frontend for mpd
  3. VER= 0.27
  4. DISTNAME= ncmpc-${VER}
  5. EPOCH= 0
  6. CATEGORIES= audio
  7. HOMEPAGE= http://www.musicpd.org/clients/ncmpc/
  8. MAINTAINER= David Coppa <dcoppa@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB= c glib-2.0 mpdclient>=1 ncursesw
  12. LIB_DEPENDS= devel/glib2 \
  13. audio/libmpdclient>=2.4
  14. MODULES= devel/gettext
  15. MASTER_SITES= http://www.musicpd.org/download/ncmpc/${VER:R}/
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ENV= CPP=${CPP} \
  18. CPPFLAGS=-I${LOCALBASE}/include \
  19. LDFLAGS=-L${LOCALBASE}/lib
  20. post-install:
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ncmpc
  22. mv ${PREFIX}/share/doc/ncmpc/{config.sample,keys.sample,ncmpc.lirc} \
  23. ${PREFIX}/share/examples/ncmpc/
  24. .include <bsd.port.mk>