Makefile 902 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.18 2017/04/10 11:45:23 sthen Exp $
  2. COMMENT= compact disk input and control library
  3. DISTNAME= libcdio-0.80
  4. REVISION= 7
  5. CATEGORIES= audio devel
  6. MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/}
  7. SHARED_LIBS= cdio 0.1 \
  8. cdio++ 0.1 \
  9. cdio_cdda 0.1 \
  10. cdio_paranoia 0.1 \
  11. iso9660 0.1 \
  12. iso9660++ 0.1 \
  13. udf 0.1
  14. HOMEPAGE= https://www.gnu.org/software/libcdio/
  15. # GPLv2+
  16. PERMIT_PACKAGE_CDROM= Yes
  17. WANTLIB= c cddb iconv m ncurses ${LIBCXX}
  18. LIB_DEPENDS= audio/libcddb \
  19. converters/libiconv
  20. USE_GMAKE= Yes
  21. CONFIGURE_STYLE= autoconf
  22. AUTOCONF_VERSION= 2.61
  23. CONFIGURE_ARGS= --disable-vcd-info
  24. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  25. LDFLAGS="-L${LOCALBASE}/lib"
  26. post-extract:
  27. @cp ${FILESDIR}/openbsd.c ${WRKSRC}/lib/driver
  28. post-install:
  29. cd ${WRKSRC} && ${INSTALL_DATA} libcdio_cdda.pc libcdio_paranoia.pc \
  30. ${PREFIX}/lib/pkgconfig
  31. .include <bsd.port.mk>