Makefile 850 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.6 2015/04/05 13:31:14 sthen Exp $
  2. COMMENT = PDF creation library
  3. VERSION = 2_3_0
  4. GH_ACCOUNT = libharu
  5. GH_PROJECT = libharu
  6. GH_TAGNAME = RELEASE_${VERSION}
  7. DISTNAME = ${GH_PROJECT}-${VERSION:S/_/./g}
  8. SHARED_LIBS= hpdf 0.1 #2.3
  9. CATEGORIES = print
  10. HOMEPAGE = http://libharu.org/
  11. # ZLIB/PNG
  12. PERMIT_PACKAGE_CDROM = Yes
  13. AUTOCONF_VERSION = 2.69
  14. AUTOMAKE_VERSION = 1.14
  15. CONFIGURE_STYLE = gnu
  16. CONFIGURE_ARGS = --with-png=${LOCALBASE}
  17. # for libtoolize
  18. BUILD_DEPENDS = devel/libtool \
  19. ${MODGNU_AUTOCONF_DEPENDS} \
  20. ${MODGNU_AUTOMAKE_DEPENDS}
  21. LIB_DEPENDS = graphics/png
  22. WANTLIB = m png z
  23. WRKDIST = ${WRKDIR}/libharu-RELEASE_${VERSION}
  24. pre-configure:
  25. cd ${WRKSRC} && ${MAKE_PROGRAM} LIBTOOLIZE=libtoolize \
  26. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  27. AUTOCONF_VERSION=${AUTOCONF_VERSION} -f build.mk
  28. .include <bsd.port.mk>