Makefile 922 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.5 2015/04/21 18:40:20 sthen Exp $
  2. COMMENT = mpd client to scrobble track info to last.fm
  3. V = 0.22
  4. DISTNAME = mpdscribble-$V
  5. REVISION = 0
  6. CATEGORIES = audio
  7. HOMEPAGE = http://mpd.wikia.com/wiki/Client:Mpdscribble
  8. MAINTAINER = Steven Mestdagh <steven@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += c curl glib-2.0 mpdclient pthread
  12. MASTER_SITES = http://www.musicpd.org/download/mpdscribble/$V/
  13. MODULES = devel/gettext
  14. LIB_DEPENDS = net/curl \
  15. devel/glib2 \
  16. audio/libmpdclient
  17. CONFIGURE_STYLE = gnu
  18. CONFIGURE_ARGS = --with-http-client=curl
  19. do-install:
  20. ${INSTALL_PROGRAM} ${WRKSRC}/src/mpdscribble ${PREFIX}/bin/mpdscribble
  21. ${INSTALL_MAN} ${WRKSRC}/doc/mpdscribble.1 ${PREFIX}/man/man1/mpdscribble.1
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mpdscribble
  23. ${INSTALL_DATA} ${WRKSRC}/doc/mpdscribble.conf ${PREFIX}/share/doc/mpdscribble
  24. .include <bsd.port.mk>