Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.26 2017/04/28 01:51:30 espie Exp $
  2. COMMENT= anti-grain geometry graphics library
  3. DISTNAME= agg-2.5
  4. REVISION= 6
  5. SHARED_LIBS= agg 3.0 \
  6. aggfontfreetype 3.0 \
  7. aggplatformsdl 3.0 \
  8. aggplatformX11 3.0
  9. CATEGORIES= graphics
  10. HOMEPAGE= http://www.antigrain.com/
  11. # GPL
  12. PERMIT_PACKAGE_CDROM= Yes
  13. WANTLIB= X11 freetype iconv m sndio usbhid xcb z SDL>=6 ${LIBCXX} pthread
  14. MASTER_SITES= ${HOMEPAGE}
  15. AUTOCONF_VERSION= 2.59
  16. AUTOMAKE_VERSION= 1.9
  17. LIB_DEPENDS= converters/libiconv \
  18. devel/sdl
  19. # XX needs libtoolize
  20. BUILD_DEPENDS= devel/autoconf/${AUTOCONF_VERSION} \
  21. devel/libtool \
  22. devel/metaauto
  23. SEPARATE_BUILD= Yes
  24. CONFIGURE_STYLE=automake
  25. CONFIGURE_ARGS= --disable-gpc \
  26. --disable-examples \
  27. --disable-sdltest
  28. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
  29. LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
  30. pre-configure:
  31. @cd ${WRKSRC} && ${SETENV} AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  32. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} /bin/sh autogen.sh
  33. .include <bsd.port.mk>