2012-12-19 04:01:41 +01:00
|
|
|
# Created by: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
|
2004-02-27 23:35:23 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cdcl
|
2014-05-22 17:46:16 +02:00
|
|
|
PORTVERSION= 5.4.8
|
2004-02-27 23:35:23 +01:00
|
|
|
CATEGORIES= science graphics
|
2008-09-26 11:08:12 +02:00
|
|
|
MASTER_SITES= http://www.gfd-dennou.org/arch/dcl/ \
|
|
|
|
http://dennou-h.gfd-dennou.org/arch/dcl/ \
|
|
|
|
http://dennou-q.gfd-dennou.org/arch/dcl/
|
2008-03-11 12:20:54 +01:00
|
|
|
DISTNAME= dcl-${PORTVERSION}-C
|
2004-02-27 23:35:23 +01:00
|
|
|
|
2008-09-26 11:08:12 +02:00
|
|
|
MAINTAINER= murashin@gfd-dennou.org
|
2005-02-24 21:15:00 +01:00
|
|
|
COMMENT= Scientific graphic library for geoscience
|
2004-02-27 23:35:23 +01:00
|
|
|
|
2014-04-07 17:30:00 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES= desthack pkgconfig
|
2012-12-19 04:01:41 +01:00
|
|
|
USE_XORG= x11 xext
|
2012-06-14 07:25:29 +02:00
|
|
|
USE_GNOME= gtk20 gdkpixbuf2
|
2004-02-27 23:35:23 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-04-07 17:30:00 +02:00
|
|
|
CONFIGURE_ARGS= --with-x --enable-shared
|
2005-02-24 21:15:00 +01:00
|
|
|
|
2008-03-11 12:20:54 +01:00
|
|
|
PLIST_SUB= DCL_VERSION=${PORTVERSION:S/.//g}
|
|
|
|
|
2009-11-18 23:39:55 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2005-02-24 21:15:00 +01:00
|
|
|
BINARIES= cdclcmap cdclclr cdcldate cdcldbs cdclexec cdclfont \
|
|
|
|
cdclpara cdcltone cdcltrf cdclver
|
2012-12-19 04:01:41 +01:00
|
|
|
PORTDOCS= CHECK CREDITS HISTORY README
|
|
|
|
PORTEXAMPLES= *
|
2004-02-27 23:35:23 +01:00
|
|
|
|
2008-03-11 12:20:54 +01:00
|
|
|
RESTRICTED= No commercial use
|
2004-02-27 23:35:23 +01:00
|
|
|
|
2008-03-11 12:20:54 +01:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|$$(DCLLANG)dcl$$(DCLVERNUM)|$$(DCLLANG)dcl|' ${WRKSRC}/Mkinclude
|
2005-02-24 21:15:00 +01:00
|
|
|
|
2004-02-27 23:35:23 +01:00
|
|
|
post-install:
|
|
|
|
.for i in ${BINARIES}
|
2014-04-07 17:30:00 +02:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i}
|
2004-02-27 23:35:23 +01:00
|
|
|
.endfor
|
2014-04-07 17:30:00 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2012-06-14 07:25:29 +02:00
|
|
|
.for i in ${PORTDOCS}
|
2014-04-07 17:30:00 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
|
2004-02-27 23:35:23 +01:00
|
|
|
.endfor
|
2008-09-26 11:08:12 +02:00
|
|
|
|
2014-04-07 17:30:00 +02:00
|
|
|
.include <bsd.port.mk>
|