2011-10-30 05:12:15 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2011/10/30 05:12:15 stu Exp $
|
2006-01-29 09:44:23 +00:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 21:36:57 +00:00
|
|
|
COMMENT= circuit drawing and schematic capture
|
2006-01-29 09:44:23 +00:00
|
|
|
|
2011-10-30 05:12:15 +00:00
|
|
|
BASEVER= 3.7
|
|
|
|
DISTNAME= xcircuit-${BASEVER}.26
|
2006-01-29 09:44:23 +00:00
|
|
|
CATEGORIES= cad
|
|
|
|
|
|
|
|
HOMEPAGE= http://opencircuitdesign.com/xcircuit/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-10-10 22:41:40 +00:00
|
|
|
WANTLIB= c m z ICE Xt X11 SM Xpm
|
2006-01-29 09:44:23 +00:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}archive/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
|
|
|
AUTOCONF_VERSION= 2.59
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
2009-10-10 22:41:40 +00:00
|
|
|
--with-tcl=${MODTCL_LIBDIR} \
|
|
|
|
--with-tk=${MODTK_LIBDIR}
|
2006-01-29 09:44:23 +00:00
|
|
|
|
2009-10-10 22:41:40 +00:00
|
|
|
MODULES= x11/tk
|
|
|
|
LIB_DEPENDS+= ${MODTK_LIB_DEPENDS}
|
2010-11-06 22:06:57 +00:00
|
|
|
WANTLIB+= ${MODTK_WANTLIB}
|
2006-01-29 09:44:23 +00:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2010-11-15 00:22:45 +00:00
|
|
|
USE_GROFF = Yes
|
2006-01-29 09:44:23 +00:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
SUBST_VARS= BASEVER
|
|
|
|
|
|
|
|
post-install:
|
2006-03-24 17:30:34 +00:00
|
|
|
@cd ${WRKSRC} && ${MAKE} install-man
|
2006-01-29 09:44:23 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xcircuit
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/xcircuit
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcircuit
|
2006-03-24 17:30:34 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.* \
|
|
|
|
${PREFIX}/share/examples/xcircuit
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/.xcircuitrc \
|
|
|
|
${PREFIX}/share/examples/xcircuit/dot.xcircuitrc
|
2006-01-29 09:44:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|