aboutsummaryrefslogtreecommitdiff
path: root/science/cdcl/Makefile
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2012-06-14 05:25:29 +0000
committerBeech Rintoul <beech@FreeBSD.org>2012-06-14 05:25:29 +0000
commit077602338f9c262099d18394451f4aadc25803a6 (patch)
treee2b03fdf8c6ae0d5e2f29875e2e59df580389e58 /science/cdcl/Makefile
parentf47e1485b8dfa6fcf7e2a322c4c69da2f90367f7 (diff)
downloadports-077602338f9c262099d18394451f4aadc25803a6.tar.gz
ports-077602338f9c262099d18394451f4aadc25803a6.zip
- update to 5.4.5.
- use gtk by default because WITHOUT_GTK does not work. - use PORTDOCS and PORTEXAMPLES PR: ports/169031 Submitted by: Shin-ya Murakami <murashin@gfd-dennou.org> (maintainer)
Notes
Notes: svn path=/head/; revision=299241
Diffstat (limited to 'science/cdcl/Makefile')
-rw-r--r--science/cdcl/Makefile27
1 files changed, 7 insertions, 20 deletions
diff --git a/science/cdcl/Makefile b/science/cdcl/Makefile
index 41c4e84b5f7e..9e0374030f32 100644
--- a/science/cdcl/Makefile
+++ b/science/cdcl/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= cdcl
-PORTVERSION= 5.3.3
-PORTREVISION= 7
+PORTVERSION= 5.4.5
CATEGORIES= science graphics
MASTER_SITES= http://www.gfd-dennou.org/arch/dcl/ \
http://dennou-h.gfd-dennou.org/arch/dcl/ \
@@ -17,18 +16,10 @@ DISTNAME= dcl-${PORTVERSION}-C
MAINTAINER= murashin@gfd-dennou.org
COMMENT= Scientific graphic library for geoscience
-.if defined(WITHOUT_GTK)
-USE_XORG= x11
-.else
-USE_GNOME= gtk20
-.endif
-
+USE_XORG= x11 xext
+USE_GNOME= gtk20 gdkpixbuf2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} --exec-prefix=${PREFIX} --with-x
-
-.if defined(WITHOUT_GTK)
-CONFIGURE_ARGS+= --disable-gtk --disable-gtk2
-.endif
+CONFIGURE_ARGS= --prefix=${PREFIX} --exec-prefix=${PREFIX} --with-x --enable-shared
PLIST_SUB= DCL_VERSION=${PORTVERSION:S/.//g}
@@ -36,14 +27,10 @@ MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64"
-CFLAGS+= -fPIC
-.endif
-
BINARIES= cdclcmap cdclclr cdcldate cdcldbs cdclexec cdclfont \
cdclpara cdcltone cdcltrf cdclver
-DOCFILES= CHECK CREDITS HISTORY README README_clrmap README_gt2dlib \
- README_itr51 README_pslib README_umfmap
+PORTDOCS= CHECK CREDITS HISTORY README
+PORTEXAMPLES= *
RESTRICTED= No commercial use
@@ -60,7 +47,7 @@ post-install:
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for i in ${DOCFILES}
+.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif