summaryrefslogtreecommitdiff
path: root/news/leafnode
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-10-25 13:19:10 +0000
committerobache <obache@pkgsrc.org>2008-10-25 13:19:10 +0000
commit50315503ec63cd51471d8b90c5436bb301f403e1 (patch)
tree5ef903605d1b6b1f42aa269de240cdb40c7d5822 /news/leafnode
parent670e90faa9ede3069ccae5ab9ae5381459f79cac (diff)
downloadpkgsrc-50315503ec63cd51471d8b90c5436bb301f403e1.tar.gz
Added DESTDIR support.
Fixes PR 38544.
Diffstat (limited to 'news/leafnode')
-rw-r--r--news/leafnode/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile
index 8f148608e3e..8ecfa6d6984 100644
--- a/news/leafnode/Makefile
+++ b/news/leafnode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2007/09/08 21:57:58 jlam Exp $
+# $NetBSD: Makefile,v 1.40 2008/10/25 13:19:10 obache Exp $
DISTNAME= leafnode-1.11.3.rel
PKGNAME= ${DISTNAME:S/.rel//}
@@ -11,6 +11,8 @@ MAINTAINER= cjep@NetBSD.org
HOMEPAGE= http://leafnode.sourceforge.net/
COMMENT= NNTP server for small (dialup) sites
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= cyrus-imapd<2.2.10nb2
WRKSRC= ${WRKDIR}/${DISTNAME}
@@ -63,15 +65,16 @@ CONFIGURE_ARGS+= --without-ipv6
TEST_TARGET= check
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/leafnode
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/leafnode
${INSTALL_DATA} ${WRKSRC}/config.example \
- ${PREFIX}/share/examples/leafnode
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/leafnode
+ ${DESTDIR}${PREFIX}/share/examples/leafnode
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/leafnode
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README-FQDN \
${WRKSRC}/README-MAINTAINER \
${WRKSRC}/README-daemontools \
- ${WRKSRC}/README.FIRST ${PREFIX}/share/doc/leafnode
+ ${WRKSRC}/README.FIRST \
+ ${DESTDIR}${PREFIX}/share/doc/leafnode
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"