diff options
author | flz <flz@FreeBSD.org> | 2008-03-11 11:20:54 +0000 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2008-03-11 11:20:54 +0000 |
commit | 82c51c0f454f051bef4a939090bf28a57e7000c1 (patch) | |
tree | dabd03a8e8a1d39f92a9d6178c01a77ece8ceda3 /science/cdcl/Makefile | |
parent | 78e98c657473f054c3f86b0eac97c20c914df355 (diff) | |
download | FreeBSD-ports-82c51c0f454f051bef4a939090bf28a57e7000c1.zip FreeBSD-ports-82c51c0f454f051bef4a939090bf28a57e7000c1.tar.gz |
- Update science/cdcl to 5.3.3.
- Remove hardcoded version in packing list.
- Add -fPIC to CFLAGS on amd64.
PR: ports/121284
Submitted by: maintainer
Diffstat (limited to 'science/cdcl/Makefile')
-rw-r--r-- | science/cdcl/Makefile | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/science/cdcl/Makefile b/science/cdcl/Makefile index f6c0d21..44624cd 100644 --- a/science/cdcl/Makefile +++ b/science/cdcl/Makefile @@ -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@ahs.scitec.kobe-u.ac.jp COMMENT= Scientific graphic library for geoscience @@ -22,20 +21,22 @@ USE_GNOME= gtk20 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 @@ DEMOMISC1DIR= bitlib chglib chklib chnlib clcklib datelib fmtlib hexlib \ 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 @@ post-install: .for i in ${DOCFILES} ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/ .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> |