diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 16:38:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 16:38:11 +0000 |
commit | 8216d744ac7ee52a87a0c54540fc68d487f4ad1f (patch) | |
tree | 3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/java-lang-spec | |
parent | 642995a0c4f1913cc6893865f1f5905084199dc1 (diff) | |
download | pkgsrc-8216d744ac7ee52a87a0c54540fc68d487f4ad1f.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'lang/java-lang-spec')
-rw-r--r-- | lang/java-lang-spec/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lang/java-lang-spec/Makefile b/lang/java-lang-spec/Makefile index 159490a08e2..930a71da0f3 100644 --- a/lang/java-lang-spec/Makefile +++ b/lang/java-lang-spec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/04/13 00:47:19 rillig Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/04 16:38:12 jlam Exp $ DISTNAME= langspec-2.0.html PKGNAME= java-lang-spec-2.0 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://java.sun.com/docs/books/jls/index.html COMMENT= The Java(TM) Language Specification (HTML) +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_CONFIGURE= yes NO_BUILD= yes @@ -18,9 +20,9 @@ NO_BUILD= yes HTMLDIR= ${PREFIX}/share/doc/java-lang-spec do-install: - ${INSTALL_DATA_DIR} ${HTMLDIR} - ${INSTALL_DATA_DIR} ${HTMLDIR}/chars - cd ${WRKSRC}; ${INSTALL_DATA} *.gif *.html ${HTMLDIR} - cd ${WRKSRC}/chars; ${INSTALL_DATA} *.gif ${HTMLDIR}/chars + ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}/chars + cd ${WRKSRC}; ${INSTALL_DATA} *.gif *.html ${DESTDIR}${HTMLDIR} + cd ${WRKSRC}/chars; ${INSTALL_DATA} *.gif ${DESTDIR}${HTMLDIR}/chars .include "../../mk/bsd.pkg.mk" |