svn commit: r361465 - in head/devel/ocaml-cppo: . files

Vanilla I. Shu vanilla at FreeBSD.org
Thu Jul 10 15:46:07 UTC 2014


Author: vanilla
Date: Thu Jul 10 15:46:06 2014
New Revision: 361465
URL: http://svnweb.freebsd.org/changeset/ports/361465
QAT: https://qat.redports.org/buildarchive/r361465/

Log:
  Stagify, remove unneeded define.

Added:
  head/devel/ocaml-cppo/files/
  head/devel/ocaml-cppo/files/patch-Makefile   (contents, props changed)
Modified:
  head/devel/ocaml-cppo/Makefile

Modified: head/devel/ocaml-cppo/Makefile
==============================================================================
--- head/devel/ocaml-cppo/Makefile	Thu Jul 10 15:40:54 2014	(r361464)
+++ head/devel/ocaml-cppo/Makefile	Thu Jul 10 15:46:06 2014	(r361465)
@@ -7,15 +7,11 @@ CATEGORIES=	devel
 MASTER_SITES=	http://martin.jambon.free.fr/
 PKGNAMEPREFIX=	ocaml-
 
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Simple preprocessor for OCaml
 
 USES=		gmake
 USE_OCAML=	yes
 MAKE_JOBS_UNSAFE=	yes
 
-DOCSDIR=	${PREFIX}/share/doc/ocaml/${PORTNAME}
-EXAMPLESDIR=	${PREFIX}/share/examples/ocaml/${PORTNAME}
-
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/devel/ocaml-cppo/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-cppo/files/patch-Makefile	Thu Jul 10 15:46:06 2014	(r361465)
@@ -0,0 +1,13 @@
+--- Makefile.orig	2014-07-10 23:43:16.837117715 +0800
++++ Makefile	2014-07-10 23:43:35.518127751 +0800
+@@ -33,8 +33,8 @@ opt: $(ML)
+ 	ocamlopt -o cppo -dtypes unix.cmxa $(ML)
+ 
+ install:
+-	install -m 0755 cppo $(BINDIR) || \
+-		install -m 0755 cppo.exe $(BINDIR)
++	install -m 0755 cppo $(DESTDIR)$(BINDIR) || \
++		install -m 0755 cppo.exe $(DESTDOR)$(BINDIR)
+ 
+ cppo_version.ml: Makefile
+ 	echo 'let cppo_version = "$(VERSION)"' > cppo_version.ml


More information about the svn-ports-all mailing list