Makefile 755 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.14 2017/04/19 15:40:25 jca Exp $
  2. COMMENT = Open Fingerprint Architecture library
  3. DISTNAME = libofa-0.9.3
  4. REVISION = 6
  5. CATEGORIES = audio devel
  6. HOMEPAGE = https://code.google.com/p/musicip-libofa/
  7. SHARED_LIBS += ofa 0.0
  8. # GPL
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=musicip-libofa/}
  11. WANTLIB += m pthread ${LIBCXX} fftw3
  12. # needed to build the examples
  13. BUILD_DEPENDS = net/curl \
  14. devel/gettext
  15. LIB_DEPENDS = math/fftw3
  16. SEPARATE_BUILD = Yes
  17. CONFIGURE_STYLE = gnu
  18. CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
  19. LDFLAGS="-L${LOCALBASE}/lib"
  20. post-install:
  21. ${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
  22. ${INSTALL_DATA} ${WRKBUILD}/libofa.pc ${PREFIX}/lib/pkgconfig
  23. .include <bsd.port.mk>