diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 15:21:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 15:21:07 +0000 |
commit | cc6162770e0a91d45866dd760690d21c6db27fee (patch) | |
tree | 41ee23c9647f042e84712f31b4d257d7db8cd51d /databases/yasql | |
parent | e87e8011a9f70544994c762db2703e876ecdad08 (diff) | |
download | pkgsrc-cc6162770e0a91d45866dd760690d21c6db27fee.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'databases/yasql')
-rw-r--r-- | databases/yasql/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/databases/yasql/Makefile b/databases/yasql/Makefile index 309b222e4bc..b0a28f92b00 100644 --- a/databases/yasql/Makefile +++ b/databases/yasql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/07/07 22:10:07 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/03 15:21:07 jlam Exp $ DISTNAME= yasql-1.81 PKGREVISION= 1 @@ -13,6 +13,8 @@ DEPENDS+= p5-DBD-Oracle-[0-9]*:../../databases/p5-DBD-Oracle DEPENDS+= p5-Term-ReadLine-[0-9]*:../../devel/p5-Term-ReadLine DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= perl:run GNU_CONFIGURE= yes NO_BUILD= yes @@ -28,10 +30,11 @@ post-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} default do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/yasql ${PREFIX}/bin/yasql - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/yasql + ${INSTALL_SCRIPT} ${WRKSRC}/yasql ${DESTDIR}${PREFIX}/bin/yasql + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/yasql ${INSTALL_DATA} ${WRKSRC}/yasql.conf \ - ${PREFIX}/share/examples/yasql/yasql.conf - ${INSTALL_MAN} ${WRKSRC}/yasql.1 ${PREFIX}/${PKGMANDIR}/man1/yasql.1 + ${DESTDIR}${PREFIX}/share/examples/yasql/yasql.conf + ${INSTALL_MAN} ${WRKSRC}/yasql.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/yasql.1 .include "../../mk/bsd.pkg.mk" |