diff options
Diffstat (limited to 'cad')
-rw-r--r-- | cad/xcircuit/Makefile | 26 | ||||
-rw-r--r-- | cad/xcircuit/distinfo | 6 |
2 files changed, 18 insertions, 14 deletions
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile index 4527f67412eb..701163d11b4b 100644 --- a/cad/xcircuit/Makefile +++ b/cad/xcircuit/Makefile @@ -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} -USE_BZIP2= yes USE_X_PREFIX= yes USE_XPM= yes USE_TCL= 84 @@ -33,12 +34,15 @@ CFLAGS+= -fPIC 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 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/examples/*.sim ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/cad/xcircuit/distinfo b/cad/xcircuit/distinfo index 16be127d178e..34a9e0afee89 100644 --- a/cad/xcircuit/distinfo +++ b/cad/xcircuit/distinfo @@ -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 |