2012-10-29 22:25:39 +01:00
|
|
|
# Created by: Pedro F. Giffuni <giffunip@asme.org>
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1998-05-18 06:20:25 +02:00
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= xcircuit
|
2013-02-09 12:20:31 +01:00
|
|
|
PORTVERSION= 3.7.48
|
2001-08-31 15:44:41 +02:00
|
|
|
PORTEPOCH= 1
|
1998-11-21 08:27:41 +01:00
|
|
|
CATEGORIES= cad
|
2012-02-20 00:24:58 +01:00
|
|
|
MASTER_SITES= http://opencircuitdesign.com/xcircuit/archive/ \
|
|
|
|
http://fossies.org/unix/misc/
|
2006-06-05 13:13:35 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-05-18 06:20:25 +02:00
|
|
|
|
2013-02-09 12:20:31 +01:00
|
|
|
MAINTAINER= danilogondolfo@gmail.com
|
|
|
|
COMMENT= X11 circuit schematics drawing program
|
1998-05-18 06:20:25 +02:00
|
|
|
|
2012-02-20 00:24:58 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
|
2012-06-05 22:39:49 +02:00
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
|
2013-02-09 12:20:31 +01:00
|
|
|
USE_XORG= xpm xscrnsaver xt
|
2008-11-14 18:41:30 +01:00
|
|
|
USE_TCL= 85
|
|
|
|
USE_TCL_BUILD= 85
|
|
|
|
USE_TK= 85
|
|
|
|
USE_TK_BUILD= 85
|
2004-04-02 21:00:08 +02:00
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
2003-06-05 20:31:50 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-02-01 03:11:16 +01:00
|
|
|
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
|
|
|
|
--with-tk=${TK_LIBDIR}
|
2009-11-12 11:52:28 +01:00
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
|
|
|
|
AUTOMAKE="${TRUE}"
|
2012-02-20 00:24:58 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2005-06-27 04:46:59 +02:00
|
|
|
|
2006-02-01 03:11:16 +01:00
|
|
|
MAN1= xcircuit.1
|
1998-09-16 04:25:06 +02:00
|
|
|
|
2012-06-05 22:39:49 +02:00
|
|
|
DESKTOP_ENTRIES="Xcircuit" "${COMMENT}" "${DATADIR}/pixmaps/xcircuit.gif" \
|
|
|
|
"${PORTNAME}" "" "false"
|
|
|
|
|
2011-07-02 18:09:04 +02:00
|
|
|
# Restrict to stable (odd) versions, indicated by the second component.
|
|
|
|
PORTSCOUT= limitw:1,odd
|
2009-11-12 11:52:28 +01:00
|
|
|
|
2012-06-05 22:39:49 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2006-06-05 13:13:35 +02:00
|
|
|
|
2001-02-14 13:41:38 +01:00
|
|
|
post-patch:
|
2005-06-27 04:46:59 +02:00
|
|
|
@${REINPLACE_CMD} -e '/test/s| == | = |g ; \
|
2006-02-01 03:11:16 +01:00
|
|
|
s|TCL_LIB_NAME=.*$$|TCL_LIB_NAME="tcl${TCL_VER:S/.//}"|g ; \
|
|
|
|
s|TK_LIB_NAME=.*$$|TK_LIB_NAME="tk${TK_VER:S/.//}"|g ; \
|
2012-06-05 22:39:49 +02:00
|
|
|
s|wish |${WISH:T} |g ; \
|
|
|
|
s|-fpic|-fPIC|g' ${WRKSRC}/configure
|
2001-10-19 18:02:11 +02:00
|
|
|
|
1998-05-18 06:20:25 +02:00
|
|
|
post-install:
|
2012-06-05 22:39:49 +02:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2003-06-05 20:31:50 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2006-04-12 20:16:43 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/.xcircuitrc ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.lgf ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.lps ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.ps ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.sim ${EXAMPLESDIR}
|
2003-06-05 20:31:50 +02:00
|
|
|
.endif
|
1998-05-18 06:20:25 +02:00
|
|
|
|
2012-06-05 22:39:49 +02:00
|
|
|
.include <bsd.port.mk>
|