Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 19:09:12 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328306 - head/cad/xcircuit
Message-ID:  <201309251909.r8PJ9Cin070475@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Wed Sep 25 19:09:12 2013
New Revision: 328306
URL: http://svnweb.freebsd.org/changeset/ports/328306

Log:
  - Update from 3.7.51 to 3.7.52
  - Change maintainer email to @FreeBSD.org
  - Convert USE_{GMAKE,TCL,TK} to USES
  - Add staging support
  
  Approved by:	wg (mentor)

Modified:
  head/cad/xcircuit/Makefile
  head/cad/xcircuit/distinfo
  head/cad/xcircuit/pkg-plist   (contents, props changed)

Modified: head/cad/xcircuit/Makefile
==============================================================================
--- head/cad/xcircuit/Makefile	Wed Sep 25 19:09:05 2013	(r328305)
+++ head/cad/xcircuit/Makefile	Wed Sep 25 19:09:12 2013	(r328306)
@@ -2,45 +2,35 @@
 # $FreeBSD$
 
 PORTNAME=	xcircuit
-PORTVERSION=	3.7.51
+PORTVERSION=	3.7.52
 PORTEPOCH=	1
 CATEGORIES=	cad
 MASTER_SITES=	http://opencircuitdesign.com/xcircuit/archive/ \
 		http://fossies.org/unix/misc/
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	danilogondolfo@gmail.com
+MAINTAINER=	danilo@FreeBSD.org
 COMMENT=	X11 circuit schematics drawing program
 
 LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
 OPTIONS_DEFINE=	EXAMPLES
 
 USE_XORG=	xpm xscrnsaver xt
-USE_TCL=	85
-USE_TCL_BUILD=	85
-USE_TK=		85
-USE_TK_BUILD=	85
+USES=	tk gmake
 USE_GHOSTSCRIPT_RUN=	yes
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} \
 		--with-tk=${TK_LIBDIR}
 MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
 		AUTOMAKE="${TRUE}"
 
-MAN1=		xcircuit.1
-
-DESKTOP_ENTRIES="Xcircuit" "${COMMENT}" "${DATADIR}/pixmaps/xcircuit.gif" \
+DESKTOP_ENTRIES="Xcircuit" "${COMMENT}" "${DATADIR}/pixmaps/${PORTNAME}.gif" \
 		"${PORTNAME}" "" "false"
 
 # Restrict to stable (odd) versions, indicated by the second component.
 PORTSCOUT=	limitw:1,odd
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e '/test/s| == | = |g ; \
 		 s|TCL_LIB_NAME=.*$$|TCL_LIB_NAME="tcl${TCL_VER:S/.//}"|g ; \
@@ -49,13 +39,11 @@ post-patch:
 		 s|-fpic|-fPIC|g' ${WRKSRC}/configure
 
 post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	${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}
-.endif
+	@${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/.xcircuitrc ${STAGEDIR}/${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.lgf ${STAGEDIR}/${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.lps ${STAGEDIR}/${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.ps ${STAGEDIR}/${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.sim ${STAGEDIR}/${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/cad/xcircuit/distinfo
==============================================================================
--- head/cad/xcircuit/distinfo	Wed Sep 25 19:09:05 2013	(r328305)
+++ head/cad/xcircuit/distinfo	Wed Sep 25 19:09:12 2013	(r328306)
@@ -1,2 +1,2 @@
-SHA256 (xcircuit-3.7.51.tgz) = f83c068bcc0e1391cd2f0a6d94ef2deb8b1692acaaf54a7272ee75eaec2d025c
-SIZE (xcircuit-3.7.51.tgz) = 1649228
+SHA256 (xcircuit-3.7.52.tgz) = 5dcc62c3253ef9dadb36431ed95dd681d42d4cfffaa11c5031e4c4610884d6ff
+SIZE (xcircuit-3.7.52.tgz) = 1649240

Modified: head/cad/xcircuit/pkg-plist
==============================================================================
--- head/cad/xcircuit/pkg-plist	Wed Sep 25 19:09:05 2013	(r328305)
+++ head/cad/xcircuit/pkg-plist	Wed Sep 25 19:09:12 2013	(r328306)
@@ -1,6 +1,6 @@
-@comment $FreeBSD$
 bin/xcircuit
 lib/X11/app-defaults/XCircuit
+man/man1/xcircuit.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/.xcircuitrc
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/FlareLED.ps
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/USAflag.ps
@@ -136,7 +136,7 @@ lib/X11/app-defaults/XCircuit
 %%DATADIR%%/xcircuit.so
 %%DATADIR%%/xcircuit.tcl
 %%DATADIR%%/xcstartup.tcl
-@dirrm %%DATADIR%%/pixmaps
-@dirrm %%DATADIR%%/fonts
-@dirrm %%DATADIR%%
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+@dirrmtry %%DATADIR%%/pixmaps
+@dirrmtry %%DATADIR%%/fonts
+@dirrmtry %%DATADIR%%
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309251909.r8PJ9Cin070475>