summaryrefslogtreecommitdiff
path: root/news/tin
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-02-16 09:56:09 +0000
committerwiz <wiz@pkgsrc.org>2009-02-16 09:56:09 +0000
commitcdde4ae49777a038989adfead50aab64a2e02163 (patch)
treeaeec87b6ebb47432098f3aca39e5c883ee3751fa /news/tin
parent1415ebc7026d26fc89501dd8364d7e81fb2d7e66 (diff)
downloadpkgsrc-cdde4ae49777a038989adfead50aab64a2e02163.tar.gz
Convert to user-destdir.
Diffstat (limited to 'news/tin')
-rw-r--r--news/tin/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index e9b97898cfc..9851b32d64e 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2008/09/12 11:33:44 gdt Exp $
+# $NetBSD: Makefile,v 1.37 2009/02/16 09:56:09 wiz Exp $
#
DISTNAME= tin-1.8.3
@@ -21,6 +21,10 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR=yes
+
+INSTALLATION_DIRS= share/doc/tin
+PKG_DESTDIR_SUPPORT= user-destdir
+
# for tinews.pl
USE_TOOLS+= perl:run yacc
REPLACE_PERL= tools/*.pl
@@ -52,8 +56,7 @@ post-configure:
${ECHO} '#define SMTP_SERVER_FILE "${PREFIX}/etc/smtpserver"' >>${WRKSRC}/include/autoconf.h
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tin
- ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${PREFIX}/share/doc/tin
+ ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin
.include "../../converters/libiconv/buildlink3.mk"
.include "../../converters/uulib/buildlink3.mk"