summaryrefslogtreecommitdiff
path: root/x11/XmHTML/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XmHTML/Makefile')
-rw-r--r--x11/XmHTML/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11/XmHTML/Makefile b/x11/XmHTML/Makefile
index 39c97ab8a0c..bd5b52f7e2e 100644
--- a/x11/XmHTML/Makefile
+++ b/x11/XmHTML/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2007/02/22 19:27:25 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2008/06/12 02:14:57 joerg Exp $
#
DISTNAME= XmHTML-1.1.7
@@ -10,17 +10,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xs4all.nl/~ripley/XmHTML/
COMMENT= Motif Widget capable of displaying HTML 3.2 conforming text
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= YES
USE_TOOLS+= gmake
USE_LIBTOOL= YES
-INSTALLATION_DIRS= lib
+INSTALLATION_DIRS= include/XmHTML lib
do-install:
${LIBTOOL} ${LIBTOOL_FLAGS} ${INSTALL_LIB} \
- ${WRKSRC}/lib/libXmHTML.la ${PREFIX}/lib
- ${INSTALL_DATA_DIR} ${PREFIX}/include/XmHTML
- ${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h ${PREFIX}/include/XmHTML
+ ${WRKSRC}/lib/libXmHTML.la ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h ${DESTDIR}${PREFIX}/include/XmHTML
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"