head 1.14; access; symbols pkgsrc-2013Q2:1.14.0.54 pkgsrc-2013Q2-base:1.14 pkgsrc-2012Q4:1.14.0.52 pkgsrc-2012Q4-base:1.14 pkgsrc-2011Q4:1.14.0.50 pkgsrc-2011Q4-base:1.14 pkgsrc-2011Q2:1.14.0.48 pkgsrc-2011Q2-base:1.14 pkgsrc-2009Q4:1.14.0.46 pkgsrc-2009Q4-base:1.14 pkgsrc-2008Q4:1.14.0.44 pkgsrc-2008Q4-base:1.14 pkgsrc-2008Q3:1.14.0.42 pkgsrc-2008Q3-base:1.14 cube-native-xorg:1.14.0.40 cube-native-xorg-base:1.14 pkgsrc-2008Q2:1.14.0.38 pkgsrc-2008Q2-base:1.14 pkgsrc-2008Q1:1.14.0.36 pkgsrc-2008Q1-base:1.14 pkgsrc-2007Q4:1.14.0.34 pkgsrc-2007Q4-base:1.14 pkgsrc-2007Q3:1.14.0.32 pkgsrc-2007Q3-base:1.14 pkgsrc-2007Q2:1.14.0.30 pkgsrc-2007Q2-base:1.14 pkgsrc-2007Q1:1.14.0.28 pkgsrc-2007Q1-base:1.14 pkgsrc-2006Q4:1.14.0.26 pkgsrc-2006Q4-base:1.14 pkgsrc-2006Q3:1.14.0.24 pkgsrc-2006Q3-base:1.14 pkgsrc-2006Q2:1.14.0.22 pkgsrc-2006Q2-base:1.14 pkgsrc-2006Q1:1.14.0.20 pkgsrc-2006Q1-base:1.14 pkgsrc-2005Q4:1.14.0.18 pkgsrc-2005Q4-base:1.14 pkgsrc-2005Q3:1.14.0.16 pkgsrc-2005Q3-base:1.14 pkgsrc-2005Q2:1.14.0.14 pkgsrc-2005Q2-base:1.14 pkgsrc-2005Q1:1.14.0.12 pkgsrc-2005Q1-base:1.14 pkgsrc-2004Q4:1.14.0.10 pkgsrc-2004Q4-base:1.14 pkgsrc-2004Q3:1.14.0.8 pkgsrc-2004Q3-base:1.14 pkgsrc-2004Q2:1.14.0.6 pkgsrc-2004Q2-base:1.14 pkgsrc-2004Q1:1.14.0.4 pkgsrc-2004Q1-base:1.14 pkgsrc-2003Q4:1.14.0.2 pkgsrc-2003Q4-base:1.14 netbsd-1-6-1:1.13.0.2 netbsd-1-6-1-base:1.13 netbsd-1-6:1.12.0.6 netbsd-1-6-RELEASE-base:1.12 pkgviews:1.12.0.2 pkgviews-base:1.12 buildlink2:1.11.0.2 buildlink2-base:1.11 netbsd-1-5-PATCH003:1.11 netbsd-1-5-PATCH001:1.9 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.5 FreeBSD-current-1999-12-09:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.14 date 2003.03.21.22.24.18; author wiz; state dead; branches; next 1.13; 1.13 date 2002.09.29.15.03.19; author wiz; state Exp; branches; next 1.12; 1.12 date 2002.07.04.20.24.40; author wiz; state Exp; branches; next 1.11; 1.11 date 2001.10.26.14.26.26; author agc; state Exp; branches; next 1.10; 1.10 date 2001.09.09.20.36.33; author agc; state Exp; branches; next 1.9; 1.9 date 2001.04.28.23.59.17; author jtb; state Exp; branches; next 1.8; 1.8 date 2001.03.20.09.43.21; author wiz; state Exp; branches; next 1.7; 1.7 date 2001.02.25.04.17.56; author hubertf; state Exp; branches; next 1.6; 1.6 date 2001.02.17.09.07.30; author agc; state Exp; branches; next 1.5; 1.5 date 2000.02.05.19.47.46; author wiz; state Exp; branches; next 1.4; 1.4 date 2000.01.09.01.19.11; author wiz; state Exp; branches; next 1.3; 1.3 date 99.12.09.16.35.18; author agc; state Exp; branches; next 1.2; 1.2 date 99.12.08.15.52.59; author proff; state Exp; branches; next 1.1; 1.1 date 99.12.08.15.48.15; author proff; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.12.08.15.48.15; author proff; state Exp; branches; next ; desc @@ 1.14 log @Renamed sml-nj to smlnj. @ text @# $NetBSD: Makefile,v 1.13 2002/09/29 15:03:19 wiz Exp $ # DISTNAME= boot.${BOX}-unix PKGNAME= sml-nj-${SML_VERSION} CATEGORIES= lang MASTER_SITES= ftp://ftp.research.bell-labs.com/dist/smlnj/working/${SML_VERSION}/ \ ftp://flint.cs.yale.edu/pub/smlnj/working/${SML_VERSION}/ DISTFILES= MLRISC.tgz \ boot.${BOX}-unix.tgz \ ckit.tgz \ cm.tgz \ cml.tgz \ compiler.tgz \ config.tgz \ eXene.tgz \ ml-burg.tgz \ ml-lex.tgz \ ml-nlffi-lib.tgz \ ml-nlffigen.tgz \ ml-yacc.tgz \ runtime.tgz \ smlnj-lib.tgz \ system.tgz MAINTAINER= packages@@netbsd.org HOMEPAGE= http://cm.bell-labs.com/cm/cs/what/smlnj/index.html COMMENT= Popular functional language from Bell Labs SML_VERSION= 110.41 # sml-nj also supports hppa, sparc, ppc, mlrisc & alpha # pkg support for those platforms, and say, solaris-x86 # is left as an (easy) exercise for the reader. ONLY_FOR_PLATFORM= NetBSD-*-i386 SunOS-*-sparc NetBSD-*-sparc # Other mirror sites that generally carry only released versions of SML # ftp://rodin.stanford.edu/pub/smlnj/release/ # ftp://ftp.cl.cam.ac.uk/MIRRORED/smlnj/release/ # ftp://ftp.ntua.gr/pub/lang/smlnj/release/ DIST_SUBDIR= sml-nj-${SML_VERSION} WRKSRC= ${WRKDIR} USE_GMAKE= yes SML_BASE= ${PREFIX}/lib/sml-nj SML_LIBDIR= ${SML_BASE}/lib SML_BINDIR= ${SML_BASE}/bin .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "sparc" BOX= sparc OS= ${LOWER_OPSYS} .elif ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386" BOX= x86 OS= bsd .elif ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc" BOX= sparc OS= bsd .endif PLIST_SUBST+= BOX=${BOX} OS=${OS} # create parent directory for the runtime system pre-extract: ${MKDIR} ${WRKDIR}/src || ${TRUE} # make it easier to patch the runtime system do-extract: ${_PKG_SILENT}${_PKG_DEBUG} \ extract_file="${_DISTDIR}/config.tgz"; export extract_file; \ cd ${WRKDIR}; ${EXTRACT_CMD} ${_PKG_SILENT}${_PKG_DEBUG} \ extract_file="${_DISTDIR}/runtime.tgz"; export extract_file; \ cd ${WRKDIR}/src; ${EXTRACT_CMD} # make symlinks to the dist files post-extract: cd ${WRKDIR} && ${LN} -sf ${_DISTDIR}/* . # The build target needs to run $WRKDIR/config/install.sh do-build: cd ${WRKDIR} && unset PWD && \ FILESDIR="${FILESDIR}" PATCH="${PATCH}" PATCH_ARGS="${PATCH_ARGS}" \ ./config/install.sh # install target # (see ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.38/INSTALL) # 1. create installation directories # 2. copy the ./bin and ./lib directories across # 3. edit scripts to override BIN_DIR and CM_PATHCONFIG # 4. install links to executables in $PREFIX/bin do-install: ${INSTALL_DATA_DIR} ${SML_BASE} (cd ${WRKDIR} && ${PAX} -rw -pam bin lib ${SML_BASE}) .for script in .link-sml .run-sml ml-build ml-makedepend ${RM} -f ${SML_BINDIR}/${script} ${SED} -e "s,^BIN_DIR=.*\$$,BIN_DIR=${SML_BINDIR}," \ -e "s,^exec,CM_PATHCONFIG=${SML_LIBDIR}/pathconfig exec," \ ${WRKDIR}/bin/${script} > ${SML_BINDIR}/${script} ${CHMOD} ${BINMODE} ${SML_BINDIR}/${script} .endfor (cd ${PREFIX}/bin && ${LN} -sf ${SML_BINDIR}/* .) .include "../../mk/bsd.pkg.mk" @ 1.13 log @Update to 110.41, provided by Christopher Richards in PR 18437. Notable changes include an utter plethora of bug fixes (e.g, a memory leak in the garbage collector), and some small added features (e.g. Danvy-style format combinators added to smlnj-lib). Also added are some tools (ml-nlffigen, nowhere) that appeared previously but were not enabled. Moreover, this update also gets rid of the ugly "patch the source at runtime" hack used in previous pkgsrc versions. Thus the jumbo (and ill-named) file/patch-global-names is removed and its contents split into ordinary patch/patch-?? files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2002/07/04 20:24:40 wiz Exp $ @ 1.12 log @Update to 110.38, provided by Chris Richards in pkg/15427. Changes since 110.9.1: * Bug fixes, improvements to generated code, and miscellaneous user-invisible tweaks too numerous to mention. * Autoloaded libraries now load correctly, due to the new `CM_PATHCONFIG' mechanism. Autoloading failed in the package's previous version, despite the best effort of the do-install target. * New commands `ml-build' and `ml-makedepend'. The former automates the process of building standalone heap images, while the latter generates dependencies for traditional makefiles. * Major overhaul of the Compilation Manager (CM). For example, most `sources.cm' files now require including `$/basis.cm', as well as substituting `$/foo.cm' for `foo.cm' wherever `foo.cm' refers to an autoloaded library bundled with the system (e.g. `smlnj-lib.cm'). For details, see http://www.smlnj.org/NEWS/110.20-README.html, and the CM manual at http://cm.bell-labs.com/cm/cs/what/smlnj/doc/CM/new.pdf . * Reduced virtual memory consumption. * Support for running under Mac OS X (Darwin). Such support is not currently reflected in the pkgsrc, however, since I have no way to test it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2001/10/26 14:26:26 agc Exp $ d11 1 d19 2 d30 1 a30 1 SML_VERSION= 110.38 a43 1 EXTRACT_ONLY= config.tgz d64 13 @ 1.11 log @Move get-cm custom script to the files/ directory @ text @d1 2 a2 2 # $NetBSD: Makefile,v 1.10 2001/09/09 20:36:33 agc Exp $ # FreeBSD Id: ports/lang/sml-nj/Makefile,v 1.9 1999/08/25 06:35:27 obrien Exp d4 2 a5 2 DISTNAME= ${SML_VERSION}-bin.${BOX}-unix PKGNAME= smlnj-${SML_VERSION} d8 14 a21 8 ftp://ftp.diku.dk/pub/smlnj/working/${SML_VERSION}/ \ ftp://sunsite.doc.ic.ac.uk/computing/programming/languages/ml/smlnj/working/${SML_VERSION}/ \ ftp://compiler.kaist.ac.kr/pub/sml/working/${SML_VERSION}/ DISTFILES= ${SML_VERSION}-bin.${BOX}-unix.tar.Z ${SML_VERSION}-cm.tar.Z ${SML_VERSION}-cml.tar.Z \ ${SML_VERSION}-config.tar.Z ${SML_VERSION}-eXene.tar.Z \ ${SML_VERSION}-ml-burg.tar.Z ${SML_VERSION}-ml-lex.tar.Z ${SML_VERSION}-ml-yacc.tar.Z \ ${SML_VERSION}-runtime.tar.Z ${SML_VERSION}-smlnj-c.tar.Z \ ${SML_VERSION}-smlnj-lib.tar.Z d27 1 a27 1 SML_VERSION= 110.9.1 a37 2 # Mirror sites that keep files around in gzipped format # ftp://flint.cs.yale.edu/pub/smlnj/working/${SML_VERSION}/ d39 1 a39 1 DIST_SUBDIR= sml-nj d41 1 a41 1 EXTRACT_ONLY= ${SML_VERSION}-config.tar.Z a46 2 SML_SRCDIR= ${SML_BASE}/src SML_EXES= ml-burg ml-lex ml-yacc sml d74 1 d76 3 a78 6 # 2. copy the ./bin directory across # 3. edit bin/.run_sml to override BIN_DIR # 4. copy all .stable files in CM/ directories # 5. find all .cm files reachable from $WRKDIR/lib and copy them across # 6. copy the aliases in ./lib changing WRKDIR to SML_LIBDIR # 7. install links to executables in $PREFIX/bin d80 4 a83 3 ${INSTALL_DATA_DIR} ${SML_BASE} ${SML_BINDIR} ${SML_LIBDIR} ${GTAR} -C ${WRKDIR} -cf - bin | ${GTAR} -C ${SML_BASE} -xf - ${RM} -f ${SML_BINDIR}/.run-sml d85 3 a87 13 ${WRKDIR}/bin/.run-sml > ${SML_BINDIR}/.run-sml ${CHMOD} 755 ${SML_BINDIR}/.run-sml cd ${WRKDIR} && ${GTAR} -cf - `${FIND} . -name '*.stable' | \ ${GREP} CM` | ${GTAR} -C ${SML_BASE} -xf - cd ${WRKDIR} && ${GTAR} -cf - `${FILESDIR}/get-cm ${WRKDIR}` | \ ${GTAR} -C ${SML_BASE} -xf - for file in ${WRKDIR}/lib/*; do\ ${SED} -e "s,${WRKDIR},${SML_BASE}," $$file > \ ${SML_LIBDIR}/`${BASENAME} $$file`; \ done .for file in ${SML_EXES} -${RM} -f ${PREFIX}/bin/${file} -${LN} -s ${SML_BINDIR}/${file} ${PREFIX}/bin/${file} d89 1 @ 1.10 log @Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of: WRKSRC= ${WRKDIR} This is much cleaner, much more indicative of what happens, and removes another of the negative definitions (NO_.* = value). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2001/04/28 23:59:17 jtb Exp $ d88 1 a88 1 cd ${WRKDIR} && ${GTAR} -cf - `${SCRIPTDIR}/get-cm ${WRKDIR}` | \ @ 1.9 log @Remove redundant echoing, quoting, and input redirection to sed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2001/03/20 09:43:21 wiz Exp $ d36 1 a36 1 NO_WRKSUBDIR= yes @ 1.8 log @Add NetBSD-sparc support, supplied by Stephan Thesing in pkg/12411. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2001/02/25 04:17:56 hubertf Exp $ d84 1 a84 1 < ${WRKDIR}/bin/.run-sml > ${SML_BINDIR}/.run-sml d91 1 a91 1 ${SED} -e "s,${WRKDIR},${SML_BASE}," < $$file > \ @ 1.7 log @Cleanup MKDIR usage => INSTALL_*_DIR XXX need to teach pkglint to be more picky about this @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2001/02/17 09:07:30 agc Exp $ d26 1 a26 1 ONLY_FOR_PLATFORM= NetBSD-*-i386 SunOS-*-sparc d53 3 @ 1.6 log @Move the COMMENT from being in its own file to a definition in the package Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2000/02/05 19:47:46 wiz Exp $ d77 1 a77 1 ${MKDIR} ${SML_BASE} ${SML_BINDIR} ${SML_LIBDIR} @ 1.5 log @$() -> ${} @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2000/01/09 01:19:11 wiz Exp $ d19 1 @ 1.4 log @replaced some more commands by their ${COMMAND} counterparts @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1999/12/09 16:35:18 agc Exp $ d64 1 a64 1 FILESDIR="$(FILESDIR)" PATCH="$(PATCH)" PATCH_ARGS="$(PATCH_ARGS)" \ @ 1.3 log @Make this package compile on Solaris/sparc. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 1999/12/08 15:52:59 proff Exp $ d82 2 a83 2 cd ${WRKDIR} && ${GTAR} -cf - `find . -name '*.stable' | ${GREP} CM` | \ ${GTAR} -C ${SML_BASE} -xf - @ 1.2 log @changes for NetBSD @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 DISTNAME= ${SML_VERSION}-bin.x86-unix d11 1 a11 1 DISTFILES= ${SML_VERSION}-bin.x86-unix.tar.Z ${SML_VERSION}-cm.tar.Z ${SML_VERSION}-cml.tar.Z \ d23 1 a23 1 # pkg support for those platforms, and say, solarix-x86 d25 1 a25 1 ONLY_FOR_PLATFORM= NetBSD-*-i386 d45 12 d77 1 a77 1 tar -C ${WRKDIR} -cf - bin | tar -C ${SML_BASE} -xf - d82 4 a85 4 cd ${WRKDIR} && tar -cf - `find . -name '*.stable' | ${GREP} CM` | \ tar -C ${SML_BASE} -xf - cd ${WRKDIR} && tar -cf - `${SCRIPTDIR}/get-cm ${WRKDIR}` | \ tar -C ${SML_BASE} -xf - d91 1 @ 1.1 log @Initial revision @ text @d1 2 a2 20 # New ports collection makefile for: sml/nj # Version required: 110 # Date created: 7 July 1998 # Whom: jkoshy # # $FreeBSD: ports/lang/sml-nj/Makefile,v 1.9 1999/08/25 06:35:27 obrien Exp $ # DISTNAME= 110.9.1-bin.x86-unix PKGNAME= smlnj-110.9.1 CATEGORIES= lang MASTER_SITES= ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.9.1/ \ ftp://ftp.diku.dk/pub/smlnj/working/110.9.1/ \ ftp://sunsite.doc.ic.ac.uk/computing/programming/languages/ml/smlnj/working/110.9.1/ \ ftp://compiler.kaist.ac.kr/pub/sml/working/110.9.1/ DISTFILES= 110.9.1-bin.x86-unix.tar.Z 110.9.1-cm.tar.Z 110.9.1-cml.tar.Z \ 110.9.1-config.tar.Z 110.9.1-eXene.tar.Z \ 110.9.1-ml-burg.tar.Z 110.9.1-ml-lex.tar.Z 110.9.1-ml-yacc.tar.Z \ 110.9.1-runtime.tar.Z 110.9.1-smlnj-c.tar.Z \ 110.9.1-smlnj-lib.tar.Z d4 22 a25 1 MAINTAINER= jkoshy@@freebsd.org d32 1 a32 1 # ftp://flint.cs.yale.edu/pub/smlnj/working/110.9.1/ d34 10 a43 10 DIST_SUBDIR= sml-nj NO_WRKSUBDIR= yes EXTRACT_ONLY= 110.9.1-config.tar.Z USE_GMAKE= yes SML_BASE= ${PREFIX}/lib/sml-nj SML_LIBDIR= ${SML_BASE}/lib SML_BINDIR= ${SML_BASE}/bin SML_SRCDIR= ${SML_BASE}/src SML_EXES= ml-burg ml-lex ml-yacc sml d82 1 a82 1 .include @ 1.1.1.1 log @ A Standard ML implementation from Bell-Labs. Implements the SML '97 definition including the new Basis library with a few minor omissions and discrepancies. WWW: http://cm.bell-labs.com/cm/cs/what/smlnj/index.html If you are interested in a lighter weight implementation of ML, the Moscow-ML port is recommended. @ text @@