Makefile 848 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD
  2. COMMENT = interactive fractal zoomer and morpher
  3. VERSION = 3.6
  4. DISTNAME = xaos-${VERSION}
  5. REVISION = 0
  6. CATEGORIES = graphics
  7. HOMEPAGE = http://matek.hu/xaos/doku.php
  8. MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB = X11 Xext c gsl gslcblas m png z
  12. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=xaos/XaoS/${VERSION}/}
  13. MODULES = devel/gettext
  14. LIB_DEPENDS = graphics/png \
  15. devel/gsl
  16. USE_GMAKE = Yes
  17. NO_TEST= Yes
  18. CONFIGURE_STYLE = gnu
  19. CONFIGURE_ARGS += --with-gsl=yes \
  20. --with-libiconv-prefix="${LOCALBASE}" \
  21. --with-libintl-prefix="${LOCALBASE}"
  22. CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
  23. LDFLAGS="-L${LOCALBASE}/lib"
  24. pre-configure:
  25. perl -pi -e 's#/usr(/share/locale)#${PREFIX}\1#g' \
  26. ${WRKSRC}/configure ${WRKSRC}/src/ui/ui.c
  27. .include <bsd.port.mk>