diff options
author | araujo <araujo@FreeBSD.org> | 2012-12-20 13:47:45 +0800 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2012-12-20 13:47:45 +0800 |
commit | a1b58884ba19358fe146b1bd71c1559b65488168 (patch) | |
tree | 24299520f70333cbae6b1fb75b07895d58609e0b /devel | |
parent | 13469ea99fc3c5cd1e7c22577ee09b4bda0dfb4e (diff) | |
download | freebsd-ports-gnome-a1b58884ba19358fe146b1bd71c1559b65488168.tar.gz freebsd-ports-gnome-a1b58884ba19358fe146b1bd71c1559b65488168.tar.zst freebsd-ports-gnome-a1b58884ba19358fe146b1bd71c1559b65488168.zip |
- Update to 3.0.1.
- Add LICENSE.
- Add MAKE_JOBS_UNSAFE.
PR: ports/172230
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-pomap/Makefile | 65 | ||||
-rw-r--r-- | devel/ocaml-pomap/distinfo | 4 | ||||
-rw-r--r-- | devel/ocaml-pomap/pkg-descr | 10 |
3 files changed, 37 insertions, 42 deletions
diff --git a/devel/ocaml-pomap/Makefile b/devel/ocaml-pomap/Makefile index c2b64ca86b8f..e28228555bc8 100644 --- a/devel/ocaml-pomap/Makefile +++ b/devel/ocaml-pomap/Makefile @@ -2,58 +2,53 @@ # $FreeBSD$ PORTNAME= pomap -PORTVERSION= 2.9.8 -PORTREVISION= 1 -PORTREVISION= 1 +PORTVERSION= 3.0.1 CATEGORIES= devel -MASTER_SITES= http://www.ocaml.info/ocaml_sources/ +MASTER_SITES= http://cdn.bitbucket.org/mmottl/pomap/downloads/ PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= OCaml library to maintain a list of partially ordered elements -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-11-26 +LICENSE= LGPL21 + +OPTIONS_DEFINE= DOCS EXAMPLES -USE_BZIP2= yes -USE_GMAKE= yes USE_OCAML= yes USE_OCAML_FINDLIB=yes +USE_OCAMLFIND_PLIST=yes USE_OCAML_WASH= yes -DOCS= README -DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} -EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME} +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs --disable-examples +MAKE_JOBS_UNSAFE=yes + +DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} +EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} + +PORTDOCS= * +PORTEXAMPLES= * -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -post-extract: -# For nonstandard prefixes -.if !exists(${OCAMLFIND_DESTDIR}) - ${MKDIR} ${OCAMLFIND_DESTDIR} +.if ${PORT_OPTIONS:MDOCS} +PLIST_DIRSTRY+= ${OCAML_DOCSDIR:S,^${PREFIX}/,,} +.endif + +.if ${PORT_OPTIONS:MEXAMPLES} +PLIST_DIRSTRY+= ${OCAML_EXAMPLESDIR:S,^${PREFIX}/,,} .endif post-install: - @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ - ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ +.for i in AUTHORS.txt CHANGES.txt README.md + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) +.endfor +.endif +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/) - @${FIND} ${EXAMPLESDIR}/ ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} - @${FIND} ${DOCSDIR}/ ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -# XXX: temporary workaround for non-standard PREFIX - @${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null || true" \ - >> ${TMPPLIST} - @${ECHO_CMD} "@unexec rmdir %D/share/examples/ocaml 2>/dev/null||true" \ - >> ${TMPPLIST} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/ocaml-pomap/distinfo b/devel/ocaml-pomap/distinfo index 0af02836c8e0..0f183b22f4bd 100644 --- a/devel/ocaml-pomap/distinfo +++ b/devel/ocaml-pomap/distinfo @@ -1,2 +1,2 @@ -SHA256 (pomap-2.9.8.tar.bz2) = 8cea14b604b261cdb8a16b1a90153cbfb19c958e3466a8556ca50bfeea64b5ce -SIZE (pomap-2.9.8.tar.bz2) = 36645 +SHA256 (pomap-3.0.1.tar.gz) = 1afbedafedb6922937cb58b3bbef057e69f2908cac899288257ba608fbf534ce +SIZE (pomap-3.0.1.tar.gz) = 69989 diff --git a/devel/ocaml-pomap/pkg-descr b/devel/ocaml-pomap/pkg-descr index 95f112371837..b43f1daaa40b 100644 --- a/devel/ocaml-pomap/pkg-descr +++ b/devel/ocaml-pomap/pkg-descr @@ -1,7 +1,7 @@ -The Pomap-library implements an ADT that maintains maps of partially ordered -elements. Whereas a total order allows you to say whether some element is -lower, equal or greater than another one, partial orders also allow for a -"don-t know" case. +The Pomap-library implements an ADT that maintains maps of partially +ordered elements. Whereas a total order allows you to say whether some +element is lower, equal or greater than another one, partial orders also +allow for a "don-t know" case. Author: Markus Mottl <markus.mottl@gmail.com> -WWW: http://www.ocaml.info/home/ocaml_sources.html +WWW: https://bitbucket.org/mmottl/pomap |