1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stagify, remove unneeded define.

This commit is contained in:
Vanilla I. Shu 2014-07-10 15:46:06 +00:00
parent b17a47b014
commit 4aa2f3b198
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361465
2 changed files with 14 additions and 5 deletions

View File

@ -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>

View File

@ -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