summaryrefslogtreecommitdiff
path: root/chat/zephyr
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-10-29 21:53:10 +0000
committertnn <tnn@pkgsrc.org>2009-10-29 21:53:10 +0000
commit78586534babdf828496b1122b1841cfc0feb7fe5 (patch)
treea7ba03e9e90d324d5c968204dd98c2608028ee4a /chat/zephyr
parente2cf9d0efc0a4d7cda55cd0253b3c619274e25a3 (diff)
downloadpkgsrc-78586534babdf828496b1122b1841cfc0feb7fe5.tar.gz
Support DESTDIR and PKGMANDIR
Diffstat (limited to 'chat/zephyr')
-rw-r--r--chat/zephyr/Makefile16
-rw-r--r--chat/zephyr/distinfo4
-rw-r--r--chat/zephyr/patches/patch-ai11
3 files changed, 15 insertions, 16 deletions
diff --git a/chat/zephyr/Makefile b/chat/zephyr/Makefile
index 84142f86b5e..1ed18722a7d 100644
--- a/chat/zephyr/Makefile
+++ b/chat/zephyr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2009/05/20 00:58:08 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2009/10/29 21:53:10 tnn Exp $
#
DISTNAME= zephyr-20010518
@@ -10,6 +10,8 @@ MAINTAINER= sommerfeld@NetBSD.org
HOMEPAGE= http://web.mit.edu/olh/Zephyr/index.html
COMMENT= Project Athena's original Instant Messaging system
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/zephyr
GNU_CONFIGURE= YES
@@ -33,11 +35,17 @@ CONF_FILES= ${EGDIR}/default.subscriptions \
RCD_SCRIPTS= zhm
+SUBST_CLASSES+= mandir
+SUBST_STAGE.mandir= pre-configure
+SUBST_MESSAGE.mandir= Fixing mandir in Makefile.in
+SUBST_FILES.mandir= */*/Makefile.in */Makefile.in Makefile.in
+SUBST_SED.mandir= -e 's,$${prefix}/man,@mandir@,g'
+
pre-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA_DIR} ${ZEPHYR_DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${ZEPHYR_DOCDIR}
.for f in ${ZEPHYR_DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${ZEPHYR_DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${ZEPHYR_DOCDIR}
.endfor
.include "../../devel/readline/buildlink3.mk"
diff --git a/chat/zephyr/distinfo b/chat/zephyr/distinfo
index 720ebd9d2f8..0d6df02716c 100644
--- a/chat/zephyr/distinfo
+++ b/chat/zephyr/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2009/09/23 13:31:31 tnn Exp $
+$NetBSD: distinfo,v 1.6 2009/10/29 21:53:10 tnn Exp $
SHA1 (zephyr-20010518.tar.gz) = cd2fca9c2f0bfaa8e69c94813bedc87d66d3ac1c
RMD160 (zephyr-20010518.tar.gz) = 1082db0df40e4ac1007e4b2b4f8adc15cf8a8ab0
@@ -10,7 +10,7 @@ SHA1 (patch-ae) = e0d0776b891db5b8542285899e22c886337cc6c7
SHA1 (patch-af) = 4ebb22fa3c1b2ed351ee267be737d34d8292129c
SHA1 (patch-ag) = 2c756da1e62613333cca2b68ca9b5f6c96e0f147
SHA1 (patch-ah) = 8282d416d24eafcb40ead93d4c376f1e8e80b207
-SHA1 (patch-ai) = 2e6a35f15cca8912ddbda5c2aad73102be01be4a
+SHA1 (patch-ai) = bfa2d01d20884d31e58bd12a171938504d929e28
SHA1 (patch-aj) = 3ec4b1624e2eecefe129ac53e870ce2fb2bce236
SHA1 (patch-ak) = 7c2084aac1e4b30124c380fbc369cb6a6b41eb17
SHA1 (patch-al) = d61151a84bb9a55c21b2d757650064390127f8c8
diff --git a/chat/zephyr/patches/patch-ai b/chat/zephyr/patches/patch-ai
index 79d1cc43457..9bdd167d542 100644
--- a/chat/zephyr/patches/patch-ai
+++ b/chat/zephyr/patches/patch-ai
@@ -1,16 +1,7 @@
-$NetBSD: patch-ai,v 1.2 2009/09/23 13:31:32 tnn Exp $
+$NetBSD: patch-ai,v 1.3 2009/10/29 21:53:10 tnn Exp $
--- Makefile.in.orig 1998-06-11 21:10:02.000000000 +0200
+++ Makefile.in
-@@ -7,7 +7,7 @@ sysconfdir=@sysconfdir@
- sbindir=@sbindir@
-
- includedir=${prefix}/include
--mandir=${prefix}/man
-+mandir=${prefix}/${PKGMANDIR}
- bindir=${exec_prefix}/bin
- libdir=${exec_prefix}/lib
-
@@ -31,8 +31,6 @@ install:
${ENSUREDIR} ${DESTDIR}${libdir} 755
${ENSUREDIR} ${DESTDIR}${datadir} 755