diff options
author | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2012-06-05 20:39:49 +0000 |
---|---|---|
committer | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2012-06-05 20:39:49 +0000 |
commit | 685b1e3178724ca0d1071381127c044bfb370915 (patch) | |
tree | 78a1004866404d04a144fd03d1290675f3ae6a56 /cad/xcircuit | |
parent | - Update MASTER_SITES (diff) |
- Update to version 3.7.40
PR: ports/168591
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes:
svn path=/head/; revision=298522
Diffstat (limited to 'cad/xcircuit')
-rw-r--r-- | cad/xcircuit/Makefile | 22 | ||||
-rw-r--r-- | cad/xcircuit/distinfo | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile index 355a313cb85c..56870f24ddad 100644 --- a/cad/xcircuit/Makefile +++ b/cad/xcircuit/Makefile @@ -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> diff --git a/cad/xcircuit/distinfo b/cad/xcircuit/distinfo index 9f8b019a40fb..244e48361424 100644 --- a/cad/xcircuit/distinfo +++ b/cad/xcircuit/distinfo @@ -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 |