Bug 97402 - cad/xcircuit: Update 3.4.21 -> 3.4.22; take maintainership
Summary: cad/xcircuit: Update 3.4.21 -> 3.4.22; take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ion-Mihai "IOnut" Tetcu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-17 16:30 UTC by Shaun Amott
Modified: 2006-06-06 12:46 UTC (History)
0 users

See Also:


Attachments
xcircuit.diff (1.56 KB, patch)
2006-05-17 16:30 UTC, Shaun Amott
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Amott 2006-05-17 16:30:19 UTC
- Update xcircuit to 3.4.22
- Add mirror
- Take maintainership

This is a tiny, mostly cosmetic, update.
Comment 1 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-05-17 17:52:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->itetcu

I'll take it.
Comment 2 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-05-18 06:26:52 UTC
Can we please have GHOSTSCRIPT_AFPL as OPTION ?

Thanks,

-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

BOFH excuse #390:
Increased sunspot activity

Comment 3 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-05-18 06:27:09 UTC
State Changed
From-To: open->feedback

Ask for submitter fix.
Comment 4 Shaun Amott 2006-05-18 11:45:46 UTC
On Thu, May 18, 2006 at 08:26:52AM +0300, Ion-Mihai IOnut Tetcu wrote:
> Can we please have GHOSTSCRIPT_AFPL as OPTION ?

As requested:

-----xcircuit.diff begins here-----
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/cad/xcircuit/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile	12 Apr 2006 18:16:42 -0000	1.60
+++ Makefile	18 May 2006 10:43:15 -0000
@@ -6,18 +6,19 @@
 #
 
 PORTNAME=	xcircuit
-PORTVERSION=	3.4.21
+PORTVERSION=	3.4.22
 PORTEPOCH=	1
 CATEGORIES=	cad
-MASTER_SITES=	http://opencircuitdesign.com/xcircuit/archive/
+MASTER_SITES=	http://opencircuitdesign.com/xcircuit/archive/ \
+		http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
+EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	shaun@inerd.com
 COMMENT=	An X11 drawing program [especially for circuit schematics]
 
-BUILD_DEPENDS=	tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${USE_TCL} \
-		wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${USE_TK}
+BUILD_DEPENDS=	tclsh8.4:${PORTSDIR}/lang/tcl84 \
+		wish8.4:${PORTSDIR}/x11-toolkits/tk84
 
-USE_BZIP2=	yes
 USE_X_PREFIX=	yes
 USE_XPM=	yes
 USE_TCL=	84
@@ -33,12 +34,15 @@
 
 MAN1=		xcircuit.1
 
-pre-everything::
-.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "      Define WITH_GHOSTSCRIPT_AFPL=yes to use"
-	@${ECHO_MSG} "      AFPL Postscript interpreter instead of GNU one"
-	@${ECHO_MSG} ""
+OPTIONS=	GHOSTSCRIPT_AFPL "Use AFPL Postscript interpreter" off
+
+.include <bsd.port.pre.mk>
+
+pre-configure:
+.if defined(WITH_GHOSTSCRIPT_AFPL)
+	@${ECHO_MSG} "===>  Using AFPL Postscript interpreter"
+.else
+	@${ECHO_MSG} "===>  Using GNU Postscript interpreter"
 .endif
 
 post-patch:
@@ -58,4 +62,4 @@
 	${INSTALL_DATA} ${WRKSRC}/examples/*.sim ${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/cad/xcircuit/distinfo,v
retrieving revision 1.43
diff -u -r1.43 distinfo
--- distinfo	12 Apr 2006 18:16:43 -0000	1.43
+++ distinfo	18 May 2006 10:43:15 -0000
@@ -1,3 +1,3 @@
-MD5 (xcircuit-3.4.21.tar.bz2) = db08251564ced267fb60c85a201378f8
-SHA256 (xcircuit-3.4.21.tar.bz2) = eb5eb131709e2680ec3a3e323ae0a73aa26c257bb14af6010593188efffb4ab8
-SIZE (xcircuit-3.4.21.tar.bz2) = 884988
+MD5 (xcircuit-3.4.22.tgz) = 22217e6c063f43b3d8e368dc3d7319d6
+SHA256 (xcircuit-3.4.22.tgz) = 86be9788e1b886324f0634961793683823f602a3dc182585d7889b7f7f59a9bd
+SIZE (xcircuit-3.4.22.tgz) = 1056070
-----xcircuit.diff ends here-----

-- 
Shaun Amott [ PGP: 0x6B387A9A ]
    Scientia Est Potentia.
Comment 5 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-05-18 11:51:26 UTC
State Changed
From-To: feedback->open

patch received, thanks
Comment 6 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-05-21 02:34:25 UTC
State Changed
From-To: open->feedback

What's the reason for the change in BUILD_DEPENDS in the last patch ?
Comment 7 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-06-04 19:18:56 UTC
State Changed
From-To: feedback->open

Feedback received
Comment 8 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-06-06 12:46:25 UTC
State Changed
From-To: open->closed

Committed. Thanks!