FreeBSD Bugzilla – Attachment 111077 Details for
Bug 152282
New port: lang/dmd Official compiler for D language
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
dmd.shar
dmd.shar (text/plain), 11.86 KB, created by
Ruben
on 2010-11-18 17:55:24 UTC
(
hide
)
Description:
dmd.shar
Filename:
MIME Type:
Creator:
Ruben
Created:
2010-11-18 17:55:24 UTC
Size:
11.86 KB
patch
obsolete
># 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: ># ># dmd ># dmd/Makefile ># dmd/pkg-descr ># dmd/pkg-plist ># dmd/distinfo ># >echo c - dmd >mkdir -p dmd > /dev/null 2>&1 >echo x - dmd/Makefile >sed 's/^X//' >dmd/Makefile << 'bd2245e5a2efb22cb1e55e6c94fb37b4' >X# New ports collection makefile for: dmd >X# Date created: November 15 2010 >X# Whom: Ruben <chromium@hybridsource.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= dmd >XPORTVERSION= 1.065 >XCATEGORIES= lang >XMASTER_SITES= http://ftp.digitalmars.com/ >XDISTNAME= ${PORTNAME}.${PORTVERSION} >X >XMAINTAINER= chromium@hybridsource.org >XCOMMENT= Official compiler for the D 1.0 programming language >X >XNO_PACKAGE= Packages are not validation-tested by the developer >XONLY_FOR_ARCHS= i386 >XUSE_ZIP= yes >XMAN1= dmd.1 >XMAN5= dmd.conf.5 >XPORTDOCS= *.txt html/ phobos/ >XWRKSRC= ${WRKDIR}/${PORTNAME}/src/${PORTNAME} >XLICENSE_COMB= multi >XLICENSE= ART10 ZLIB >XLICENSE_NAME_ZLIB= zlib license >XLICENSE_PERMS_ZLIB= ${_LICENSE_PERMS_DEFAULT} >XLICENSE_FILE_ZLIB= ${WRKSRC}/../phobos/phoboslicense.txt >X >XOPTIONS= SOURCE "Compile dmd and phobos from source" off >X >X.include <bsd.port.pre.mk> >X >XMODULEDIR= ${PREFIX}/include/d/phobos >X >X.if defined(WITH_SOURCE) >XMAKEFILE= freebsd.mak >X.else >XNO_BUILD= yes >XPLIST_FILES= bin/dmd.conf >X.endif >X >Xpost-patch: >X.if defined(WITH_SOURCE) >X @${REINPLACE_CMD} -e "s|gcc|${CC}|" \ >X ${WRKSRC}/../phobos/freebsd.mak \ >X ${WRKSRC}/../phobos/etc/c/zlib/freebsd.mak \ >X ${WRKSRC}/../phobos/internal/gc/freebsd.mak \ >X ${WRKSRC}/freebsd.mak >X @${REINPLACE_CMD} -e "s|g++|${CXX}|" \ >X ${WRKSRC}/../phobos/freebsd.mak \ >X ${WRKSRC}/freebsd.mak >X @${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|" \ >X ${WRKDIR}/dmd/man/man1/dmd.1 \ >X ${WRKDIR}/dmd/man/man1/dmd.conf.5 >X @${REINPLACE_CMD} -e 's|"/etc/"|"${PREFIX}/etc/"|' ${WRKSRC}/inifile.c >X.endif >X @${REINPLACE_CMD} -e "s|%@P%/../../src/phobos|${MODULEDIR}|" ${WRKDIR}/dmd/freebsd/bin/dmd.conf >X @${CP} ${WRKDIR}/dmd/freebsd/bin/dmd.conf ${WRKDIR}/dmd/freebsd/bin/dmd.conf.tango >X @${REINPLACE_CMD} -e "s|phobos|tango -defaultlib=tango -version=freebsd|" ${WRKDIR}/dmd/freebsd/bin/dmd.conf.tango >X @${REINPLACE_CMD} -e "1s|^|# You'll need to recompile libtango.a with dmd and install it yourself.|" ${WRKDIR}/dmd/freebsd/bin/dmd.conf.tango >X @${REINPLACE_CMD} -e "s|%@P%/../lib|${PREFIX}/lib|" \ >X ${WRKDIR}/dmd/freebsd/bin/dmd.conf \ >X ${WRKDIR}/dmd/freebsd/bin/dmd.conf.tango >X >Xpost-build: >X @${REINPLACE_CMD} -e "s| etc/c/zlib/gzio.o||" ${WRKSRC}/../phobos/freebsd.mak >X cd ${WRKSRC}/../phobos && \ >X ${SETENV} PATH=${PATH}:${WRKSRC} ${MAKE} ${MAKE_FLAGS} freebsd.mak >X >Xdo-install: >X ${INSTALL_MAN} ${WRKDIR}/dmd/man/man1/dmd.1 ${MANPREFIX}/man/man1 >X ${INSTALL_MAN} ${WRKDIR}/dmd/man/man1/dmd.conf.5 ${MANPREFIX}/man/man5 >X.if !exists(${PREFIX}/etc/dmd.conf) >X ${INSTALL_DATA} ${WRKDIR}/dmd/freebsd/bin/dmd.conf ${PREFIX}/etc >X.endif >X.if defined(WITH_SOURCE) >X ${INSTALL_PROGRAM} ${WRKSRC}/dmd ${PREFIX}/bin >X ${INSTALL_DATA} ${WRKSRC}/../phobos/libphobos.a ${PREFIX}/lib >X.else >X ${INSTALL_PROGRAM} ${WRKDIR}/dmd/freebsd/bin/dmd ${PREFIX}/bin >X ${LN} -sf ${PREFIX}/etc/dmd.conf ${PREFIX}/bin >X ${INSTALL_DATA} ${WRKDIR}/dmd/freebsd/lib/libphobos.a ${PREFIX}/lib >X.endif >X ${MKDIR} ${EXAMPLESDIR} >X ${INSTALL_DATA} ${WRKDIR}/dmd/freebsd/bin/dmd.conf ${EXAMPLESDIR} >X ${INSTALL_DATA} ${WRKDIR}/dmd/freebsd/bin/dmd.conf.tango ${EXAMPLESDIR} >X cd ${WRKDIR}/dmd && ${COPYTREE_SHARE} samples ${EXAMPLESDIR} >X ${MKDIR} ${MODULEDIR} >X ${INSTALL_DATA} ${WRKSRC}/../phobos/*.d ${MODULEDIR} >X ${MKDIR} ${MODULEDIR}/etc >X ${INSTALL_DATA} ${WRKSRC}/../phobos/etc/gamma.d ${MODULEDIR}/etc >X ${MKDIR} ${MODULEDIR}/etc/c >X ${INSTALL_DATA} ${WRKSRC}/../phobos/etc/c/zlib.d ${MODULEDIR}/etc/c >X cd ${WRKSRC}/../phobos && ${COPYTREE_SHARE} std ${MODULEDIR} >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} >X cd ${WRKDIR}/dmd && ${COPYTREE_SHARE} html ${DOCSDIR} >X ${MKDIR} ${DOCSDIR}/phobos >X ${INSTALL_DATA} ${WRKSRC}/../phobos/phoboslicense.txt ${DOCSDIR}/phobos >X ${INSTALL_DATA} ${WRKSRC}/../phobos/std.ddoc ${DOCSDIR}/phobos >X.endif >X >X.include <bsd.port.post.mk> >bd2245e5a2efb22cb1e55e6c94fb37b4 >echo x - dmd/pkg-descr >sed 's/^X//' >dmd/pkg-descr << '8bee0d985838799e62e9ebc33d1b7261' >XD is a systems programming language. Its focus is on combining the power and >Xhigh performance of C and C++ with the programmer productivity of modern >Xlanguages like Ruby and Python. Special attention is given to the needs of >Xquality assurance, documentation, management, portability and reliability. >X >XThe D language is statically typed and compiles directly to machine code. It's >Xmultiparadigm, supporting many programming styles: imperative, object oriented, >Xand metaprogramming. It's a member of the C syntax family, and its appearance >Xis very similar to that of C++. >X >XIt is not governed by a corporate agenda or any overarching theory of >Xprogramming. The needs and contributions of the D programming community form >Xthe direction it goes. >X >XWWW: http://digitalmars.com/d/1.0/ >8bee0d985838799e62e9ebc33d1b7261 >echo x - dmd/pkg-plist >sed 's/^X//' >dmd/pkg-plist << '9010ef9b097de5db3afbaf97dd8392bf' >Xbin/dmd >X@unexec if cmp -s %D/%%EXAMPLESDIR%%/dmd.conf %D/etc/dmd.conf; then rm -f %D/etc/dmd.conf; fi >X%%EXAMPLESDIR%%/dmd.conf >X@exec if [ ! -f %D/etc/dmd.conf ]; then cp -p %D/%%EXAMPLESDIR%%/dmd.conf %D/etc/dmd.conf; fi >X%%EXAMPLESDIR%%/dmd.conf.tango >X%%EXAMPLESDIR%%/samples/d/all.sh >X%%EXAMPLESDIR%%/samples/d/chello.d >X%%EXAMPLESDIR%%/samples/d/d2html.d >X%%EXAMPLESDIR%%/samples/d/dclient.d >X%%EXAMPLESDIR%%/samples/d/dhry.d >X%%EXAMPLESDIR%%/samples/d/dserver.d >X%%EXAMPLESDIR%%/samples/d/dserver.def >X%%EXAMPLESDIR%%/samples/d/hello.d >X%%EXAMPLESDIR%%/samples/d/hello2.html >X%%EXAMPLESDIR%%/samples/d/htmlget.d >X%%EXAMPLESDIR%%/samples/d/listener.d >X%%EXAMPLESDIR%%/samples/d/mydll/build.bat >X%%EXAMPLESDIR%%/samples/d/mydll/dll.d >X%%EXAMPLESDIR%%/samples/d/mydll/mydll.d >X%%EXAMPLESDIR%%/samples/d/mydll/mydll.def >X%%EXAMPLESDIR%%/samples/d/mydll/mydll2.d >X%%EXAMPLESDIR%%/samples/d/mydll/test.d >X%%EXAMPLESDIR%%/samples/d/pi.d >X%%EXAMPLESDIR%%/samples/d/run.bat >X%%EXAMPLESDIR%%/samples/d/sieve.d >X%%EXAMPLESDIR%%/samples/d/wc.d >X%%EXAMPLESDIR%%/samples/d/wc2.d >X%%EXAMPLESDIR%%/samples/d/winsamp.d >X%%EXAMPLESDIR%%/samples/d/winsamp.def >Xlib/libphobos.a >Xinclude/d/phobos/crc32.d >Xinclude/d/phobos/etc/gamma.d >Xinclude/d/phobos/etc/c/zlib.d >Xinclude/d/phobos/gcstats.d >Xinclude/d/phobos/object.d >Xinclude/d/phobos/phobos.d >Xinclude/d/phobos/std/array.d >Xinclude/d/phobos/std/asserterror.d >Xinclude/d/phobos/std/base64.d >Xinclude/d/phobos/std/bind.d >Xinclude/d/phobos/std/bitarray.d >Xinclude/d/phobos/std/boxer.d >Xinclude/d/phobos/std/c/fenv.d >Xinclude/d/phobos/std/c/freebsd/freebsd.d >Xinclude/d/phobos/std/c/freebsd/math.d >Xinclude/d/phobos/std/c/freebsd/pthread.d >Xinclude/d/phobos/std/c/freebsd/socket.d >Xinclude/d/phobos/std/c/linux/linux.d >Xinclude/d/phobos/std/c/linux/linuxextern.d >Xinclude/d/phobos/std/c/linux/pthread.d >Xinclude/d/phobos/std/c/linux/socket.d >Xinclude/d/phobos/std/c/locale.d >Xinclude/d/phobos/std/c/math.d >Xinclude/d/phobos/std/c/osx/dyld.d >Xinclude/d/phobos/std/c/osx/getsect.d >Xinclude/d/phobos/std/c/osx/loader.d >Xinclude/d/phobos/std/c/osx/osx.d >Xinclude/d/phobos/std/c/posix/posix.d >Xinclude/d/phobos/std/c/posix/pthread.d >Xinclude/d/phobos/std/c/posix/socket.d >Xinclude/d/phobos/std/c/process.d >Xinclude/d/phobos/std/c/solaris/pthread.d >Xinclude/d/phobos/std/c/solaris/socket.d >Xinclude/d/phobos/std/c/solaris/solaris.d >Xinclude/d/phobos/std/c/stdarg.d >Xinclude/d/phobos/std/c/stddef.d >Xinclude/d/phobos/std/c/stdio.d >Xinclude/d/phobos/std/c/stdlib.d >Xinclude/d/phobos/std/c/string.d >Xinclude/d/phobos/std/c/time.d >Xinclude/d/phobos/std/c/windows/com.d >Xinclude/d/phobos/std/c/windows/stat.d >Xinclude/d/phobos/std/c/windows/windows.d >Xinclude/d/phobos/std/c/windows/winsock.d >Xinclude/d/phobos/std/compiler.d >Xinclude/d/phobos/std/conv.d >Xinclude/d/phobos/std/cover.d >Xinclude/d/phobos/std/cpuid.d >Xinclude/d/phobos/std/cstream.d >Xinclude/d/phobos/std/ctype.d >Xinclude/d/phobos/std/date.d >Xinclude/d/phobos/std/dateparse.d >Xinclude/d/phobos/std/demangle.d >Xinclude/d/phobos/std/file.d >Xinclude/d/phobos/std/format.d >Xinclude/d/phobos/std/gc.d >Xinclude/d/phobos/std/intrinsic.d >Xinclude/d/phobos/std/loader.d >Xinclude/d/phobos/std/math.d >Xinclude/d/phobos/std/math2.d >Xinclude/d/phobos/std/md5.d >Xinclude/d/phobos/std/metastrings.d >Xinclude/d/phobos/std/mmfile.d >Xinclude/d/phobos/std/moduleinit.d >Xinclude/d/phobos/std/openrj.d >Xinclude/d/phobos/std/outbuffer.d >Xinclude/d/phobos/std/outofmemory.d >Xinclude/d/phobos/std/path.d >Xinclude/d/phobos/std/perf.d >Xinclude/d/phobos/std/process.d >Xinclude/d/phobos/std/random.d >Xinclude/d/phobos/std/regexp.d >Xinclude/d/phobos/std/signals.d >Xinclude/d/phobos/std/socket.d >Xinclude/d/phobos/std/socketstream.d >Xinclude/d/phobos/std/stdarg.d >Xinclude/d/phobos/std/stdint.d >Xinclude/d/phobos/std/stdio.d >Xinclude/d/phobos/std/stream.d >Xinclude/d/phobos/std/string.d >Xinclude/d/phobos/std/switcherr.d >Xinclude/d/phobos/std/syserror.d >Xinclude/d/phobos/std/system.d >Xinclude/d/phobos/std/thread.d >Xinclude/d/phobos/std/thread_helper.d >Xinclude/d/phobos/std/traits.d >Xinclude/d/phobos/std/typeinfo/ti_AC.d >Xinclude/d/phobos/std/typeinfo/ti_Acdouble.d >Xinclude/d/phobos/std/typeinfo/ti_Acfloat.d >Xinclude/d/phobos/std/typeinfo/ti_Acreal.d >Xinclude/d/phobos/std/typeinfo/ti_Adouble.d >Xinclude/d/phobos/std/typeinfo/ti_Afloat.d >Xinclude/d/phobos/std/typeinfo/ti_Ag.d >Xinclude/d/phobos/std/typeinfo/ti_Aint.d >Xinclude/d/phobos/std/typeinfo/ti_Along.d >Xinclude/d/phobos/std/typeinfo/ti_Areal.d >Xinclude/d/phobos/std/typeinfo/ti_Ashort.d >Xinclude/d/phobos/std/typeinfo/ti_C.d >Xinclude/d/phobos/std/typeinfo/ti_byte.d >Xinclude/d/phobos/std/typeinfo/ti_cdouble.d >Xinclude/d/phobos/std/typeinfo/ti_cfloat.d >Xinclude/d/phobos/std/typeinfo/ti_char.d >Xinclude/d/phobos/std/typeinfo/ti_creal.d >Xinclude/d/phobos/std/typeinfo/ti_dchar.d >Xinclude/d/phobos/std/typeinfo/ti_delegate.d >Xinclude/d/phobos/std/typeinfo/ti_double.d >Xinclude/d/phobos/std/typeinfo/ti_float.d >Xinclude/d/phobos/std/typeinfo/ti_idouble.d >Xinclude/d/phobos/std/typeinfo/ti_ifloat.d >Xinclude/d/phobos/std/typeinfo/ti_int.d >Xinclude/d/phobos/std/typeinfo/ti_ireal.d >Xinclude/d/phobos/std/typeinfo/ti_long.d >Xinclude/d/phobos/std/typeinfo/ti_ptr.d >Xinclude/d/phobos/std/typeinfo/ti_real.d >Xinclude/d/phobos/std/typeinfo/ti_short.d >Xinclude/d/phobos/std/typeinfo/ti_ubyte.d >Xinclude/d/phobos/std/typeinfo/ti_uint.d >Xinclude/d/phobos/std/typeinfo/ti_ulong.d >Xinclude/d/phobos/std/typeinfo/ti_ushort.d >Xinclude/d/phobos/std/typeinfo/ti_void.d >Xinclude/d/phobos/std/typeinfo/ti_wchar.d >Xinclude/d/phobos/std/typetuple.d >Xinclude/d/phobos/std/uni.d >Xinclude/d/phobos/std/uri.d >Xinclude/d/phobos/std/utf.d >Xinclude/d/phobos/std/windows/charset.d >Xinclude/d/phobos/std/windows/iunknown.d >Xinclude/d/phobos/std/windows/registry.d >Xinclude/d/phobos/std/windows/syserror.d >Xinclude/d/phobos/std/zip.d >Xinclude/d/phobos/std/zlib.d >Xinclude/d/phobos/unittest.d >X@dirrm %%EXAMPLESDIR%%/samples/d/mydll >X@dirrm %%EXAMPLESDIR%%/samples/d >X@dirrm %%EXAMPLESDIR%%/samples >X@dirrm %%EXAMPLESDIR%% >X@dirrm include/d/phobos/std/windows >X@dirrm include/d/phobos/std/typeinfo >X@dirrm include/d/phobos/std/c/windows >X@dirrm include/d/phobos/std/c/solaris >X@dirrm include/d/phobos/std/c/posix >X@dirrm include/d/phobos/std/c/osx >X@dirrm include/d/phobos/std/c/linux >X@dirrm include/d/phobos/std/c/freebsd >X@dirrm include/d/phobos/std/c >X@dirrm include/d/phobos/std >X@dirrm include/d/phobos/etc/c >X@dirrm include/d/phobos/etc >X@dirrm include/d/phobos >X@dirrmtry include/d >9010ef9b097de5db3afbaf97dd8392bf >echo x - dmd/distinfo >sed 's/^X//' >dmd/distinfo << '6537d8d824b21cfb5d660ca43b2fc3dc' >XSHA256 (dmd.1.065.zip) = 6e15f96447adbdd8f496253af4d579e98ae95dffe56aab021cccce652e5fcab0 >XSIZE (dmd.1.065.zip) = 8967817 >6537d8d824b21cfb5d660ca43b2fc3dc >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 152282
:
111076
| 111077