mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
23 lines
761 B
Text
23 lines
761 B
Text
--- Makefile.orig Sun May 2 13:39:22 2004
|
|
+++ Makefile Thu Sep 2 22:01:14 2004
|
|
@@ -3,7 +3,8 @@
|
|
|
|
export VERSION
|
|
# Where the binaries will go (yaxsltproc)
|
|
-BIN_DESTDIR = ${DESTDIR}/usr/bin/
|
|
+BIN_DESTDIR = ${PREFIX}/bin
|
|
+PKG_DESTDIR = ${PREFIX}/lib/ocaml/site-lib
|
|
|
|
DIST_FILES = Makefile OCamlMakefile AUTHORS README COPYING ChangeLog META.in TODO \
|
|
examples/Makefile examples/*.ml examples/*.x*l
|
|
@@ -40,8 +41,8 @@
|
|
rm -f META.tmp
|
|
|
|
install: all META
|
|
- ocamlfind install yaxi META src/*.mli src/*.cm* src/*.a
|
|
- install -D src/yaxsltproc ${BIN_DESTDIR}/yaxsltproc
|
|
+ ocamlfind install -destdir ${PKG_DESTDIR} yaxi META src/*.mli src/*.cm* src/*.a
|
|
+ ${BSD_INSTALL_PROGRAM} src/yaxsltproc ${BIN_DESTDIR}/yaxsltproc
|
|
|
|
dist: clean
|
|
mkdir tmp/yaxi-$(VERSION)
|