Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.30 2016/03/18 23:12:15 naddy Exp $
  2. COMMENT = circuit drawing and schematic capture
  3. BASEVER = 3.7
  4. DISTNAME = xcircuit-${BASEVER}.57
  5. CATEGORIES = cad
  6. HOMEPAGE = http://opencircuitdesign.com/xcircuit/
  7. MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB = c m z ICE Xt X11 SM Xpm ${MODTK_WANTLIB}
  11. MASTER_SITES = ${HOMEPAGE:=archive/}
  12. EXTRACT_SUFX = .tgz
  13. MODULES = x11/tk
  14. LIB_DEPENDS = ${MODTK_LIB_DEPENDS}
  15. USE_GMAKE = Yes
  16. CONFIGURE_STYLE = autoconf no-autoheader
  17. AUTOCONF_VERSION = 2.68
  18. CONFIGURE_ARGS += --with-tcl=${MODTCL_LIBDIR} \
  19. --with-tk=${MODTK_LIBDIR}
  20. NO_TEST = Yes
  21. SUBST_VARS = BASEVER
  22. post-install:
  23. @cd ${WRKSRC} && ${MAKE} install-man
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xcircuit
  25. ${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/xcircuit
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcircuit
  27. ${INSTALL_DATA} ${WRKSRC}/examples/*.* \
  28. ${PREFIX}/share/examples/xcircuit
  29. ${INSTALL_DATA} ${WRKSRC}/examples/.xcircuitrc \
  30. ${PREFIX}/share/examples/xcircuit/dot.xcircuitrc
  31. .include <bsd.port.mk>