summaryrefslogtreecommitdiff
path: root/textproc/ndtpd
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 21:08:34 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 21:08:34 +0000
commit81874cb0504f7bed0b985a471f2621ad5119291f (patch)
treec9a41b0911d2204f0ceb7e24df240249b710e648 /textproc/ndtpd
parent04c98a1857f8ec13b78d1923a784bdbfb194b08c (diff)
downloadpkgsrc-81874cb0504f7bed0b985a471f2621ad5119291f.tar.gz
user-destdir support
Diffstat (limited to 'textproc/ndtpd')
-rw-r--r--textproc/ndtpd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/ndtpd/Makefile b/textproc/ndtpd/Makefile
index 184d30c67f7..4badf560f66 100644
--- a/textproc/ndtpd/Makefile
+++ b/textproc/ndtpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2007/04/27 04:08:19 uebayasi Exp $
+# $NetBSD: Makefile,v 1.30 2009/07/07 21:10:44 joerg Exp $
#
DISTNAME= ndtpd-3.1.5
@@ -11,6 +11,7 @@ HOMEPAGE= http://www.sra.co.jp/people/m-kasahr/ndtpd/
COMMENT= Server for accessing CD-ROM books with NDTP
PKG_INSTALLATION_TYPES= pkgviews overwrite
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= makeinfo perl:run
USE_LIBTOOL= YES
@@ -41,10 +42,11 @@ NDTPD_LOGDIR= /var/log
NDTPD_RUNDIR= /var/run
# XXX NDTPD actually uses ${NDTPD_RUNDIR}/ndtpd.
+INSTALLATION_DIRS= ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/ndtpd.conf.sample \
- ${EGDIR}/ndtpd.conf.default
+ ${DESTDIR}${EGDIR}/ndtpd.conf.default
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/eb/buildlink3.mk"