aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2012-06-06 04:39:49 +0800
committersylvio <sylvio@FreeBSD.org>2012-06-06 04:39:49 +0800
commit28587339e1e96068c26ac0708b25f31315836da8 (patch)
tree205d94219e90379ae54b55fa7504a9ecadb5dbcd /cad
parentf86bc997cf1936d82eab00e6ff015a1d9a79db6d (diff)
downloadfreebsd-ports-gnome-28587339e1e96068c26ac0708b25f31315836da8.tar.gz
freebsd-ports-gnome-28587339e1e96068c26ac0708b25f31315836da8.tar.zst
freebsd-ports-gnome-28587339e1e96068c26ac0708b25f31315836da8.zip
- Update to version 3.7.40
PR: ports/168591 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'cad')
-rw-r--r--cad/xcircuit/Makefile22
-rw-r--r--cad/xcircuit/distinfo4
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