ports/121284: [maintainer] science/cdcl: update to 5.3.3
Shin'ya Murakami
murakami at ahs.scitec.kobe-u.ac.jp
Sun Mar 2 11:50:01 UTC 2008
>Number: 121284
>Category: ports
>Synopsis: [maintainer] science/cdcl: update to 5.3.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 02 11:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Shin'ya Murakami
>Release: FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD lune.ahs.scitec.kobe-u.ac.jp 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Tue Jan 15 20:39:34 JST 2008 murashin at lune.ahs.scitec.kobe-u.ac.jp:/usr/obj/usr/src/sys/LUNE i386
>Description:
- Update to 5.3.3.
- Remove dependency on version of the sofware from pkg-plist.
- Add -fPIC to CFLAGS on amd64.
>How-To-Repeat:
N/A
>Fix:
--- cdcl.diff begins here ---
diff -urN /usr/ports/science/cdcl/Makefile cdcl/Makefile
--- /usr/ports/science/cdcl/Makefile 2007-05-20 18:53:28.000000000 +0900
+++ cdcl/Makefile 2008-03-02 20:33:17.000000000 +0900
@@ -6,11 +6,10 @@
#
PORTNAME= cdcl
-PORTVERSION= 5.3
-PORTREVISION= 3
+PORTVERSION= 5.3.3
CATEGORIES= science graphics
MASTER_SITES= http://www.gfd-dennou.org/arch/dcl/
-DISTNAME= dcl-5.3-C
+DISTNAME= dcl-${PORTVERSION}-C
MAINTAINER= murakami at ahs.scitec.kobe-u.ac.jp
COMMENT= Scientific graphic library for geoscience
@@ -22,20 +21,22 @@
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} --exec-prefix=${PREFIX} --libdir=${PREFIX}/lb/${PORTNAME}-${PORTVERSION} --with-x
+CONFIGURE_ARGS= --prefix=${PREFIX} --exec-prefix=${PREFIX} --with-x
.if defined(WITHOUT_GTK)
CUNFIGURE_ARGS+= --disable-gtk --disable-gtk2
.endif
-DCL_VERSION= ${PORTVERSION}-C
-PLIST_SUB= DCL_VERSION=${DCL_VERSION}
+PLIST_SUB= DCL_VERSION=${PORTVERSION:S/.//g}
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
BINARIES= cdclcmap cdclclr cdcldate cdcldbs cdclexec cdclfont \
cdclpara cdcltone cdcltrf cdclver
-PSLIBS= dclps2kdraw dclpscat dclpsfix dclpsfont dclpsline \
- dclpsmargin dclpsmerge dclpsnup dclpsrmcm dclpsrot \
- dclpsselect dclpsseparate dclpsunrot
DOCFILES= CHECK CREDITS HISTORY README README_clrmap README_gt2dlib \
README_itr51 README_pslib README_umfmap
DEMODIRS= gokuraku grph1 grph2 math1 math2 misc1 misc2 rakuraku
@@ -49,16 +50,10 @@
misclib randlib timelib
DEMORAKUDIR= color kihon layout map3d miss quick u2d uspack uxyz
-RESTRICTED= "No commercial use"
+RESTRICTED= No commercial use
-pre-build:
- @cd ${WRKSRC}
- @${REINPLACE_CMD} -e 's+dcldbase+dcldbase-${PORTVERSION}-C+' ${WRKSRC}/Mkinclude
- @${REINPLACE_CMD} -e 's+dclps+cdclps+g' ${WRKSRC}/bin/Makefile
- @${REINPLACE_CMD} -e 's+dclps+cdclps+g' ${WRKSRC}/src/env2/pslib/Makefile
-.for i in ${PSLIBS}
- ${MV} ${WRKSRC}/src/env2/pslib/${i} ${WRKSRC}/src/env2/pslib/c${i}
-.endfor
+post-configure:
+ @${REINPLACE_CMD} -e 's|$$(DCLLANG)dcl$$(DCLVERNUM)|$$(DCLLANG)dcl|' ${WRKSRC}/Mkinclude
post-install:
.if !defined(NOPORTDOCS)
@@ -104,4 +99,4 @@
.for i in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/science/cdcl/distinfo cdcl/distinfo
--- /usr/ports/science/cdcl/distinfo 2006-01-25 07:53:00.000000000 +0900
+++ cdcl/distinfo 2008-03-02 09:15:35.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (dcl-5.3-C.tar.gz) = abbf7e26f49ff95af6141ede9293181e
-SHA256 (dcl-5.3-C.tar.gz) = f1f334bbccc10c93db0a2e1b5cee5e97e728df3fd931d07966ff4c178939c261
-SIZE (dcl-5.3-C.tar.gz) = 1052506
+MD5 (dcl-5.3.3-C.tar.gz) = 0418bc26737fe30fd5ce4617b558710f
+SHA256 (dcl-5.3.3-C.tar.gz) = 0b359170658255879ff75baa3b199fb8a7831526baa1d7e68cf32467fc6af73a
+SIZE (dcl-5.3.3-C.tar.gz) = 1093398
diff -urN /usr/ports/science/cdcl/pkg-plist cdcl/pkg-plist
--- /usr/ports/science/cdcl/pkg-plist 2005-02-25 05:14:59.000000000 +0900
+++ cdcl/pkg-plist 2008-03-02 09:15:35.000000000 +0900
@@ -2,7 +2,7 @@
bin/cdclcmap
bin/cdclclr
bin/cdclconfig
-bin/cdclconfig53
+bin/cdclconfig%%DCL_VERSION%%
bin/cdcldate
bin/cdcldbs
bin/cdclexec
@@ -16,6 +16,7 @@
bin/cdclpsmargin
bin/cdclpsmerge
bin/cdclpsnup
+bin/cdclpsrgb2cmyk
bin/cdclpsrmcm
bin/cdclpsrot
bin/cdclpsselect
@@ -27,33 +28,34 @@
bin/crepsl
include/libtinyf2c.h
include/cdcl.h
-lib/dcldbase-%%DCL_VERSION%%/bitmap.x11
-lib/dcldbase-%%DCL_VERSION%%/border_world
-lib/dcldbase-%%DCL_VERSION%%/cl2tnmap
-lib/dcldbase-%%DCL_VERSION%%/cmaplist
-lib/dcldbase-%%DCL_VERSION%%/coast_japan
-lib/dcldbase-%%DCL_VERSION%%/coast_world
-lib/dcldbase-%%DCL_VERSION%%/coast_world_1
-lib/dcldbase-%%DCL_VERSION%%/colormap.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_01.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_02.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_03.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_04.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_05.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_06.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_07.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_08.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_09.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_10.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_11.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_12.x11
-lib/dcldbase-%%DCL_VERSION%%/colormap_13.x11
-lib/dcldbase-%%DCL_VERSION%%/font1u
-lib/dcldbase-%%DCL_VERSION%%/font2u
-lib/dcldbase-%%DCL_VERSION%%/plate_world
-lib/dcldbase-%%DCL_VERSION%%/pref_japan
-lib/dcldbase-%%DCL_VERSION%%/state_usa
-lib/libcdcl53.a
+lib/cdcldbase/bitmap.x11
+lib/cdcldbase/border_world
+lib/cdcldbase/cl2tnmap
+lib/cdcldbase/cmaplist
+lib/cdcldbase/coast_japan
+lib/cdcldbase/coast_world
+lib/cdcldbase/coast_world_1
+lib/cdcldbase/colormap.x11
+lib/cdcldbase/colormap_01.x11
+lib/cdcldbase/colormap_02.x11
+lib/cdcldbase/colormap_03.x11
+lib/cdcldbase/colormap_04.x11
+lib/cdcldbase/colormap_05.x11
+lib/cdcldbase/colormap_06.x11
+lib/cdcldbase/colormap_07.x11
+lib/cdcldbase/colormap_08.x11
+lib/cdcldbase/colormap_09.x11
+lib/cdcldbase/colormap_10.x11
+lib/cdcldbase/colormap_11.x11
+lib/cdcldbase/colormap_12.x11
+lib/cdcldbase/colormap_13.x11
+lib/cdcldbase/colormap_14.x11
+lib/cdcldbase/font1u
+lib/cdcldbase/font2u
+lib/cdcldbase/plate_world
+lib/cdcldbase/pref_japan
+lib/cdcldbase/state_usa
+lib/libcdcl.a
lib/libf2c4dcl.a
%%PORTDOCS%%share/doc/cdcl/CHECK
%%PORTDOCS%%share/doc/cdcl/CREDITS
@@ -117,6 +119,7 @@
%%PORTDOCS%%share/examples/cdcl/grph1/sgpack/sgpk09.c
%%PORTDOCS%%share/examples/cdcl/grph1/sgpack/sgpk10.c
%%PORTDOCS%%share/examples/cdcl/grph1/sgpack/sgtclr.c
+%%PORTDOCS%%share/examples/cdcl/grph1/sgpack/sgtcls.c
%%PORTDOCS%%share/examples/cdcl/grph1/sgpack/sgtone.c
%%PORTDOCS%%share/examples/cdcl/grph1/sgpack/sgtonz.c
%%PORTDOCS%%share/examples/cdcl/grph1/slpack/Makefile
@@ -411,4 +414,4 @@
%%PORTDOCS%%@dirrm share/examples/cdcl/rakuraku/uxyz
%%PORTDOCS%%@dirrm share/examples/cdcl/rakuraku
%%PORTDOCS%%@dirrm share/examples/cdcl
- at dirrm lib/dcldbase-%%DCL_VERSION%%
+ at dirrm lib/cdcldbase
--- cdcl.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list