From 4d0dab3f3ef63e89408242befbe3354b4d3592bf Mon Sep 17 00:00:00 2001 From: vanilla Date: Fri, 11 Jul 2014 12:55:44 +0000 Subject: 1: Stagify. 2: new syntax of LIB_DEPENDS. 3: remove pkg-install. --- textproc/ocaml-expat/Makefile | 36 +++++++++++------------------------- textproc/ocaml-expat/pkg-install | 9 --------- textproc/ocaml-expat/pkg-plist | 24 ++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 34 deletions(-) delete mode 100644 textproc/ocaml-expat/pkg-install create mode 100644 textproc/ocaml-expat/pkg-plist (limited to 'textproc') diff --git a/textproc/ocaml-expat/Makefile b/textproc/ocaml-expat/Makefile index f853e1e66820..70b6098d9f2f 100644 --- a/textproc/ocaml-expat/Makefile +++ b/textproc/ocaml-expat/Makefile @@ -1,45 +1,31 @@ # Created by: Marwan Burelle > ${TMPPLIST} - @${ECHO_CMD} "@dirrm lib/ocaml/site-lib/expat" >> ${TMPPLIST} - @${ECHO_CMD} "@unexec ocamlfind remove expat 2>/dev/null || true" >> ${TMPPLIST} - PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include diff --git a/textproc/ocaml-expat/pkg-install b/textproc/ocaml-expat/pkg-install deleted file mode 100644 index 7fb2bdcc5f86..000000000000 --- a/textproc/ocaml-expat/pkg-install +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -if [ "$2" = "POST-INSTALL" ]; then - echo "${PKG_PREFIX}/lib/ocaml/site-lib/expat" >> ${PKG_PREFIX}/lib/ocaml/ld.conf -elif [ "$2" = "DEINSTALL" ]; then - mv ${PKG_PREFIX}/lib/ocaml/ld.conf ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp - grep -v expat ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp > ${PKG_PREFIX}/lib/ocaml/ld.conf - rm -f ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp -fi diff --git a/textproc/ocaml-expat/pkg-plist b/textproc/ocaml-expat/pkg-plist new file mode 100644 index 000000000000..22983ba622f9 --- /dev/null +++ b/textproc/ocaml-expat/pkg-plist @@ -0,0 +1,24 @@ +%%OCAML_SITELIBDIR%%/expat/META +%%OCAML_SITELIBDIR%%/expat/dllmlexpat.so +%%OCAML_SITELIBDIR%%/expat/expat.a +%%OCAML_SITELIBDIR%%/expat/expat.cma +%%OCAML_SITELIBDIR%%/expat/expat.cmi +%%OCAML_SITELIBDIR%%/expat/expat.cmxa +%%OCAML_SITELIBDIR%%/expat/expat.mli +%%OCAML_SITELIBDIR%%/expat/libmlexpat.a +%%PORTDOCS%%%%DOCSDIR%%/Expat.html +%%PORTDOCS%%%%DOCSDIR%%/README +%%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_Expat.html +@dirrmtry %%OCAML_SITELIBDIR%%/expat +%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit .1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Support stagedir.vanilla2014-01-091-3/+1
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* - Unbreak parallel (-jX) builds (have to use GNU make)danfe2013-07-311-4/+4
* Mark as job unsafebapt2013-07-111-0/+1
* New USES imake to handle the dependency on imake.bapt2013-06-281-6/+2
* Convert romain's ports to new option frameworkbapt2012-12-301-7/+5
* - Take maintainership;romain2011-09-141-2/+8
* Convert most of remaining ports that depend on xorg-libraries toamdmi32009-06-091-0/+2
* - Update to 2.2miwi2008-02-131-2/+1
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* Update to 2.1arved2005-11-021-4/+3