svn commit: r349302 - head/security/ocaml-cryptgps
Antoine Brodin
antoine at FreeBSD.org
Wed Mar 26 22:36:47 UTC 2014
Author: antoine
Date: Wed Mar 26 22:36:46 2014
New Revision: 349302
URL: http://svnweb.freebsd.org/changeset/ports/349302
QAT: https://qat.redports.org/buildarchive/r349302/
Log:
- Stage support
- Use USE_OCAMLFIND_PLIST instead of doing it manually
Modified:
head/security/ocaml-cryptgps/Makefile
Modified: head/security/ocaml-cryptgps/Makefile
==============================================================================
--- head/security/ocaml-cryptgps/Makefile Wed Mar 26 22:06:38 2014 (r349301)
+++ head/security/ocaml-cryptgps/Makefile Wed Mar 26 22:36:46 2014 (r349302)
@@ -14,36 +14,20 @@ COMMENT= Symmetric cryptographic algorit
LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_GMAKE= yes
+USES= gmake
USE_OCAML= yes
-USE_OCAML_FINDLIB=yes
+USE_OCAML_FINDLIB= yes
+USE_OCAMLFIND_PLIST= yes
ALL_TARGET= all opt
-MASTERPORT= ${PORTSDIR}/devel/ocaml-camlidl
-.if !defined(NOPORTDOCS)
PORTDOCS= *
-DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
-.endif
+DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-post-extract:
-# For nonstandard prefixes
-.if !exists(${OCAMLFIND_DESTDIR})
- ${MKDIR} ${OCAMLFIND_DESTDIR}
-.endif
-.if !exists(${OCAMLFIND_LDCONF})
- ${TOUCH} ${OCAMLFIND_LDCONF}
-.endif
+OPTIONS_DEFINE= DOCS
post-install:
- @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
- ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list