Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # $OpenBSD: Makefile,v 1.34 2016/05/05 19:52:28 naddy Exp $
  2. COMMENT= X amateur station tracking and info reporting
  3. DISTNAME= xastir-2.0.6
  4. REVISION= 0
  5. CATEGORIES= comms hamradio geo
  6. HOMEPAGE= http://www.xastir.org/
  7. MAINTAINER= Aaron Bieber <abieber@openbsd.org>
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= $(MASTER_SITE_SOURCEFORGE:=xastir/)
  10. CONFIGURE_STYLE= autoconf
  11. AUTOCONF_VERSION= 2.69
  12. AUTOMAKE_VERSION= 1.11
  13. MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
  14. .if ${MACHINE} == "sparc64"
  15. MAKE_FLAGS= CFLAGS="${CFLAGS} -fno-tree-ter"
  16. .endif
  17. CONFIGURE_ARGS= --with-shapelib \
  18. --with-pcre \
  19. --with-libproj \
  20. --with-geotiff \
  21. --with-dbfawk \
  22. --with-rtree \
  23. --with-x \
  24. --without-ax25 \
  25. --without-gpsman \
  26. --without-festival \
  27. --with-bdb-libdir=$(LOCALBASE)/lib/db4 \
  28. --with-bdb-incdir=$(LOCALBASE)/include/db4
  29. WANTLIB += GraphicsMagick ICE SM X11 Xext Xm Xpm Xt bz2 c curl
  30. WANTLIB += db freetype gdal geotiff lcms2 ltdl lzma m pcre proj
  31. WANTLIB += pthread shp tiff z
  32. MODULES= devel/gettext
  33. LIB_DEPENDS= net/curl \
  34. devel/shapelib \
  35. devel/geotiff \
  36. geo/gdal \
  37. graphics/GraphicsMagick \
  38. databases/db/v4 \
  39. devel/pcre \
  40. x11/motif
  41. .include <bsd.port.mk>