2004-05-13 20:51:03 +02:00
|
|
|
PORTNAME= alliance
|
2019-09-28 13:11:14 +02:00
|
|
|
DISTVERSION= 5.1.1
|
2023-04-30 13:09:29 +02:00
|
|
|
PORTREVISION= 5
|
2004-05-13 20:51:03 +02:00
|
|
|
CATEGORIES= cad
|
|
|
|
|
2014-07-23 18:44:27 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-07-09 23:49:35 +02:00
|
|
|
COMMENT= Complete set of CAD tools and libraries for VLSI design
|
2022-11-20 16:33:34 +01:00
|
|
|
WWW= http://coriolis.lip6.fr/
|
2004-05-13 20:51:03 +02:00
|
|
|
|
2014-08-30 18:41:04 +02:00
|
|
|
LICENSE= Alliance
|
|
|
|
LICENSE_NAME= Alliance VLSI Cad System License
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
2014-02-12 21:42:58 +01:00
|
|
|
|
2021-06-05 18:23:52 +02:00
|
|
|
BROKEN_aarch64= fails to link: collect2: error: ld returned 1 exit status
|
2017-05-01 21:24:00 +02:00
|
|
|
|
2021-10-30 20:08:16 +02:00
|
|
|
BUILD_DEPENDS= fig2dev:print/fig2dev
|
2004-05-13 20:51:03 +02:00
|
|
|
|
2022-11-20 16:33:34 +01:00
|
|
|
USE_GITLAB= yes
|
|
|
|
GL_SITE= https://gitlab.lip6.fr
|
|
|
|
GL_ACCOUNT= vlsi-eda
|
2023-07-12 14:13:03 +02:00
|
|
|
GL_TAGNAME= ebece102e15c110fc79f1da50524c68fd9523f0c
|
2022-11-20 16:33:34 +01:00
|
|
|
|
2022-12-19 15:35:46 +01:00
|
|
|
USES= autoreconf:build gmake libtool magick:build motif tar:bz2 tex xorg
|
2020-07-26 22:16:11 +02:00
|
|
|
USE_GCC= yes
|
2019-09-28 13:11:14 +02:00
|
|
|
USE_TEX= dvipsk:build latex:build
|
2019-09-30 20:21:18 +02:00
|
|
|
USE_XORG= ice sm x11 xext xt
|
2019-09-28 13:11:14 +02:00
|
|
|
|
2004-05-13 20:51:03 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2020-07-14 03:39:42 +02:00
|
|
|
CONFIGURE_ENV+= ALLIANCE_TOP=${ALLIANCE_TOP} YACC=${YACC}
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \
|
2022-11-20 16:33:34 +01:00
|
|
|
--prefix=${ALLIANCE_TOP} \
|
|
|
|
--enable-alc-shared \
|
|
|
|
--enable-shared
|
|
|
|
USE_LDCONFIG= ${ALLIANCE_TOP}/lib
|
2005-09-11 00:04:52 +02:00
|
|
|
|
2014-08-30 18:41:04 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2019-09-28 13:11:14 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2020-07-26 22:16:11 +02:00
|
|
|
CFLAGS+= -fcommon
|
2019-09-28 13:11:14 +02:00
|
|
|
|
2022-02-06 19:36:07 +01:00
|
|
|
CONFLICTS_INSTALL= ocp publib
|
2019-09-28 13:11:14 +02:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
2022-11-20 16:33:34 +01:00
|
|
|
WRKSRC_SUBDIR= alliance/src
|
2019-09-28 13:11:14 +02:00
|
|
|
|
|
|
|
ALLIANCE_TOP= ${PREFIX}/alliance
|
2004-05-13 20:51:03 +02:00
|
|
|
|
2022-11-20 16:33:34 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${REINPLACE_CMD} -e '/include <malloc.h>/d' \
|
2014-08-30 18:41:04 +02:00
|
|
|
${WRKSRC}/xgra/src/XSB_parse.c
|
2021-11-26 07:31:58 +01:00
|
|
|
# Recursive make commands should always use the variable MAKE, not the
|
|
|
|
# explicit command name `make' (see the GNU make manual, section 5.7.1)
|
2022-11-20 16:33:34 +01:00
|
|
|
${REINPLACE_CMD} -e 's/; make/; $$(MAKE)/' \
|
2019-09-28 13:11:14 +02:00
|
|
|
${WRKSRC}/documentation/Makefile.am \
|
|
|
|
${WRKSRC}/documentation/alliance-examples/Makefile \
|
|
|
|
${WRKSRC}/documentation/tutorials/Makefile.am
|
2022-11-20 16:33:34 +01:00
|
|
|
${RM} ${WRKSRC}/documentation/tutorials/Makefile.am.bak \
|
|
|
|
${WRKSRC}/documentation/alliance-examples/Makefile.bak
|
|
|
|
cd ${WRKSRC} && ./autostuff
|
2019-09-28 13:11:14 +02:00
|
|
|
|
2022-11-20 16:33:34 +01:00
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${ALLIANCE_TOP}/tutorials
|
|
|
|
(cd ${WRKSRC}/documentation/tutorials && \
|
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${ALLIANCE_TOP}/tutorials)
|
|
|
|
|
|
|
|
post-install-EXAMPLES-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${ALLIANCE_TOP}/examples
|
|
|
|
(cd ${WRKSRC}/documentation/alliance-examples && \
|
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${ALLIANCE_TOP}/examples)
|
2009-12-06 17:20:56 +01:00
|
|
|
|
2014-08-30 18:41:04 +02:00
|
|
|
.include <bsd.port.mk>
|