summaryrefslogtreecommitdiff
path: root/www/w3m
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2008-11-23 16:16:35 +0000
committeruebayasi <uebayasi>2008-11-23 16:16:35 +0000
commit74b32ace6c955b4a19b4c9cd5ec91c1ad4a1dd09 (patch)
tree2de3131f88803dc2ee358ff5370f1b02be2432e8 /www/w3m
parentc678e33633a7d93689c7c364155cd8b78711b385 (diff)
downloadpkgsrc-74b32ace6c955b4a19b4c9cd5ec91c1ad4a1dd09.tar.gz
pkg/40000; user-destdir support for w3m. From Aleksey Cheusov <cheusov@tut.by>.
Diffstat (limited to 'www/w3m')
-rw-r--r--www/w3m/Makefile.common10
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"