Makefile 909 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.8 2016/05/03 19:35:52 espie Exp $
  2. COMMENT-main = library for manipulating IPTC metadata
  3. COMMENT-python = libiptcdata Python bindings
  4. DISTNAME = libiptcdata-1.0.4
  5. PKGNAME-main = ${DISTNAME}
  6. PKGNAME-python = py-${DISTNAME}
  7. REVISION-main = 1
  8. REVISION-python = 0
  9. SHARED_LIBS = iptcdata 0.0 # 3.3
  10. CATEGORIES = graphics
  11. HOMEPAGE = http://libiptcdata.sourceforge.net/
  12. # LGPL
  13. PERMIT_PACKAGE_CDROM = Yes
  14. cWANTLIB = m util pthread
  15. WANTLIB-main = ${cWANTLIB} c iconv intl
  16. WANTLIB-python = ${cWANTLIB} iptcdata
  17. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libiptcdata/}
  18. MODULES = lang/python
  19. LIB_DEPENDS-python = graphics/libiptcdata,-main
  20. CONFIGURE_STYLE = gnu
  21. CONFIGURE_ARGS += --enable-python
  22. CONFIGURE_ENV += PYTHON_VERSION=${MODPY_VERSION} \
  23. LDFLAGS="-L${LOCALBASE}/lib -pthread -lm -lutil"
  24. MULTI_PACKAGES = -main -python
  25. NO_TEST = Yes
  26. .include <bsd.port.mk>