pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/harmony Fix installation. Add DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/409642a8ce49
branches: trunk
changeset: 569116:409642a8ce49
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jan 08 17:49:01 2010 +0000
description:
Fix installation. Add DESTDIR support.
diffstat:
textproc/harmony/Makefile | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 09130773d394 -r 409642a8ce49 textproc/harmony/Makefile
--- a/textproc/harmony/Makefile Fri Jan 08 17:33:24 2010 +0000
+++ b/textproc/harmony/Makefile Fri Jan 08 17:49:01 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/02/25 18:02:01 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2010/01/08 17:49:01 joerg Exp $
#
DISTNAME= harmony-stable-${VERSION}
@@ -10,6 +10,8 @@
HOMEPAGE= http://alliance.seas.upenn.edu/~harmony/
COMMENT= Generic framework for reconciling disconnected updates to heterogeneous, replicated XML data
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
DEPENDS+= equeue-[0-9]*:../../devel/equeue
@@ -23,6 +25,8 @@
TEX_DEPMETHOD= build
TEST_TARGET= test
+INSTALLATION_DIRS= bin share/doc/harmony
+
do-install:
for file in src/harmony \
examples/addresses/harmonize-addresses \
@@ -33,11 +37,10 @@
examples/plist/harmonize-plist \
examples/relational/harmonize-relational \
examples/structuredtext/harmonize-structuredtext; do \
- ${INSTALL_PROGRAM} ${WRKSRC}/$$file ${PREFIX}/bin; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/$$file ${DESTDIR}${PREFIX}/bin; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/harmony
- ${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${PREFIX}/share/doc/harmony
- ${INSTALL_DATA} ${WRKSRC}/doc/main.pdf ${PREFIX}/share/doc/harmony
+ ${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DESTDIR}${PREFIX}/share/doc/harmony
+ ${INSTALL_DATA} ${WRKSRC}/doc/main.pdf ${DESTDIR}${PREFIX}/share/doc/harmony
.include "../../lang/ocaml/buildlink3.mk"
.include "../../devel/pcre-ocaml/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index