Makefile 790 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.17 2013/03/10 22:55:04 espie Exp $
  2. COMMENT= multi-threaded DAAP server
  3. DISTNAME= mt-daapd-0.2.4.2
  4. REVISION= 5
  5. CATEGORIES= audio net
  6. HOMEPAGE= http://www.mt-daapd.org/
  7. # GPL APSL
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB += avahi-client avahi-common c gdbm id3tag>=3 pthread z
  10. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
  11. LIB_DEPENDS= net/avahi \
  12. audio/libid3tag
  13. CONFIGURE_STYLE=gnu
  14. CONFIGURE_ARGS= --with-gdbm-includes=${LOCALBASE}/include \
  15. --with-gdbm-libs=${LOCALBASE}/lib \
  16. --enable-avahi
  17. pre-configure:
  18. ${SUBST_CMD} ${WRKSRC}/contrib/mt-daapd.conf
  19. post-install:
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mt-daapd
  21. ${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.{conf,playlist,spec} \
  22. ${PREFIX}/share/examples/mt-daapd
  23. .include <bsd.port.mk>