freebsd-ports/science/cdcl/Makefile
Mark Linimon bf43557044 For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
2017-11-30 06:13:34 +00:00

52 lines
1.4 KiB
Makefile

# Created by: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
# $FreeBSD$
PORTNAME= cdcl
PORTVERSION= 5.4.8
PORTREVISION= 1
CATEGORIES= science graphics
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/
DISTNAME= dcl-${PORTVERSION}-C
MAINTAINER= murashin@gfd-dennou.org
COMMENT= Scientific graphic library for geoscience
BROKEN_armv6= fails to link: final link failed: Nonrepresentable section on output
BROKEN_armv7= fails to link: final link failed: Nonrepresentable section on output
OPTIONS_DEFINE= DOCS
USES= desthack pkgconfig
USE_XORG= x11 xext
USE_GNOME= gtk20 gdkpixbuf2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-x --enable-shared
PLIST_SUB= DCL_VERSION=${PORTVERSION:S/.//g}
MAKE_JOBS_UNSAFE= yes
BINARIES= cdclcmap cdclclr cdcldate cdcldbs cdclexec cdclfont \
cdclpara cdcltone cdcltrf cdclver
PORTDOCS= CHECK CREDITS HISTORY README
PORTEXAMPLES= *
RESTRICTED= No commercial use
post-configure:
@${REINPLACE_CMD} -e 's|$$(DCLLANG)dcl$$(DCLVERNUM)|$$(DCLLANG)dcl|' ${WRKSRC}/Mkinclude
post-install:
.for i in ${BINARIES}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i}
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>