Makefile 993 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.19 2017/05/09 06:21:30 sebastia Exp $
  2. COMMENT= CAD program for designing model railroad layouts
  3. VERSION= 4.3.0
  4. DISTNAME= xtrkcad-source-${VERSION}
  5. PKGNAME= xtrkcad-${VERSION}
  6. CATEGORIES= cad
  7. HOMEPAGE= http://www.xtrkcad.org/
  8. MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xtrkcad-fork/}
  12. MODULES= devel/cmake devel/gettext
  13. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes
  14. WANTLIB += Xi Xinerama Xrandr Xrender c fontconfig
  15. WANTLIB += freetype m pthread z cairo webkitgtk-1.0 soup-2.4
  16. WANTLIB += gio-2.0 glib-2.0 gobject-2.0 javascriptcoregtk-1.0
  17. WANTLIB += atk-1.0 gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 pango-1.0
  18. WANTLIB += pangocairo-1.0 pangoft2-1.0
  19. LIB_DEPENDS= www/webkit>=1.4.0v0
  20. CONFIGURE_ENV+= CFLAGS=-I${PREFIX}/include \
  21. LDFLAGS="-pthread -L${PREFIX}/lib -liconv -lintl"
  22. pre-configure:
  23. ${SUBST_CMD} ${WRKSRC}/app/lib/CMakeLists.txt
  24. .include <bsd.port.mk>