Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2014 15:46:07 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361465 - in head/devel/ocaml-cppo: . files
Message-ID:  <201407101546.s6AFk7eB055943@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
+MAINTAINER=	ports@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



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