ports/54555: [new port] devel/gccxml: An XML output extension to GCC
Volker Stolz
stolz at i2.informatik.rwth-aachen.de
Wed Jul 16 21:20:09 UTC 2003
>Number: 54555
>Category: ports
>Synopsis: [new port] devel/gccxml: An XML output extension to GCC
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 16 14:20:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Volker Stolz
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.8-STABLE FreeBSD 4.8-STABLE #5: Mon Jun 23 10:24:06 CEST 2003 root at menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386
>Description:
The purpose of the GCC-XML extension is to generate an XML description
of a C++ program from GCC's internal representation. Since XML is easy
to parse, other development tools will be able to work with C++ programs
without the burden of a complicated C++ parser.
GCC-XML was developed by Brad King at Kitware to be used by CABLE, which
was developed as part of the NLM Insight Segmentation and Registration
Toolkit project.
WWW: http://www.gccxml.org/
>How-To-Repeat:
>Fix:
--- gccxml begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# gccxml
# gccxml/Makefile
# gccxml/distinfo
# gccxml/pkg-plist
# gccxml/pkg-descr
#
echo c - gccxml
mkdir -p gccxml > /dev/null 2>&1
echo x - gccxml/Makefile
sed 's/^X//' >gccxml/Makefile << 'END-of-gccxml/Makefile'
X# New ports collection makefile for: gccxml
X# Date created: 2003-07-16
X# Whom: Volker Stolz <stolz at i2.informatik.rwth-aachen.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gccxml
XPORTVERSION= 0.4.2
XCATEGORIES= devel
XMASTER_SITES= http://www.gccxml.org/files/
XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-cc1plus-304${EXTRACT_SUFX}
X
XMAINTAINER= stolz at i2.informatik.rwth-aachen.de
XCOMMENT= XML output extension to GCC
X
XBUILD_DEPEND= cmake:${PORTSDIR}/devel/cmake
X
X# This one's neat: We have to build things in two subdirectories,
X# but only need to invoke configure in one of them. This means we
X# only have to override the build-stage entirely but can keep the
X# other stages:
X
XCONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME}-cc1plus-304-build
XCONFIGURE_SCRIPT= ../${DISTNAME}-cc1plus-304/configure
XINSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}-build
X
XGNU_CONFIGURE= YES
XCONFIGURE_ARGS= --enable-languages=c++ --without-libstdcxx
X
XMAN1= gccxml.1
X
XPLIST_SUB= PORTVERSION=${PORTVERSION}
X
Xpre-configure:
X ${MKDIR} ${CONFIGURE_WRKSRC}
X ${MKDIR} ${WRKDIR}/${DISTNAME}-build
X cd ${WRKDIR}/${DISTNAME}-build && \
X ${LOCALBASE}/bin/cmake ../${DISTNAME} -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
X
Xdo-build:
X cd ${CONFIGURE_WRKSRC} && ${MAKE}
X cd ${WRKDIR}/${DISTNAME}-build && ${MAKE}
X
Xpost-install:
X ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}-cc1plus-304-build/gcc/cc1plus ${PREFIX}/bin/gccxml_cc1plus
X
X.include <bsd.port.mk>
END-of-gccxml/Makefile
echo x - gccxml/distinfo
sed 's/^X//' >gccxml/distinfo << 'END-of-gccxml/distinfo'
XMD5 (gccxml-0.4.2.tar.gz) = 8b1a05c23cb0ed728bcbd1816198a3ed
XMD5 (gccxml-0.4.2-cc1plus-304.tar.gz) = bb73cf5bc7a895c47c59e2c8bdd90887
END-of-gccxml/distinfo
echo x - gccxml/pkg-plist
sed 's/^X//' >gccxml/pkg-plist << 'END-of-gccxml/pkg-plist'
Xbin/gccxml_cc1plus
Xbin/gccxml
Xshare/gccxml-%%PORTVERSION%%/GccInclude/2_95/std/complext.h
X at dirrm share/gccxml-%%PORTVERSION%%/GccInclude/2_95/std
X at dirrm share/gccxml-%%PORTVERSION%%/GccInclude/2_95
Xshare/gccxml-%%PORTVERSION%%/GccInclude/find_gcc_options
X at dirrm share/gccxml-%%PORTVERSION%%/GccInclude
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/stl_config.h
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/stl_numeric_facets.h
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/exception
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/stl_monetary.h
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/stl_locale.h
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/stl_threads.h
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/gccxml_mpro_internals.h
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/string
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/stddef.h
Xshare/gccxml-%%PORTVERSION%%/MproInclude/7_3/ostream
Xshare/gccxml-%%PORTVERSION%%/MproInclude/find_mpro_options
Xshare/gccxml-%%PORTVERSION%%/gccxml_find_flags
Xshare/doc/gccxml-%%PORTVERSION%%/Copyright.txt
X at dirrm share/doc/gccxml-%%PORTVERSION%%
X at dirrm share/gccxml-%%PORTVERSION%%/MproInclude/7_3
X at dirrm share/gccxml-%%PORTVERSION%%/MproInclude
X at dirrm share/gccxml-%%PORTVERSION%%/
END-of-gccxml/pkg-plist
echo x - gccxml/pkg-descr
sed 's/^X//' >gccxml/pkg-descr << 'END-of-gccxml/pkg-descr'
XThe purpose of the GCC-XML extension is to generate an XML description
Xof a C++ program from GCC's internal representation. Since XML is easy
Xto parse, other development tools will be able to work with C++ programs
Xwithout the burden of a complicated C++ parser.
X
XGCC-XML was developed by Brad King at Kitware to be used by CABLE, which
Xwas developed as part of the NLM Insight Segmentation and Registration
XToolkit project.
X
XWWW: http://www.gccxml.org/
END-of-gccxml/pkg-descr
exit
--- gccxml ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list