- Update to version 3.7.40

PR:		ports/168591
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Sylvio Cesar Teixeira 2012-06-05 20:39:49 +00:00
parent cdfad8a937
commit 685b1e3178
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298522
2 changed files with 13 additions and 13 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= xcircuit
PORTVERSION= 3.7.39
PORTREVISION= 1
PORTVERSION= 3.7.40
PORTEPOCH= 1
CATEGORIES= cad
MASTER_SITES= http://opencircuitdesign.com/xcircuit/archive/ \
@ -20,6 +19,8 @@ COMMENT= An X11 drawing program [especially for circuit schematics]
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
OPTIONS_DEFINE= EXAMPLES
USE_XORG= xpm xt
USE_TCL= 85
USE_TCL_BUILD= 85
@ -33,27 +34,26 @@ CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
AUTOMAKE="${TRUE}"
MAKE_JOBS_SAFE= yes
DESKTOP_ENTRIES="Xcircuit" "${COMMENT}" "${DATADIR}/pixmaps/xcircuit.gif" \
"${PORTNAME}" "" "false"
CFLAGS+= -fPIC
MAN1= xcircuit.1
DESKTOP_ENTRIES="Xcircuit" "${COMMENT}" "${DATADIR}/pixmaps/xcircuit.gif" \
"${PORTNAME}" "" "false"
# Restrict to stable (odd) versions, indicated by the second component.
PORTSCOUT= limitw:1,odd
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/test/s| == | = |g ; \
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
s|wish |${WISH:T} |g ; \
s|-fpic|-fPIC|g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTEXAMPLES)
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/.xcircuitrc ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.lgf ${EXAMPLESDIR}
@ -62,4 +62,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/examples/*.sim ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (xcircuit-3.7.39.tgz) = e351dfe0ab8f55b78e4db41ade03b8f27059d01d620d44b6353ad223d84e1af3
SIZE (xcircuit-3.7.39.tgz) = 1507600
SHA256 (xcircuit-3.7.40.tgz) = 4a69da977b13426c62d65eb6d49ec7c6863b4a1c84b58bf26d45b346599d9414
SIZE (xcircuit-3.7.40.tgz) = 1507559