Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2017 09:48:54 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430929 - in head/devel/ocaml-pcre: . files
Message-ID:  <201701090948.v099ms2i098669@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Jan  9 09:48:54 2017
New Revision: 430929
URL: https://svnweb.freebsd.org/changeset/ports/430929

Log:
  - Remove always false OSVERSION condition
  - Switch to options helpers
  - Cosmetic fixes

Deleted:
  head/devel/ocaml-pcre/files/
Modified:
  head/devel/ocaml-pcre/Makefile

Modified: head/devel/ocaml-pcre/Makefile
==============================================================================
--- head/devel/ocaml-pcre/Makefile	Mon Jan  9 09:44:12 2017	(r430928)
+++ head/devel/ocaml-pcre/Makefile	Mon Jan  9 09:48:54 2017	(r430929)
@@ -25,21 +25,14 @@ DOCSDIR=	${PREFIX}/share/doc/pcre-ocaml
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-# unknown warning flag for old gcc
-EXTRA_PATCHES+=	${FILESDIR}/extra-patch--Wno-keyword-macro
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|$$prefix"/"share|${STAGEDIR}${PREFIX}/share|' \
-	-e '/datarootdir/s|$$pkg_name|&-ocaml|' \
+		-e '/datarootdir/s|$$pkg_name|&-ocaml|' \
 		${WRKSRC}/setup.ml
 	@${REINPLACE_CMD} -e 's| safe_string,||' ${WRKSRC}/_tags
 
-post-install:
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
+	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701090948.v099ms2i098669>