Makefile 955 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.3 2017/04/10 11:46:21 sthen Exp $
  2. COMMENT = PGF image format handling library
  3. V = 6.12.24
  4. DISTNAME = libpgf-$V-src
  5. PKGNAME = ${DISTNAME:C/-src//}
  6. SHARED_LIBS = pgf 0.0
  7. CATEGORIES = graphics devel
  8. HOMEPAGE = http://sourceforge.net/projects/libpgf/
  9. MAINTAINER = KDE porting team <openbsd-kde@googlegroups.com>
  10. # LGPLv2.1+
  11. PERMIT_PACKAGE_CDROM = Yes
  12. WANTLIB = m ${LIBCXX}
  13. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libpgf/}
  14. # needs libtoolize
  15. BUILD_DEPENDS += devel/libtool
  16. CONFIGURE_STYLE = autoconf automake
  17. AUTOCONF_VERSION = 2.69
  18. AUTOMAKE_VERSION = 1.9
  19. # Force disabling documentation generation through doxygen,
  20. # it's unhelpful and wants too many dependencies.
  21. CONFIGURE_ENV = ac_cv_path_DOXYGEN= ac_cv_path_DOT=
  22. WRKDIST = ${WRKDIR}/libpgf
  23. SUBST_VARS += PKGNAME
  24. post-patch:
  25. cd ${WRKSRC} && \
  26. AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  27. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  28. sh autogen.sh
  29. .include <bsd.port.mk>