Index: head/lang/mosml/Makefile =================================================================== --- head/lang/mosml/Makefile (revision 524248) +++ head/lang/mosml/Makefile (revision 524249) @@ -1,58 +1,60 @@ # Created by: Chuck Robey # $FreeBSD$ PORTNAME= mosml PORTVERSION= 2.10.1 -PORTREVISION= 1 DISTVERSIONPREFIX= ver- +PORTREVISION= 1 CATEGORIES= lang MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight implementation of Standard ML BROKEN_mips= does not configure: this architecture seems to be neither big endian nor little endian BROKEN_mips64= does not configure: this architecture seems to be neither big endian nor little endian BROKEN_powerpc64= does not configure: this architecture seems to be neither big endian nor little endian LIB_DEPENDS= libgmp.so:math/gmp \ libgdbm.so:databases/gdbm GH_ACCOUNT= kfl USE_GITHUB= yes RESTRICTED= Restrictions on for-profit distribution USES= compiler:features gmake perl5 ALL_TARGET= world MAKE_ARGS= ADDRUNLIBS= \ CC="${CC}" \ CPP="${CPP} -P -traditional -Dunix -Umsdos" \ DOCSDIR="${DOCSDIR}" \ DYNLD="${CC} -shared" \ LD="${CC}" \ LD_RUN_PATH="${PREFIX}/lib/mosml" \ MOSMLHOME="${MOSMLHOME}" \ STRIP="${STRIP_CMD}" WRKSRC_SUBDIR= src OPTIONS_DEFINE= DOCS EXAMPLES -.include - post-patch: - ${REINPLACE_CMD} 's/make /$$(MAKE) /' ${WRKSRC}/doc/Makefile \ + @${REINPLACE_CMD} 's/make /$$(MAKE) /' ${WRKSRC}/doc/Makefile \ ${WRKSRC}/doc/helpsigs/Makefile post-install: + @${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||' \ + ${STAGEDIR}${PREFIX}/lib/mosml/header + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mosml/lib*.so + +post-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/../copyrght/copyrght.att \ ${WRKSRC}/../copyrght/copyrght.cl \ ${WRKSRC}/../copyrght/gpl2 \ ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/../examples && ${COPYTREE_SHARE} . "${STAGEDIR}${EXAMPLESDIR}" \ + @cd ${WRKSRC}/../examples && ${COPYTREE_SHARE} . "${STAGEDIR}${EXAMPLESDIR}" \ '-not ( -name *\.orig -o -name *\.bak -o -name *\.w32 )' - @${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||' \ - ${STAGEDIR}${PREFIX}/lib/mosml/header - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mosml/lib*.so -.include +.include Index: head/lang/mosml/pkg-descr =================================================================== --- head/lang/mosml/pkg-descr (revision 524248) +++ head/lang/mosml/pkg-descr (revision 524249) @@ -1,13 +1,13 @@ This is Moscow ML, a lightweight implementation of Standard ML: The current version of Moscow ML * implements the full Standard ML language, as revised 1997, including Modules and some extensions * yet is backwards compatible with versions prior to 2.00 * implements large parts of the new SML Basis Library * implements separate compilation * can produce compact stand-alone executables (a la Caml Light) * supports quotations and antiquotations, useful for metaprogramming * supports dynamic linking of external functions -WWW: http://mosml.org/ +WWW: https://mosml.org/