summaryrefslogtreecommitdiff
path: root/devel/pilrc
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit168a3246f0e3c46b0ef3b5dcf5d18607cff1583f (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /devel/pilrc
parent63309a20a533bc79929c9bd5b3bf872561762300 (diff)
downloadpkgsrc-168a3246f0e3c46b0ef3b5dcf5d18607cff1583f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'devel/pilrc')
-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"