Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2011 03:06:29 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/158472: Update port: graphics/epix to 1.2.8
Message-ID:  <20110630030629.4ef0b1fe.tkato432@yahoo.com>
Resent-Message-ID: <201106291830.p5TIUCQ9009091@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         158472
>Category:       ports
>Synopsis:       Update port: graphics/epix to 1.2.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 29 18:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.8

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/epix/Makefile graphics/epix/Makefile
--- /usr/ports/graphics/epix/Makefile	2011-05-03 00:51:08.000000000 +0900
+++ graphics/epix/Makefile	2011-06-29 15:30:19.000000000 +0900
@@ -7,27 +7,50 @@
 #
 
 PORTNAME=	epix
-PORTVERSION=	1.2.7
-PORTREVISION=	2
+PORTVERSION=	1.2.8
 CATEGORIES=	graphics
 MASTER_SITES=	http://mathcs.holycross.edu/~ahwang/epix/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Creates math plots and line figures using easy-to-learn syntax
 
-BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
-		dvips:${PORTSDIR}/print/dvipsk-tetex \
-		latex:${PORTSDIR}/print/teTeX
-RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
-		latex:${PORTSDIR}/print/teTeX
+BUILD_DEPENDS=	dvips:${PORTSDIR}/print/dvipsk-tetex \
+		latex-pgf>=0:${PORTSDIR}/print/latex-pgf \
+		latex:${PORTSDIR}/print/teTeX-base \
+		bash:${PORTSDIR}/shells/bash
+RUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX-base \
+		bash:${PORTSDIR}/shells/bash
+
+LICENSE=	GPLv2 GPLv3
+LICENSE_COMB=	dual
 
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-HAS_CONFIGURE=	yes
-CONFIGURE_ARGS+=--prefix="${PREFIX}" --mandir="${PREFIX}/man" \
-		--infodir="${PREFIX}/info" --with-bash=${LOCALBASE}/bin/bash
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-bash=${LOCALBASE}/bin/bash \
+		--with-runtime=${CXX}
 
 MAN1=		elaps.1 epix.1 flix.1 laps.1
 INFO=		epix
 
+post-patch:
+	@${REINPLACE_CMD} -e '/^install-data-am:/s|install-data-local||' \
+		${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/^install-data-am:/s|install-docDATA||' \
+		${WRKSRC}/doc/Makefile.in
+	@${REINPLACE_CMD} -e '/usepackage/s|pstricks,xcolor|pstricks,tikz,xcolor|' \
+		${WRKSRC}/doc/manual.tex
+	@${REINPLACE_CMD} -e '/^install-data-am:/s|install-docDATA||' \
+		${WRKSRC}/samples/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
+		${MAKEFILE} ${MAKE_ARGS} install-data-local)
+	@(cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
+		${MAKEFILE} ${MAKE_ARGS} install-docDATA)
+	@(cd ${WRKSRC}/samples && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
+		${MAKEFILE} ${MAKE_ARGS} install-docDATA)
+.endif
+
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/epix/distinfo graphics/epix/distinfo
--- /usr/ports/graphics/epix/distinfo	2010-05-26 15:29:44.000000000 +0900
+++ graphics/epix/distinfo	2011-06-26 13:34:45.000000000 +0900
@@ -1,3 +1,2 @@
-MD5 (epix-1.2.7.tar.bz2) = bbd83e83148f572dc64d3c737ceaa49b
-SHA256 (epix-1.2.7.tar.bz2) = b114393fd7b1457b280b66ed9ea75ce795e6c54159803ce186d573fbbf028880
-SIZE (epix-1.2.7.tar.bz2) = 494954
+SHA256 (epix-1.2.8.tar.bz2) = 8d8f2b5360f6c2ec28c9b2428ba8c56047b9f2ce1272012edc7b5ee91cd82021
+SIZE (epix-1.2.8.tar.bz2) = 493856
diff -urN /usr/ports/graphics/epix/pkg-descr graphics/epix/pkg-descr
--- /usr/ports/graphics/epix/pkg-descr	2002-09-05 14:45:54.000000000 +0900
+++ graphics/epix/pkg-descr	2011-06-29 15:29:30.000000000 +0900
@@ -6,4 +6,4 @@
 necessary. However, for most visual tweaking it is easier and safer to change
 the source and re-run ePiX.
 
-WWW: http://mathcs.holycross.edu/~ahwang/current/ePiX.html
+WWW: http://mathcs.holycross.edu/~ahwang/epix/ePiX.html
diff -urN /usr/ports/graphics/epix/pkg-plist graphics/epix/pkg-plist
--- /usr/ports/graphics/epix/pkg-plist	2010-05-26 15:29:44.000000000 +0900
+++ graphics/epix/pkg-plist	2011-06-26 17:39:25.000000000 +0900
@@ -90,24 +90,24 @@
 include/epix/verbatim.h
 lib/epix/epix-lib.sh
 lib/epix/libepix.a
-%%DOCSDIR%%/config/bash_completions
-%%DOCSDIR%%/config/epix.el
-%%DOCSDIR%%/manual.pdf.gz
-%%DOCSDIR%%/manual.ps.gz
-%%DOCSDIR%%/manual_src.tar.gz
-%%DOCSDIR%%/notes/AUTHORS
-%%DOCSDIR%%/notes/BUGS
-%%DOCSDIR%%/notes/COPYING
-%%DOCSDIR%%/notes/ChangeLog
-%%DOCSDIR%%/notes/INSTALL
-%%DOCSDIR%%/notes/NEWS
-%%DOCSDIR%%/notes/POST-INSTALL
-%%DOCSDIR%%/notes/README
-%%DOCSDIR%%/notes/THANKS
-%%DOCSDIR%%/notes/VERSION
-%%DOCSDIR%%/sample_src.tar.gz
-@dirrm %%DOCSDIR%%/notes
-@dirrm %%DOCSDIR%%/config
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/config/bash_completions
+%%PORTDOCS%%%%DOCSDIR%%/config/epix.el
+%%PORTDOCS%%%%DOCSDIR%%/manual.pdf.gz
+%%PORTDOCS%%%%DOCSDIR%%/manual.ps.gz
+%%PORTDOCS%%%%DOCSDIR%%/manual_src.tar.gz
+%%PORTDOCS%%%%DOCSDIR%%/notes/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/notes/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/notes/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/notes/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/notes/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/notes/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/notes/POST-INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/notes/README
+%%PORTDOCS%%%%DOCSDIR%%/notes/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/notes/VERSION
+%%PORTDOCS%%%%DOCSDIR%%/sample_src.tar.gz
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/notes
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/config
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm lib/epix
 @dirrm include/epix
>Release-Note:
>Audit-Trail:
>Unformatted:



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