summaryrefslogtreecommitdiff
path: root/graphics/fnlib
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fnlib')
-rw-r--r--graphics/fnlib/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/fnlib/Makefile b/graphics/fnlib/Makefile
index 4a65de53a76..e069aa83dab 100644
--- a/graphics/fnlib/Makefile
+++ b/graphics/fnlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2010/01/18 09:58:59 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2010/02/03 23:23:27 joerg Exp $
#
DISTNAME= fnlib-0.5
@@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Color font rendering library for X11R6
+PKG_DESTDIR_SUPPORT= user-destdir
+
# XXX Added to stop old distfiles conflicting due to the authors updating
# XXX fnlib-0.5.tar.gz without changing the filename.
# XXX Delete when DISTNAME next changes
@@ -21,9 +23,10 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
EGDIR= ${PREFIX}/share/examples/fnlib
CONF_FILES= ${EGDIR}/fnrc ${PKG_SYSCONFDIR}/fnrc
+INSTALLATION_DIRS+= share/doc/fnlib
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fnlib
- ${INSTALL_DATA} ${WRKSRC}/doc/fontinfo.README ${PREFIX}/share/doc/fnlib
+ ${INSTALL_DATA} ${WRKSRC}/doc/fontinfo.README ${DESTDIR}${PREFIX}/share/doc/fnlib
.include "../../graphics/imlib/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"