summaryrefslogtreecommitdiff
path: root/www/links/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'www/links/Makefile.common')
-rw-r--r--www/links/Makefile.common9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/links/Makefile.common b/www/links/Makefile.common
index 0d651f04305..ea27d3ad06f 100644
--- a/www/links/Makefile.common
+++ b/www/links/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.37 2007/08/29 20:46:51 wiz Exp $
+# $NetBSD: Makefile.common,v 1.38 2007/10/16 17:12:23 bjs Exp $
DISTNAME= links-2.1pre30
CATEGORIES= www
@@ -9,6 +9,7 @@ MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://links.twibright.com/
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-javascript
@@ -17,8 +18,10 @@ PLIST_SRC= ${.CURDIR}/../../www/links/PLIST
PATCHDIR= ${.CURDIR}/../../www/links/patches
DISTINFO_FILE= ${.CURDIR}/../../www/links/distinfo
+.include "options.mk"
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/links
- ${INSTALL_DATA} ${WRKSRC}/KEYS ${PREFIX}/share/doc/links
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/links
+ ${INSTALL_DATA} ${WRKSRC}/KEYS ${DESTDIR}${PREFIX}/share/doc/links
.include "../../security/openssl/buildlink3.mk"