summaryrefslogtreecommitdiff
path: root/news
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
commit4bf4a18365d6880ee00a344cda18f7989ef0e89b (patch)
treeaeec87b6ebb47432098f3aca39e5c883ee3751fa /news
parente13d241a46a6c4bd2493f5abe9e76210ad3f1528 (diff)
downloadpkgsrc-4bf4a18365d6880ee00a344cda18f7989ef0e89b.tar.gz
Convert to user-destdir.
Diffstat (limited to 'news')
-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"