aboutsummaryrefslogtreecommitdiffstats
path: root/science/cdcl/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-02-25 04:15:00 +0800
committersem <sem@FreeBSD.org>2005-02-25 04:15:00 +0800
commit93df2f4ca07bb83e4d511da637bcd49059264da1 (patch)
tree271ddc50e04a262721eb15b60083fd899a5ade3a /science/cdcl/Makefile
parent61f6ed734c2d8f3ff0622858b8a440a2a09ed51c (diff)
downloadfreebsd-ports-gnome-93df2f4ca07bb83e4d511da637bcd49059264da1.tar.gz
freebsd-ports-gnome-93df2f4ca07bb83e4d511da637bcd49059264da1.tar.zst
freebsd-ports-gnome-93df2f4ca07bb83e4d511da637bcd49059264da1.zip
science/cdcl -> update to 5.3 and use gtk by default
science/cdcl-gtk -> delete science/ruby-dcl -> update to 1.5 and use gtk by default science/ruby-dcl-gtk -> delete science/ruby-gphys -> update to 0.3.5 and fix dependency science/gave -> update to 1.1.3 and fix dependency PR: ports/76853 Submitted by: maintainer
Diffstat (limited to 'science/cdcl/Makefile')
-rw-r--r--science/cdcl/Makefile45
1 files changed, 31 insertions, 14 deletions
diff --git a/science/cdcl/Makefile b/science/cdcl/Makefile
index a1b79b0df9eb..5b8fb378b689 100644
--- a/science/cdcl/Makefile
+++ b/science/cdcl/Makefile
@@ -6,30 +6,38 @@
#
PORTNAME= cdcl
-PORTVERSION= 5.2.3
+PORTVERSION= 5.3
CATEGORIES= science graphics
MASTER_SITES= http://www.gfd-dennou.org/arch/dcl/
-DISTNAME= dcl-5.2-C.3
+DISTNAME= dcl-5.3-C
-MAINTAINER?= murakami@ahs.scitec.kobe-u.ac.jp
-COMMENT?= Scientific graphic library for geoscience
+MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp
+COMMENT= Scientific graphic library for geoscience
-.if defined(WITH_GTK)
-PKGNAMESUFFIX= -gtk
-PATCH_SITES= http://www-mete.kugi.kyoto-u.ac.jp/seiya/dcl/tarball/
-PATCHFILES= ${DISTNAME}-gtk2-5.patch
-PATCH_DIST_STRIP= -p1
+.if defined(WITHOUT_GTK)
+.else
USE_GNOME= gtk20
.endif
-WRKSRC= ${WRKDIR}/dcl-5.2-C
USE_X_PREFIX= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
-MAKE_ENV= DCLDIR=${WRKDIR}
+CONFIGURE_ARGS= --prefix=${PREFIX} --exec-prefix=${PREFIX} --libdir=${PREFIX}/lb/${PORTNAME}-${PORTVERSION} --with-x
-BINARIES= cdclclr cdcldate cdcldbs cdclexec cdclfont cdclpara \
- cdcltone cdcltrf cdclver
-DOCFILES= CHECK CREDITS HISTORY README
+.if defined(WITHOUT_GTK)
+CUNFIGURE_ARGS+= --disable-gtk --disable-gtk2
+.endif
+
+DCL_VERSION= ${PORTVERSION}-C
+PLIST_SUB= DCL_VERSION=${DCL_VERSION}
+
+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
DEMOGOKUDIR= hop jump layout step u1d u2d
DEMOGRPH1DIR= scpack sgpack slpack
@@ -43,6 +51,15 @@ DEMORAKUDIR= color kihon layout map3d miss quick u2d uspack uxyz
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-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}