diff options
author | joerg <joerg> | 2010-01-08 17:49:01 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-08 17:49:01 +0000 |
commit | 4f9a46f8eb513808a229ed05b680ec493cfeb3d1 (patch) | |
tree | 13a55560a6c94da6bec0538fb356891f708db5eb /textproc | |
parent | 631f6d30c29585ac482879fcf01f7d753c40d0b0 (diff) | |
download | pkgsrc-4f9a46f8eb513808a229ed05b680ec493cfeb3d1.tar.gz |
Fix installation. Add DESTDIR support.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/harmony/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/textproc/harmony/Makefile b/textproc/harmony/Makefile index 9f6c35df4a6..2995bbc5c33 100644 --- a/textproc/harmony/Makefile +++ b/textproc/harmony/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ USE_TOOLS+= gmake 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 @@ do-install: 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" |