1998-05-18 06:20:25 +02:00
|
|
|
# New ports collection makefile for: xcircuit
|
|
|
|
# Date created: 3 Apr 1998
|
2008-11-14 18:41:30 +01:00
|
|
|
# Whom: Pedro F. Giffuni
|
1998-05-18 06:20:25 +02:00
|
|
|
#
|
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
|
2011-07-02 18:09:04 +02:00
|
|
|
PORTVERSION= 3.7.26
|
2001-08-31 15:44:41 +02:00
|
|
|
PORTEPOCH= 1
|
1998-11-21 08:27:41 +01:00
|
|
|
CATEGORIES= cad
|
2009-11-12 11:52:28 +01:00
|
|
|
MASTER_SITES= http://opencircuitdesign.com/xcircuit/archive/
|
2006-06-05 13:13:35 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-05-18 06:20:25 +02:00
|
|
|
|
2008-11-14 18:41:30 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= An X11 drawing program [especially for circuit schematics]
|
1998-05-18 06:20:25 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm 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}"
|
2005-06-27 04:46:59 +02:00
|
|
|
|
2006-02-01 03:11:16 +01:00
|
|
|
CFLAGS+= -fPIC
|
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
|
|
|
|
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
|
|
|
|
2006-06-05 13:13:35 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
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|-Wl,-Bshareable,-x|-shared -Wl,-x|g ; \
|
|
|
|
s|TCL_LIB_NAME=.*$$|TCL_LIB_NAME="tcl${TCL_VER:S/.//}"|g ; \
|
|
|
|
s|TK_LIB_NAME=.*$$|TK_LIB_NAME="tk${TK_VER:S/.//}"|g ; \
|
|
|
|
s|wish |${WISH:T} |g' ${WRKSRC}/configure
|
2001-10-19 18:02:11 +02:00
|
|
|
|
1998-05-18 06:20:25 +02:00
|
|
|
post-install:
|
2009-11-12 11:52:28 +01:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
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
|
|
|
|
2006-06-05 13:13:35 +02:00
|
|
|
.include <bsd.port.post.mk>
|