From owner-svn-ports-all@FreeBSD.ORG Fri Apr 4 19:57:57 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2CE95980; Fri, 4 Apr 2014 19:57:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19F65AED; Fri, 4 Apr 2014 19:57:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s34JvuvM065294; Fri, 4 Apr 2014 19:57:56 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s34JvuMM065292; Fri, 4 Apr 2014 19:57:56 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201404041957.s34JvuMM065292@svn.freebsd.org> From: Johan van Selst Date: Fri, 4 Apr 2014 19:57:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350162 - head/devel/ocaml-magic X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 19:57:57 -0000 Author: johans Date: Fri Apr 4 19:57:56 2014 New Revision: 350162 URL: http://svnweb.freebsd.org/changeset/ports/350162 QAT: https://qat.redports.org/buildarchive/r350162/ Log: Stagify and minor cleanups Added: head/devel/ocaml-magic/pkg-plist (contents, props changed) Modified: head/devel/ocaml-magic/Makefile Modified: head/devel/ocaml-magic/Makefile ============================================================================== --- head/devel/ocaml-magic/Makefile Fri Apr 4 19:57:17 2014 (r350161) +++ head/devel/ocaml-magic/Makefile Fri Apr 4 19:57:56 2014 (r350162) @@ -3,50 +3,34 @@ PORTNAME= magic PORTVERSION= 0.7.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/ocaml-${PORTNAME}/ocaml-${PORTNAME}/0.7 PKGNAMEPREFIX= ocaml- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} MAINTAINER= johans@FreeBSD.org -COMMENT= An OCaml binding for libmagic(3) +COMMENT= OCaml binding for libmagic(3) USE_OCAML= yes USE_OCAML_FINDLIB= yes USE_OCAML_LDCONFIG= yes +USES= gmake GNU_CONFIGURE= yes -USE_GMAKE= yes -.ifndef(NOPORTDOCS) -ALL_TARGET+= doc -PORTDOCS= * +ALL_TARGET+= doc examples DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} -.endif - -.ifndef(NOPORTEXAMPLES) -ALL_TARGET+= examples -PORTEXAMPLES= * EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} -.endif # This really is overzealous but I work this way .if !exists(/usr/lib/libmagic.so) -LIB_DEPENDS+= magic:${PORTSDIR}/sysutils/file +LIB_DEPENDS+= libmagic.so:${PORTSDIR}/sysutils/file .endif -NO_STAGE= yes -.include - post-install: -.ifndef(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR} -.endif -.ifndef(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} -.include +.include Added: head/devel/ocaml-magic/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ocaml-magic/pkg-plist Fri Apr 4 19:57:56 2014 (r350162) @@ -0,0 +1,34 @@ +%%OCAML_SITELIBDIR%%/magic/META +%%OCAML_SITELIBDIR%%/magic/dllmagic_stubs.so +%%OCAML_SITELIBDIR%%/magic/libmagic_stubs.a +%%OCAML_SITELIBDIR%%/magic/magic.a +%%OCAML_SITELIBDIR%%/magic/magic.cma +%%OCAML_SITELIBDIR%%/magic/magic.cmi +%%OCAML_SITELIBDIR%%/magic/magic.cmx +%%OCAML_SITELIBDIR%%/magic/magic.cmxa +%%OCAML_SITELIBDIR%%/magic/magic.mli +%%PORTDOCS%%%%DOCSDIR%%/Magic.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/index_attributes.html +%%PORTDOCS%%%%DOCSDIR%%/index_class_types.html +%%PORTDOCS%%%%DOCSDIR%%/index_classes.html +%%PORTDOCS%%%%DOCSDIR%%/index_exceptions.html +%%PORTDOCS%%%%DOCSDIR%%/index_methods.html +%%PORTDOCS%%%%DOCSDIR%%/index_module_types.html +%%PORTDOCS%%%%DOCSDIR%%/index_modules.html +%%PORTDOCS%%%%DOCSDIR%%/index_types.html +%%PORTDOCS%%%%DOCSDIR%%/index_values.html +%%PORTDOCS%%%%DOCSDIR%%/style.css +%%PORTDOCS%%%%DOCSDIR%%/type_Magic.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.in +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.cmi +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.cmo +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.cmx +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.ml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.o +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.ml +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +@dirrmtry %%OCAML_SITELIBDIR%%/magic