Index: head/lang/gdc/Makefile =================================================================== --- head/lang/gdc/Makefile (revision 172314) +++ head/lang/gdc/Makefile (revision 172315) @@ -1,124 +1,127 @@ # New ports collection makefile for: D Front End for GCC # Date created: 18 November 2004 # Whom: Masanori OZAWA (ozawa@ongs.co.jp) # # $FreeBSD$ # PORTNAME= gdc PORTVERSION= 0.19 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GCC} \ ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/dgcc/g:S/$/:gdc/g} MASTER_SITE_SUBDIR= ${GCC_MASTER_SITE_SUBDIR} DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}:gdc \ gcc-core-${GCC_VERSIONSTRING}${EXTRACT_SUFX} \ gcc-g++-${GCC_VERSIONSTRING}${EXTRACT_SUFX} MAINTAINER= ozawa@ongs.co.jp COMMENT= D Front End for GCC ONLY_FOR_ARCHS= i386 USE_BISON= yes USE_BZIP2= yes USE_GMAKE= yes -USE_PERL5_BUILD=yes +USE_PERL5= yes SRCDIR= ${WRKDIR}/gcc-${GCC_VERSIONSTRING} WRKSRC= ${WRKDIR}/build PATCH_WRKSRC= ${SRCDIR} GNU_CONFIGURE= yes CONFIGURE_ARGS+=--disable-nls \ --with-system-zlib \ --with-libiconv-prefix=${LOCALBASE} \ --disable-shared \ --enable-languages=c,c++,d CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}\///}/configure PLIST_SUB= GCC_VER=${GCC_VERSION} CONF_TARGET=${CONFIGURE_TARGET} -MAN1= gdc.1 +MAN1= gdc.1 gdmd.1 .ifndef TARGET_GCC TARGET_GCC= 3.4 # default .elif ${TARGET_GCC} != 3.4 && ${TARGET_GCC} != 4.0 .error it cannot be specified as TARGET_GCC other than 3.4 or 4.0 .endif .if ${TARGET_GCC} == 4.0 GCC_VERSION= 4.0.4 GCC_REVISION= 20060720 GCC_VERSIONSTRING= 4.0-${GCC_REVISION} GCC_MASTER_SITE_SUBDIR= snapshots/${GCC_VERSIONSTRING} .else GCC_VERSION= 3.4.6 GCC_VERSIONSTRING= ${GCC_VERSION} GCC_MASTER_SITE_SUBDIR= releases/gcc-${GCC_VERSIONSTRING} .endif GCCDIR= ${SRCDIR}/gcc GDC_INC= ${PREFIX}/include/d/${GCC_VERSION} .include .if ${OSVERSION} < 500039 # GDC required g++ version on the system of 3.x 4.0.1 and later. IGNORE= it is supported on FreeBSD 5.x and later .endif .if ${ARCH} == "amd64" # I hope the GDC will support amd64. CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} .endif pre-fetch: @${ECHO_CMD} @${ECHO_CMD} "=======================================================" @${ECHO_CMD} @${ECHO_CMD} "GDC is built with GCC version '${TARGET_GCC}'." @${ECHO_CMD} @${ECHO_CMD} "You can set 'TARGET_GCC' variable to '3.4' or '4.0'." @${ECHO_CMD} @${ECHO_CMD} "=======================================================" @${ECHO_CMD} post-extract: @${MV} ${WRKDIR}/d ${GCCDIR} post-patch: @(cd ${SRCDIR} && ${SH} ./gcc/d/setup-gcc.sh) @${REINPLACE_CMD} -e \ 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \ ${GCCDIR}/version.c @${REINPLACE_CMD} -e \ 's|^\(gcc_d_include_dir\).*|\1 = ${GDC_INC}|' \ ${GCCDIR}/d/Make-lang.in pre-configure: @(cd ${SRCDIR} && contrib/gcc_update --touch) @${RM} -f ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} post-build: @${ECHO_CMD} @${ECHO_CMD} "=======================================================" @${ECHO_CMD} @${ECHO_CMD} "To test the Phobos run-time library run 'make check'." @${ECHO_CMD} @${ECHO_CMD} "Note that some tests will fail." @${ECHO_CMD} @${ECHO_CMD} "=======================================================" @${ECHO_CMD} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gcc/gdc ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/gcc/cc1d ${PREFIX}/bin + ${INSTALL_SCRIPT} ${GCCDIR}/d/dmd-script ${PREFIX}/bin/gdmd ${INSTALL_MAN} ${GCCDIR}/d/gdc.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${GCCDIR}/d/dmd-script.1 ${PREFIX}/man/man1/gdmd.1 @(cd ${WRKSRC} && ${GMAKE} install-target-libphobos) check: build @(cd ${WRKSRC} && ${GMAKE} check-target-libphobos) .include Property changes on: head/lang/gdc/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.22 \ No newline at end of property +1.23 \ No newline at end of property Index: head/lang/gdc/pkg-plist =================================================================== --- head/lang/gdc/pkg-plist (revision 172314) +++ head/lang/gdc/pkg-plist (revision 172315) @@ -1,171 +1,172 @@ bin/gdc bin/cc1d +bin/gdmd include/d/%%GCC_VER%%/etc/gamma.d include/d/%%GCC_VER%%/etc/c/zlib.d include/d/%%GCC_VER%%/etc/c/zlib/crc32.h include/d/%%GCC_VER%%/etc/c/zlib/deflate.h include/d/%%GCC_VER%%/etc/c/zlib/infblock.h include/d/%%GCC_VER%%/etc/c/zlib/infcodes.h include/d/%%GCC_VER%%/etc/c/zlib/inffast.h include/d/%%GCC_VER%%/etc/c/zlib/inffixed.h include/d/%%GCC_VER%%/etc/c/zlib/inflate.h include/d/%%GCC_VER%%/etc/c/zlib/inftrees.h include/d/%%GCC_VER%%/etc/c/zlib/infutil.h include/d/%%GCC_VER%%/etc/c/zlib/trees.h include/d/%%GCC_VER%%/etc/c/zlib/zconf.h include/d/%%GCC_VER%%/etc/c/zlib/zconf.in.h include/d/%%GCC_VER%%/etc/c/zlib/zlib.h include/d/%%GCC_VER%%/etc/c/zlib/zutil.h include/d/%%GCC_VER%%/gcc/aix_float.h include/d/%%GCC_VER%%/gcc/builtins.d include/d/%%GCC_VER%%/gcc/configext.d include/d/%%GCC_VER%%/gcc/deh.d include/d/%%GCC_VER%%/gcc/fpmath.d include/d/%%GCC_VER%%/gcc/support.d include/d/%%GCC_VER%%/gcc/threadsem.d include/d/%%GCC_VER%%/gcc/unwind.d include/d/%%GCC_VER%%/std/array.d include/d/%%GCC_VER%%/std/asserterror.d include/d/%%GCC_VER%%/std/base64.d include/d/%%GCC_VER%%/std/bitarray.d include/d/%%GCC_VER%%/std/boxer.d include/d/%%GCC_VER%%/std/compiler.d include/d/%%GCC_VER%%/std/conv.d include/d/%%GCC_VER%%/std/cover.d include/d/%%GCC_VER%%/std/cstream.d include/d/%%GCC_VER%%/std/ctype.d include/d/%%GCC_VER%%/std/date.d include/d/%%GCC_VER%%/std/dateparse.d include/d/%%GCC_VER%%/std/demangle.d include/d/%%GCC_VER%%/std/file.d include/d/%%GCC_VER%%/std/format.d include/d/%%GCC_VER%%/std/gc.d include/d/%%GCC_VER%%/std/intrinsic.d include/d/%%GCC_VER%%/std/loader.d include/d/%%GCC_VER%%/std/math.d include/d/%%GCC_VER%%/std/math2.d include/d/%%GCC_VER%%/std/md5.d include/d/%%GCC_VER%%/std/mmfile.d include/d/%%GCC_VER%%/std/moduleinit.d include/d/%%GCC_VER%%/std/openrj.d include/d/%%GCC_VER%%/std/outbuffer.d include/d/%%GCC_VER%%/std/outofmemory.d include/d/%%GCC_VER%%/std/path.d include/d/%%GCC_VER%%/std/perf.d include/d/%%GCC_VER%%/std/process.d include/d/%%GCC_VER%%/std/random.d include/d/%%GCC_VER%%/std/regexp.d include/d/%%GCC_VER%%/std/socket.d include/d/%%GCC_VER%%/std/socketstream.d include/d/%%GCC_VER%%/std/stdarg.d include/d/%%GCC_VER%%/std/stdint.d include/d/%%GCC_VER%%/std/stdio.d include/d/%%GCC_VER%%/std/stream.d include/d/%%GCC_VER%%/std/string.d include/d/%%GCC_VER%%/std/switcherr.d include/d/%%GCC_VER%%/std/syserror.d include/d/%%GCC_VER%%/std/system.d include/d/%%GCC_VER%%/std/thread.d include/d/%%GCC_VER%%/std/uni.d include/d/%%GCC_VER%%/std/uri.d include/d/%%GCC_VER%%/std/utf.d include/d/%%GCC_VER%%/std/zip.d include/d/%%GCC_VER%%/std/zlib.d include/d/%%GCC_VER%%/std/c/dirent.d include/d/%%GCC_VER%%/std/c/fenv.d include/d/%%GCC_VER%%/std/c/math.d include/d/%%GCC_VER%%/std/c/process.d include/d/%%GCC_VER%%/std/c/stdarg.d include/d/%%GCC_VER%%/std/c/stddef.d include/d/%%GCC_VER%%/std/c/stdio.d include/d/%%GCC_VER%%/std/c/stdlib.d include/d/%%GCC_VER%%/std/c/string.d include/d/%%GCC_VER%%/std/c/time.d include/d/%%GCC_VER%%/std/c/darwin/darwin.d include/d/%%GCC_VER%%/std/c/darwin/ldblcompat.d include/d/%%GCC_VER%%/std/c/linux/ldblcompat.d include/d/%%GCC_VER%%/std/c/linux/linux.d include/d/%%GCC_VER%%/std/c/linux/linuxextern.d include/d/%%GCC_VER%%/std/c/linux/socket.d include/d/%%GCC_VER%%/std/c/mach/mach.d include/d/%%GCC_VER%%/std/c/mach/mach_extern.d include/d/%%GCC_VER%%/std/c/skyos/compat.d include/d/%%GCC_VER%%/std/c/skyos/skyos.d include/d/%%GCC_VER%%/std/c/unix/unix.d include/d/%%GCC_VER%%/std/c/windows/com.d include/d/%%GCC_VER%%/std/c/windows/windows.d include/d/%%GCC_VER%%/std/c/windows/winsock.d include/d/%%GCC_VER%%/std/typeinfo/ti_AC.d include/d/%%GCC_VER%%/std/typeinfo/ti_Aa.d include/d/%%GCC_VER%%/std/typeinfo/ti_Abit.d include/d/%%GCC_VER%%/std/typeinfo/ti_Acdouble.d include/d/%%GCC_VER%%/std/typeinfo/ti_Acfloat.d include/d/%%GCC_VER%%/std/typeinfo/ti_Acreal.d include/d/%%GCC_VER%%/std/typeinfo/ti_Adchar.d include/d/%%GCC_VER%%/std/typeinfo/ti_Adouble.d include/d/%%GCC_VER%%/std/typeinfo/ti_Afloat.d include/d/%%GCC_VER%%/std/typeinfo/ti_Ag.d include/d/%%GCC_VER%%/std/typeinfo/ti_Aint.d include/d/%%GCC_VER%%/std/typeinfo/ti_Along.d include/d/%%GCC_VER%%/std/typeinfo/ti_Areal.d include/d/%%GCC_VER%%/std/typeinfo/ti_Ashort.d include/d/%%GCC_VER%%/std/typeinfo/ti_Aubyte.d include/d/%%GCC_VER%%/std/typeinfo/ti_Auint.d include/d/%%GCC_VER%%/std/typeinfo/ti_Aulong.d include/d/%%GCC_VER%%/std/typeinfo/ti_Aushort.d include/d/%%GCC_VER%%/std/typeinfo/ti_Awchar.d include/d/%%GCC_VER%%/std/typeinfo/ti_C.d include/d/%%GCC_VER%%/std/typeinfo/ti_bit.d include/d/%%GCC_VER%%/std/typeinfo/ti_byte.d include/d/%%GCC_VER%%/std/typeinfo/ti_cdouble.d include/d/%%GCC_VER%%/std/typeinfo/ti_cfloat.d include/d/%%GCC_VER%%/std/typeinfo/ti_char.d include/d/%%GCC_VER%%/std/typeinfo/ti_creal.d include/d/%%GCC_VER%%/std/typeinfo/ti_dchar.d include/d/%%GCC_VER%%/std/typeinfo/ti_delegate.d include/d/%%GCC_VER%%/std/typeinfo/ti_double.d include/d/%%GCC_VER%%/std/typeinfo/ti_float.d include/d/%%GCC_VER%%/std/typeinfo/ti_idouble.d include/d/%%GCC_VER%%/std/typeinfo/ti_ifloat.d include/d/%%GCC_VER%%/std/typeinfo/ti_int.d include/d/%%GCC_VER%%/std/typeinfo/ti_ireal.d include/d/%%GCC_VER%%/std/typeinfo/ti_long.d include/d/%%GCC_VER%%/std/typeinfo/ti_ptr.d include/d/%%GCC_VER%%/std/typeinfo/ti_real.d include/d/%%GCC_VER%%/std/typeinfo/ti_short.d include/d/%%GCC_VER%%/std/typeinfo/ti_ubyte.d include/d/%%GCC_VER%%/std/typeinfo/ti_uint.d include/d/%%GCC_VER%%/std/typeinfo/ti_ulong.d include/d/%%GCC_VER%%/std/typeinfo/ti_ushort.d include/d/%%GCC_VER%%/std/typeinfo/ti_void.d include/d/%%GCC_VER%%/std/typeinfo/ti_wchar.d include/d/%%GCC_VER%%/std/windows/charset.d include/d/%%GCC_VER%%/std/windows/iunknown.d include/d/%%GCC_VER%%/std/windows/registry.d include/d/%%GCC_VER%%/std/windows/syserror.d include/d/%%GCC_VER%%/crc32.d include/d/%%GCC_VER%%/gcstats.d include/d/%%GCC_VER%%/object.d include/d/%%GCC_VER%%/%%CONF_TARGET%%/gcc/config.d include/d/%%GCC_VER%%/%%CONF_TARGET%%/gcc/configunix.d include/d/%%GCC_VER%%/%%CONF_TARGET%%/phobos-ver-syms lib/libgphobos.a lib/libgphobos.spec @dirrm include/d/%%GCC_VER%%/etc/c/zlib @dirrm include/d/%%GCC_VER%%/etc/c @dirrm include/d/%%GCC_VER%%/etc @dirrm include/d/%%GCC_VER%%/gcc @dirrm include/d/%%GCC_VER%%/std/c/darwin @dirrm include/d/%%GCC_VER%%/std/c/linux @dirrm include/d/%%GCC_VER%%/std/c/mach @dirrm include/d/%%GCC_VER%%/std/c/skyos @dirrm include/d/%%GCC_VER%%/std/c/unix @dirrm include/d/%%GCC_VER%%/std/c/windows @dirrm include/d/%%GCC_VER%%/std/typeinfo @dirrm include/d/%%GCC_VER%%/std/windows @dirrm include/d/%%GCC_VER%%/std/c @dirrm include/d/%%GCC_VER%%/std @dirrm include/d/%%GCC_VER%%/%%CONF_TARGET%%/gcc @dirrm include/d/%%GCC_VER%%/%%CONF_TARGET%% @dirrm include/d/%%GCC_VER%% @dirrm include/d Property changes on: head/lang/gdc/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.11 \ No newline at end of property +1.12 \ No newline at end of property