diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2008-11-23 16:16:35 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2008-11-23 16:16:35 +0000 |
commit | e67a1cbfc9909a6def7bf749421eefd80a6ab570 (patch) | |
tree | 2de3131f88803dc2ee358ff5370f1b02be2432e8 | |
parent | 91ae2d068e30609d3e25adfff3ed0f290a833b11 (diff) | |
download | pkgsrc-e67a1cbfc9909a6def7bf749421eefd80a6ab570.tar.gz |
pkg/40000; user-destdir support for w3m. From Aleksey Cheusov <cheusov@tut.by>.
-rw-r--r-- | www/w3m/Makefile.common | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/w3m/Makefile.common b/www/w3m/Makefile.common index 19f62833453..1b66ef91c89 100644 --- a/www/w3m/Makefile.common +++ b/www/w3m/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.49 2008/05/26 02:13:25 joerg Exp $ +# $NetBSD: Makefile.common,v 1.50 2008/11/23 16:16:35 uebayasi Exp $ # DISTNAME= w3m-${W3M_VERS} @@ -9,6 +9,7 @@ MAINTAINER= kei@NetBSD.org, uebayasi@NetBSD.org HOMEPAGE= http://w3m.sourceforge.net/ PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes USE_TOOLS+= gmake # Needed for some combinations of options... @@ -60,13 +61,14 @@ post-extract: post-patch: @${FIND} ${WRKSRC} -type f -name '*.orig' -print | ${XARGS} ${RM} +INSTALLATION_DIRS+= ${DOCDIR} + post-install: # Install help files. - @cd ${WRKSRC}; ${MAKE_PROGRAM} install-helpfile + @cd ${WRKSRC}; ${MAKE_PROGRAM} DESTDIR=${DESTDIR} install-helpfile # Use pax to discard uid/gid. Exclude manuals (*.1). - ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR} @cd ${WRKSRC}; pax -w -s ',.*\.1$$,,' doc doc-jp | \ - ( cd ${PREFIX}/${DOCDIR}; pax -r ) + ( cd ${DESTDIR}${PREFIX}/${DOCDIR}; pax -r ) .include "../../devel/boehm-gc/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" |