Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.19 2017/05/21 14:52:54 sthen Exp $
  2. COMMENT= lightweight DLNA/UPnP-AV media server (aka ReadyMedia)
  3. V= 1.2.0
  4. DISTNAME= minidlna-$V
  5. PKGNAME= minidlna-$V
  6. CATEGORIES= multimedia
  7. MAINTAINER= Stuart Henderson <sthen@openbsd.org>
  8. HOMEPAGE= http://sourceforge.net/projects/minidlna/
  9. # GPLv2 only
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += FLAC avformat avutil c exif id3tag jpeg ogg
  12. WANTLIB += pthread sqlite3 vorbis
  13. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=minidlna/}
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ARGS= --with-log-path=/var/log/minidlna \
  16. --with-db-path=/var/db/minidlna \
  17. --with-os-url=http://www.openbsd.org/
  18. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  19. LDFLAGS="-L${LOCALBASE}/lib"
  20. MODULES= devel/gettext
  21. LIB_DEPENDS= audio/flac \
  22. audio/libid3tag \
  23. databases/sqlite3 \
  24. graphics/ffmpeg \
  25. graphics/jpeg \
  26. graphics/libexif
  27. NO_TEST= Yes
  28. E= ${PREFIX}/share/examples/minidlna
  29. post-install:
  30. ${INSTALL_DATA_DIR} $E
  31. ${INSTALL_DATA} ${WRKSRC}/minidlna.conf $E
  32. ${INSTALL_MAN} ${WRKSRC}/minidlnad.8 ${PREFIX}/man/man8
  33. ${INSTALL_MAN} ${WRKSRC}/minidlna.conf.5 ${PREFIX}/man/man5
  34. .include <bsd.port.mk>