summaryrefslogtreecommitdiff
path: root/devel/pilrc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pilrc/Makefile')
-rw-r--r--devel/pilrc/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/pilrc/Makefile b/devel/pilrc/Makefile
index d7e5b7f0909..3f05d6dccdb 100644
--- a/devel/pilrc/Makefile
+++ b/devel/pilrc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2008/04/12 22:43:00 jlam Exp $
+# $NetBSD: Makefile,v 1.32 2008/06/12 02:14:28 joerg Exp $
#
DISTNAME= pilrc-3.2
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pilrc.sourceforge.net/
COMMENT= Generate resources for PalmOS applications from textual description
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
CONFIGURE_SCRIPT=unix/configure
@@ -34,12 +36,12 @@ PLIST.pilrcui= yes
CONFIGURE_ARGS+= --enable-pilrcui
.endif
+INSTALLATION_DIRS= ${DOCDIR}/images
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${DOCDIR}/images
cd ${WRKSRC}/doc && \
${INSTALL_DATA} archive.html download.html index.html \
- contrib.html history.html manual.html ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/images/download.gif ${DOCDIR}/images
+ contrib.html history.html manual.html ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/images/download.gif ${DESTDIR}${DOCDIR}/images
.include "../../mk/bsd.pkg.mk"