summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-04-08 23:10:29 +0000
committerjlam <jlam@pkgsrc.org>2006-04-08 23:10:29 +0000
commit029dae6d8dccc606f1326c333a8eeed361faa2d0 (patch)
treee9a527aee8728263308a2191bf67ea0a6bd84e6f /textproc
parent9ee6553610a27105023347c27faafbb1e71d6347 (diff)
downloadpkgsrc-029dae6d8dccc606f1326c333a8eeed361faa2d0.tar.gz
Remove work directory references in the ndtpdaily script.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ndtpd/Makefile8
-rw-r--r--textproc/ndtpd/distinfo4
-rw-r--r--textproc/ndtpd/patches/patch-ad13
-rw-r--r--textproc/ndtpd/patches/patch-ae13
4 files changed, 35 insertions, 3 deletions
diff --git a/textproc/ndtpd/Makefile b/textproc/ndtpd/Makefile
index 1e61e2c2ced..cb8bad99d4a 100644
--- a/textproc/ndtpd/Makefile
+++ b/textproc/ndtpd/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2006/04/07 19:54:17 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2006/04/08 23:10:29 jlam Exp $
#
DISTNAME= ndtpd-3.1.5
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= textproc japanese
MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/
@@ -25,6 +25,10 @@ CONFIGURE_ARGS+= --with-eb
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-eb-conf=${PKG_SYSCONFDIR.eb}/eb.conf
+CONFIGURE_ENV+= ac_cv_path_BZIP2=bzip2
+CONFIGURE_ENV+= ac_cv_path_COMPRESS=compress
+CONFIGURE_ENV+= ac_cv_path_GZIPCMD=gzip
+
# For INSTALL/DEINSTALL scripts.
CONF_FILES= ${EGDIR}/ndtpd.conf.default ${PKG_SYSCONFDIR}/ndtpd.conf
RCD_SCRIPTS= ndtpd
diff --git a/textproc/ndtpd/distinfo b/textproc/ndtpd/distinfo
index 6307340b91f..b44776e4388 100644
--- a/textproc/ndtpd/distinfo
+++ b/textproc/ndtpd/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.7 2005/11/08 19:48:49 tv Exp $
+$NetBSD: distinfo,v 1.8 2006/04/08 23:10:29 jlam Exp $
SHA1 (ndtpd-3.1.5.tar.gz) = 0445cf4c9be4373f0ed06a545a0665f5e6fad7aa
RMD160 (ndtpd-3.1.5.tar.gz) = 6b54e2e3d4ca30f4c78363696d9127edf72deece
Size (ndtpd-3.1.5.tar.gz) = 558367 bytes
SHA1 (patch-aa) = 79bff6268ccd29b829be1e95d923c64d32873551
SHA1 (patch-ac) = e45fe692355d6dae0b5a56f4e32201cbd606f125
+SHA1 (patch-ad) = a7660a372ca2769d373c7fbffb72a8b017b332ee
+SHA1 (patch-ae) = 9846c086be119acce30896c2230fa2ad185a3c66
diff --git a/textproc/ndtpd/patches/patch-ad b/textproc/ndtpd/patches/patch-ad
new file mode 100644
index 00000000000..36423210096
--- /dev/null
+++ b/textproc/ndtpd/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/04/08 23:10:29 jlam Exp $
+
+--- src/Makefile.in.orig 2003-05-23 23:47:52.000000000 -0400
++++ src/Makefile.in
+@@ -574,6 +574,8 @@ ndtpdaily: getopt_long.pl ndtpdaily.in M
+ NDTPSTAT="`echo ndtpstat | sed '$(transform)'`"; \
+ sed -e 's;\@logdir\@;$(logdir);' \
+ -e 's;\@libexecdir\@;$(libexecdir);' \
++ -e 's;\@prefix\@;$(prefix);' \
++ -e 's;\@LOCALBASE\@;$(LOCALBASE);' \
+ -e 's;\@VERSION\@;$(VERSION);' \
+ -e 's;\@MAILX\@;$(MAILX);' \
+ -e 's;\@COMPRESS\@;$(COMPRESS);' \
diff --git a/textproc/ndtpd/patches/patch-ae b/textproc/ndtpd/patches/patch-ae
new file mode 100644
index 00000000000..60fc2129e20
--- /dev/null
+++ b/textproc/ndtpd/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2006/04/08 23:10:29 jlam Exp $
+
+--- src/ndtpdaily.in.orig 2001-02-03 08:18:05.000000000 -0500
++++ src/ndtpdaily.in
+@@ -24,7 +24,7 @@ $, = ' ';
+ umask(022);
+
+ # PATH
+-$ENV{'PATH'} = '/usr/bin:/bin';
++$ENV{'PATH'} = '@prefix@/bin:@LOCALBASE@/bin:/usr/bin:/bin';
+ $ENV{'PATH'} .= ':/usr/ucb' if (-d '/usr/ucb');
+
+ # Program name, program version and mailing address.