version 1.1.1.1, 2009/08/30 08:48:23 |
version 1.10, 2014/05/15 15:11:43 |
|
|
|
|
COMMENT = Tcl/Tk based digital circuit editor and simulator |
COMMENT = Tcl/Tk based digital circuit editor and simulator |
|
|
DISTNAME = tkgate-2.0-b9 |
DISTNAME = tkgate-2.0-b10 |
|
|
CATEGORIES = cad x11 |
CATEGORIES = cad x11 |
|
|
HOMEPAGE = http://www.tkgate.org |
HOMEPAGE = http://www.tkgate.org/ |
|
|
#MAINTAINER = ??? |
MAINTAINER = Kirill Bychkov <kirby@openbsd.org> |
|
|
MASTER_SITES = ftp://gadoid.ices.cmu.edu/pub/tkgate/pre-release/ |
MASTER_SITES = http://www.tkgate.org/downloads/ |
|
EXTRACT_SUFX = .tgz |
|
|
# GPL |
# GPLv2 |
PERMIT_PACKAGE_CDROM = Yes |
PERMIT_PACKAGE_CDROM = Yes |
PERMIT_PACKAGE_FTP = Yes |
|
PERMIT_DISTFILES_CDROM =Yes |
|
PERMIT_DISTFILES_FTP = Yes |
|
|
|
WANTLIB = ICE SM X11 Xau Xdmcp c m |
WANTLIB += ICE SM X11 Xext Xft Xrender Xss c expat fontconfig |
|
WANTLIB += freetype m pthread-stubs tcl85 tk85 xcb z |
|
|
MODULES = x11/tk |
MODULES = converters/libiconv \ |
LIB_DEPENDS = ${MODTK_LIB_DEPENDS} \ |
x11/tk |
iconv.>=5::converters/libiconv |
|
|
|
USE_X11 = Yes |
BUILD_DEPENDS = ${MODTK_BUILD_DEPENDS} |
|
RUN_DEPENDS = ${MODTK_RUN_DEPENDS} |
|
|
CONFIGURE_STYLE = gnu |
CONFIGURE_STYLE = gnu |
|
CONFIGURE_ENV += TKGATE_LIBDIRS="${MODTCL_LIBDIR} ${MODTK_LIBDIR} ${LOCALBASE}/lib" \ |
|
TKGATE_INCDIRS="${MODTCL_INCDIR} ${MODTK_INCDIR} ${LOCALBASE}/include" \ |
|
TKGATE_TCLTK_VERSIONS=${MODTK_VERSION} |
|
CFLAGS += -DDEBUG |
|
|
|
post-extract: |
|
.for i in *.orig* *.bak* *.old *~ "\#*" |
|
@find ${WRKSRC} -name $i -exec rm {} \; |
|
.endfor |
|
|
pre-patch: |
pre-configure: |
@find ${WRKSRC} -name *.orig -exec rm {} \; |
${SUBST_CMD} ${WRKSRC}/scripts/parms.tcl ${WRKSRC}/src/tkgate/verilog_out.c |
@find ${WRKSRC} -name *.*~ -exec rm {} \; |
${MODTCL_WISH_ADJ} ${WRKSRC}/scripts/tree.tcl |
|
|
|
post-install: |
|
.for i in scripts bindings doc gdf images locale povray primitives vlib vpd test |
|
${INSTALL_DATA_DIR} ${PREFIX}/share/tkgate/$i |
|
cd ${WRKSRC}/$i && find * -type d -exec ${INSTALL_DATA_DIR} \ |
|
"${PREFIX}/share/tkgate/$i/{}" \; |
|
cd ${WRKSRC}/$i && find * -type f -exec ${INSTALL_DATA} \ |
|
"{}" "${PREFIX}/share/tkgate/$i/{}" \; |
|
.endfor |
|
rm ${PREFIX}/share/tkgate/scripts/parms.tcl.* |
|
|
.include <bsd.port.mk> |
.include <bsd.port.mk> |