Date: Thu, 18 Nov 2004 22:20:18 +0900 (JST) From: Daichi GOTO <daichi@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: nork@FreeBSD.org Subject: ports/74072: [New Port] lang/gdc D Front End for GCC Message-ID: <200411181320.iAIDKI2T009745@parancell.ongs.co.jp> Resent-Message-ID: <200411181320.iAIDKJmb022375@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74072 >Category: ports >Synopsis: [New Port] lang/gdc D Front End for GCC >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Nov 18 13:20:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Daichi GOTO >Release: FreeBSD 5.3-BETA6 i386 >Organization: ONGS Inc. >Environment: System: FreeBSD parancell.ongs.co.jp 5.3-BETA6 FreeBSD 5.3-BETA6 #0: Tue Sep 28 15:52:53 JST 2004 root@parancell.ongs.co.jp:/usr/obj/usr/src/sys/PARANCELL i386 >Description: New port: lang/gdc D Front End for GCC >How-To-Repeat: >Fix: # 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: # # lang # lang/gdc # lang/gdc/Makefile # lang/gdc/distinfo # lang/gdc/pkg-descr # lang/gdc/pkg-plist # echo c - lang mkdir -p lang > /dev/null 2>&1 echo c - lang/gdc mkdir -p lang/gdc > /dev/null 2>&1 echo x - lang/gdc/Makefile sed 's/^X//' >lang/gdc/Makefile << 'END-of-lang/gdc/Makefile' X# New ports collection makefile for: D Front End for GCC X# Date created: 18 November 2004 X# Whom: Masanori OZAWA (ozawa@ongs.co.jp) X# X# $FreeBSD$ X# X XPORTNAME= gdc XPORTVERSION= 0.8 XCATEGORIES= lang XMASTER_SITES= ${MASTER_SITE_GCC} \ X http://home.earthlink.net/~dvdfrdmn/d/:gdc \ X http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/:boehm XMASTER_SITE_SUBDIR= snapshots/${GCC_VERSIONSTRING} XDISTFILES= ${PORTNAME}-${PORTVERSION}.tar.bz2:gdc \ X gcc-core-${GCC_VERSIONSTRING}.tar.bz2 \ X gcc-g++-${GCC_VERSIONSTRING}.tar.bz2 \ X gc6.3.tar.gz:boehm XEXTRACT_ONLY= gcc-core-${GCC_VERSIONSTRING}.tar.bz2 \ X gcc-g++-${GCC_VERSIONSTRING}.tar.bz2 X XMAINTAINER= daichi@FreeBSD.org XCOMMENT= D Front End for GCC X XBUILD_DEPENDS= gcc34:${PORTSDIR}/lang/gcc34 XRUN_DEPENDS= gcc34:${PORTSDIR}/lang/gcc34 X XONLY_FOR_ARCHS= i386 amd64 alpha X XUSE_GMAKE= yes XUSE_BZIP2= yes X XGCC_VERSION= 3.4.4 XGCC_REVISION= 20041112 XGCC_VERSIONSTRING= 3.4-${GCC_REVISION} X XCC= gcc34 XCXX= g++34 XDFLAGS= -O2 -frelease X X.include <bsd.port.pre.mk> X X.if ${ARCH} == "amd64" XCONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} X.else XCONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} X.endif X XGXX_INC=${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${GCC_VERSION}/include/c++/ X XCONFIGURE_ARGS= --disable-nls --with-system-zlib \ X --with-libiconv-prefix=${PERFIX} --program-suffix=34 \ X --with-gxx-include-dir=${GXX_INC} \ X --disable-shared --prefix=${PREFIX} \ X --enable-languages=c,d,c++ XGNU_CONFIGURE= yes X XWRKSRC= ${WRKDIR}/gcc-${GCC_VERSIONSTRING} XGCCDIR= ${WRKSRC}/gcc XD_DIR= ${GCCDIR}/d XPHOBOSDIR= ${D_DIR}/phobos X X.if ${OSVERSION} < 500000 XIGNORE= "Does not build on 4.X" X.endif X Xpost-extract: X @${TAR} xjf ${DISTDIR}/${PORTNAME}-${PORTVERSION}.tar.bz2 \ X -C ${GCCDIR} X @${RM} ${PHOBOSDIR}/boehm-gc X @${TAR} xzf ${DISTDIR}/gc6.3.tar.gz -C ${PHOBOSDIR} X @${MV} ${PHOBOSDIR}/gc6.3 ${PHOBOSDIR}/boehm-gc X Xpost-patch: X @cd ${GCCDIR} && ${PATCH} -p1 < d/patch-gcc-3.4.x X @echo "++ Patching for d/phobos/boehm-gc ++" X @for _PF in `${LS} ${PORTSDIR}/devel/boehm-gc/files/*` ; \ X do \ X cd ${PHOBOSDIR}/boehm-gc && ${PATCH} < $${_PF}; \ X done X Xdo-install: X ${INSTALL} -o root -g wheel -m 755 ${GCCDIR}/gdc ${PREFIX}/bin/ X @${STRIP_CMD} ${PREFIX}/bin/gdc X ${INSTALL} -o root -g wheel -m 755 ${GCCDIR}/cc1d ${PREFIX}/bin/ X @${STRIP_CMD} ${PREFIX}/bin/cc1d X Xpost-install: X @${MKDIR} ${WRKSRC}/phobos_build X @DFLAGS="${DFLAGS}" cd ${WRKSRC}/phobos_build && \ X ../gcc/d/phobos/configure --prefix=${PREFIX} X @DFLAGS="${DFLAGS}" cd ${WRKSRC}/phobos_build && \ X ${GMAKE} && ${GMAKE} install && ${GMAKE} unittest X X.include <bsd.port.post.mk> END-of-lang/gdc/Makefile echo x - lang/gdc/distinfo sed 's/^X//' >lang/gdc/distinfo << 'END-of-lang/gdc/distinfo' XMD5 (gdc-0.8.tar.bz2) = c3e0d5ba6fc893c599995b9e92886e9b XSIZE (gdc-0.8.tar.bz2) = 769104 XMD5 (gcc-core-3.4-20041112.tar.bz2) = 118372b155a4c0dcdc839537d13f3194 XSIZE (gcc-core-3.4-20041112.tar.bz2) = 10968946 XMD5 (gcc-g++-3.4-20041112.tar.bz2) = 468ba0363174f85ab8edc75c5f6bf0b2 XSIZE (gcc-g++-3.4-20041112.tar.bz2) = 2473835 XMD5 (gc6.3.tar.gz) = 8b37ee18cbeb1dfd1866958e280db871 XSIZE (gc6.3.tar.gz) = 772114 END-of-lang/gdc/distinfo echo x - lang/gdc/pkg-descr sed 's/^X//' >lang/gdc/pkg-descr << 'END-of-lang/gdc/pkg-descr' XD Front End for GCC X XWWW: http://home.earthlink.net/~dvdfrdmn/d/ END-of-lang/gdc/pkg-descr echo x - lang/gdc/pkg-plist sed 's/^X//' >lang/gdc/pkg-plist << 'END-of-lang/gdc/pkg-plist' Xbin/gdc Xbin/cc1d Xinclude/d/unittest.d Xinclude/d/object.d Xinclude/d/gcstats.d Xinclude/d/crc32.d Xinclude/d/etc/c/recls/win32.mak Xinclude/d/etc/c/recls/recls.h Xinclude/d/etc/c/recls/recls.lib Xinclude/d/etc/c/recls/recls_api.cpp Xinclude/d/etc/c/recls/recls_api_unix.cpp Xinclude/d/etc/c/recls/recls_api_win32.cpp Xinclude/d/etc/c/recls/recls_assert.h Xinclude/d/etc/c/recls/recls_compiler.h Xinclude/d/etc/c/recls/recls_compiler_dmc.h Xinclude/d/etc/c/recls/recls_compiler_gcc.h Xinclude/d/etc/c/recls/recls_debug.h Xinclude/d/etc/c/recls/recls_defs.h Xinclude/d/etc/c/recls/recls_fileinfo.cpp Xinclude/d/etc/c/recls/recls_fileinfo_unix.cpp Xinclude/d/etc/c/recls/recls_fileinfo_win32.cpp Xinclude/d/etc/c/recls/recls_internal.cpp Xinclude/d/etc/c/recls/recls_internal.h Xinclude/d/etc/c/recls/recls_language.h Xinclude/d/etc/c/recls/recls_platform.h Xinclude/d/etc/c/recls/recls_platform_types.h Xinclude/d/etc/c/recls/recls_retcodes.h Xinclude/d/etc/c/recls/recls_unix.h Xinclude/d/etc/c/recls/recls_util.cpp Xinclude/d/etc/c/recls/recls_util.h Xinclude/d/etc/c/recls/recls_util_unix.cpp Xinclude/d/etc/c/recls/recls_util_win32.cpp Xinclude/d/etc/c/recls/recls_win32.h Xinclude/d/etc/c/recls/linux.mak Xinclude/d/etc/c/stlsoft/winstl_tls_index.h Xinclude/d/etc/c/stlsoft/stlsoft_cccap_dmc.h Xinclude/d/etc/c/stlsoft/stlsoft_cccap_gcc.h Xinclude/d/etc/c/stlsoft/stlsoft_iterator.h Xinclude/d/etc/c/stlsoft/stlsoft_lock_scope.h Xinclude/d/etc/c/stlsoft/stlsoft_null.h Xinclude/d/etc/c/stlsoft/stlsoft_null_mutex.h Xinclude/d/etc/c/stlsoft/stlsoft_nulldef.h Xinclude/d/etc/c/stlsoft/stlsoft_static_initialisers.h Xinclude/d/etc/c/stlsoft/unixstl.h Xinclude/d/etc/c/stlsoft/unixstl_current_directory.h Xinclude/d/etc/c/stlsoft/unixstl_current_directory_scope.h Xinclude/d/etc/c/stlsoft/unixstl_environment_variable.h Xinclude/d/etc/c/stlsoft/unixstl_filesystem_traits.h Xinclude/d/etc/c/stlsoft/unixstl_findfile_sequence.h Xinclude/d/etc/c/stlsoft/unixstl_functionals.h Xinclude/d/etc/c/stlsoft/unixstl_glob_sequence.h Xinclude/d/etc/c/stlsoft/unixstl_limits.h Xinclude/d/etc/c/stlsoft/unixstl_process_mutex.h Xinclude/d/etc/c/stlsoft/unixstl_readdir_sequence.h Xinclude/d/etc/c/stlsoft/unixstl_spin_mutex.h Xinclude/d/etc/c/stlsoft/unixstl_string_access.h Xinclude/d/etc/c/stlsoft/unixstl_thread_mutex.h Xinclude/d/etc/c/stlsoft/winstl.h Xinclude/d/etc/c/stlsoft/winstl_atomic_functions.h Xinclude/d/etc/c/stlsoft/winstl_filesystem_traits.h Xinclude/d/etc/c/stlsoft/winstl_findfile_sequence.h Xinclude/d/etc/c/stlsoft/winstl_spin_mutex.h Xinclude/d/etc/c/stlsoft/winstl_system_version.h Xinclude/d/etc/c/stlsoft/winstl_thread_mutex.h Xinclude/d/etc/c/stlsoft/stlsoft.h Xinclude/d/etc/c/zlib/zutil.h Xinclude/d/etc/c/zlib/algorithm.txt Xinclude/d/etc/c/zlib/ChangeLog Xinclude/d/etc/c/zlib/compress.c Xinclude/d/etc/c/zlib/crc32.c Xinclude/d/etc/c/zlib/crc32.h Xinclude/d/etc/c/zlib/deflate.c Xinclude/d/etc/c/zlib/deflate.h Xinclude/d/etc/c/zlib/example.c Xinclude/d/etc/c/zlib/FAQ Xinclude/d/etc/c/zlib/gzio.c Xinclude/d/etc/c/zlib/INDEX Xinclude/d/etc/c/zlib/infback.c Xinclude/d/etc/c/zlib/infblock.c Xinclude/d/etc/c/zlib/infblock.h Xinclude/d/etc/c/zlib/infcodes.c Xinclude/d/etc/c/zlib/infcodes.h Xinclude/d/etc/c/zlib/inffast.c Xinclude/d/etc/c/zlib/inffast.h Xinclude/d/etc/c/zlib/inffixed.h Xinclude/d/etc/c/zlib/inflate.c Xinclude/d/etc/c/zlib/inflate.h Xinclude/d/etc/c/zlib/inftrees.c Xinclude/d/etc/c/zlib/inftrees.h Xinclude/d/etc/c/zlib/infutil.c Xinclude/d/etc/c/zlib/infutil.h Xinclude/d/etc/c/zlib/linux.mak Xinclude/d/etc/c/zlib/maketree.c Xinclude/d/etc/c/zlib/minigzip.c Xinclude/d/etc/c/zlib/README Xinclude/d/etc/c/zlib/trees.c Xinclude/d/etc/c/zlib/trees.h Xinclude/d/etc/c/zlib/uncompr.c Xinclude/d/etc/c/zlib/win32.mak Xinclude/d/etc/c/zlib/zconf.h Xinclude/d/etc/c/zlib/zconf.in.h Xinclude/d/etc/c/zlib/zlib.3 Xinclude/d/etc/c/zlib/zlib.h Xinclude/d/etc/c/zlib/zlib.html Xinclude/d/etc/c/zlib/zlib.lib Xinclude/d/etc/c/zlib/zutil.c Xinclude/d/etc/c/zlib/adler32.c Xinclude/d/etc/c/zlib.d Xinclude/d/gcc/unwind.d Xinclude/d/gcc/builtins.d Xinclude/d/gcc/cbridge_fdset.c Xinclude/d/gcc/cbridge_math.c Xinclude/d/gcc/cbridge_stdio.c Xinclude/d/gcc/cbridge_time.c Xinclude/d/gcc/configext.d Xinclude/d/gcc/deh.d Xinclude/d/gcc/gcgcc.d Xinclude/d/gcc/support.d Xinclude/d/gcc/threadsem.d Xinclude/d/gcc/boehm-gc-d_init.c Xinclude/d/gcc/config.d Xinclude/d/gcc/configunix.d Xinclude/d/internal/gc/win32.mak Xinclude/d/internal/gc/gcbits.d Xinclude/d/internal/gc/gclinux.d Xinclude/d/internal/gc/gcx.d Xinclude/d/internal/gc/linux.mak Xinclude/d/internal/gc/testgc.d Xinclude/d/internal/gc/win32.d Xinclude/d/internal/gc/gc.d Xinclude/d/internal/aApply.d Xinclude/d/internal/adi.d Xinclude/d/internal/alloca.d Xinclude/d/internal/arraycast.d Xinclude/d/internal/arraycat.d Xinclude/d/internal/cast.d Xinclude/d/internal/cmath2.d Xinclude/d/internal/complex.c Xinclude/d/internal/critical.c Xinclude/d/internal/deh.c Xinclude/d/internal/deh2.d Xinclude/d/internal/dmain2.d Xinclude/d/internal/invariant.d Xinclude/d/internal/llmath.d Xinclude/d/internal/mars.h Xinclude/d/internal/memset.d Xinclude/d/internal/minit.asm Xinclude/d/internal/monitor.c Xinclude/d/internal/obj.d Xinclude/d/internal/object.d Xinclude/d/internal/qsort.d Xinclude/d/internal/aaA.d Xinclude/d/internal/switch.d Xinclude/d/std/windows/iunknown.d Xinclude/d/std/windows/registry.d Xinclude/d/std/c/mach/mach.d Xinclude/d/std/c/mach/mach_extern.d Xinclude/d/std/c/darwin/darwin.d Xinclude/d/std/c/linux/linux.d Xinclude/d/std/c/linux/linuxextern.d Xinclude/d/std/c/windows/com.d Xinclude/d/std/c/windows/windows.d Xinclude/d/std/c/dirent.d Xinclude/d/std/c/process.d Xinclude/d/std/c/stdarg.d Xinclude/d/std/c/stdio.d Xinclude/d/std/c/stdlib.d Xinclude/d/std/c/time.d Xinclude/d/std/c/unix.d Xinclude/d/std/c/math.d Xinclude/d/std/typeinfo/ti_wchar.d Xinclude/d/std/typeinfo/ti_AC.d Xinclude/d/std/typeinfo/ti_Adchar.d Xinclude/d/std/typeinfo/ti_Ag.d Xinclude/d/std/typeinfo/ti_Aint.d Xinclude/d/std/typeinfo/ti_Along.d Xinclude/d/std/typeinfo/ti_Ashort.d Xinclude/d/std/typeinfo/ti_Aubyte.d Xinclude/d/std/typeinfo/ti_Auint.d Xinclude/d/std/typeinfo/ti_Aulong.d Xinclude/d/std/typeinfo/ti_Aushort.d Xinclude/d/std/typeinfo/ti_Awchar.d Xinclude/d/std/typeinfo/ti_bit.d Xinclude/d/std/typeinfo/ti_byte.d Xinclude/d/std/typeinfo/ti_C.d Xinclude/d/std/typeinfo/ti_cdouble.d Xinclude/d/std/typeinfo/ti_cfloat.d Xinclude/d/std/typeinfo/ti_char.d Xinclude/d/std/typeinfo/ti_creal.d Xinclude/d/std/typeinfo/ti_dchar.d Xinclude/d/std/typeinfo/ti_delegate.d Xinclude/d/std/typeinfo/ti_double.d Xinclude/d/std/typeinfo/ti_float.d Xinclude/d/std/typeinfo/ti_idouble.d Xinclude/d/std/typeinfo/ti_ifloat.d Xinclude/d/std/typeinfo/ti_int.d Xinclude/d/std/typeinfo/ti_ireal.d Xinclude/d/std/typeinfo/ti_long.d Xinclude/d/std/typeinfo/ti_ptr.d Xinclude/d/std/typeinfo/ti_real.d Xinclude/d/std/typeinfo/ti_short.d Xinclude/d/std/typeinfo/ti_ubyte.d Xinclude/d/std/typeinfo/ti_uint.d Xinclude/d/std/typeinfo/ti_ulong.d Xinclude/d/std/typeinfo/ti_ushort.d Xinclude/d/std/typeinfo/ti_Aa.d Xinclude/d/std/compiler.d Xinclude/d/std/conv.d Xinclude/d/std/ctype.d Xinclude/d/std/date.d Xinclude/d/std/dateparse.d Xinclude/d/std/file.d Xinclude/d/std/format.d Xinclude/d/std/gc.d Xinclude/d/std/intrinsic.d Xinclude/d/std/loader.d Xinclude/d/std/math.d Xinclude/d/std/math2.d Xinclude/d/std/md5.d Xinclude/d/std/mmfile.d Xinclude/d/std/moduleinit.d Xinclude/d/std/outbuffer.d Xinclude/d/std/outofmemory.d Xinclude/d/std/path.d Xinclude/d/std/perf.d Xinclude/d/std/process.d Xinclude/d/std/random.d Xinclude/d/std/recls.d Xinclude/d/std/regexp.d Xinclude/d/std/stdio.d Xinclude/d/std/socket.d Xinclude/d/std/socketstream.d Xinclude/d/std/stdarg.d Xinclude/d/std/stdint.d Xinclude/d/std/stream.d Xinclude/d/std/string.d Xinclude/d/std/switcherr.d Xinclude/d/std/syserror.d Xinclude/d/std/system.d Xinclude/d/std/thread.d Xinclude/d/std/uri.d Xinclude/d/std/utf.d Xinclude/d/std/zip.d Xinclude/d/std/array.d Xinclude/d/std/zlib.d Xinclude/d/std/asserterror.d Xinclude/d/std/base64.d Xinclude/d/phobos-ver-syms X@dirrm include/d/etc/c/recls X@dirrm include/d/etc/c/stlsoft X@dirrm include/d/etc/c/zlib X@dirrm include/d/etc/c X@dirrm include/d/etc X@dirrm include/d/gcc X@dirrm include/d/internal/gc X@dirrm include/d/internal X@dirrm include/d/std/windows X@dirrm include/d/std/c/mach X@dirrm include/d/std/c/darwin X@dirrm include/d/std/c/linux X@dirrm include/d/std/c/windows X@dirrm include/d/std/c X@dirrm include/d/std/typeinfo X@dirrm include/d/std X@dirrm include/d/ Xlib/libphobos.a Xlib/libphobos.spec END-of-lang/gdc/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411181320.iAIDKI2T009745>