aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2000-02-22 01:06:44 +0800
committertaoka <taoka@FreeBSD.org>2000-02-22 01:06:44 +0800
commit7254742fb72372e1b9976ffba46a8b41bb0de101 (patch)
treec938f094d071efee5a88431b6e4493c36e3a5702 /converters
parent7dc79dc627c563ff45b14a3fe1feb38fe24525bc (diff)
downloadfreebsd-ports-graphics-7254742fb72372e1b9976ffba46a8b41bb0de101.tar.gz
freebsd-ports-graphics-7254742fb72372e1b9976ffba46a8b41bb0de101.tar.zst
freebsd-ports-graphics-7254742fb72372e1b9976ffba46a8b41bb0de101.zip
Fix MASTER_SITES
PR: 16867 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> No response from: maintainer
Diffstat (limited to 'converters')
-rw-r--r--converters/uudx/Makefile5
-rw-r--r--converters/uudx/files/Makefile8
-rw-r--r--converters/uudx/files/patch-aa11
3 files changed, 17 insertions, 7 deletions
diff --git a/converters/uudx/Makefile b/converters/uudx/Makefile
index 8c77dc92c2d..1906bf47533 100644
--- a/converters/uudx/Makefile
+++ b/converters/uudx/Makefile
@@ -9,7 +9,7 @@
DISTNAME= uudx_299
PKGNAME= uudx-2.99
CATEGORIES= converters
-MASTER_SITES= ftp://ftp.ae.keio.ac.jp/pub/msdos/archivers/uu/
+MASTER_SITES= ftp://ftp.vector.co.jp/pack/dos/util/bin/conv/
EXTRACT_SUFX= .lzh
MAINTAINER= rewsirow@ff.iij4u.or.jp
@@ -18,8 +18,9 @@ BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha \
nkf:${PORTSDIR}/japanese/nkf
EXTRACT_CMD= lha
-EXTRACT_BEFORE_ARGS= xqw=${WRKDIR}
+EXTRACT_BEFORE_ARGS= xfqw=${WRKDIR}
EXTRACT_AFTER_ARGS= # empty
+
NO_WRKSUBDIR= yes
MANLANG= ja
MAN1= uudx.1
diff --git a/converters/uudx/files/Makefile b/converters/uudx/files/Makefile
index 341536aa6c3..e8682a54a78 100644
--- a/converters/uudx/files/Makefile
+++ b/converters/uudx/files/Makefile
@@ -1,11 +1,12 @@
#
# makefile of uudx
#
+# $FreeBSD$
CFLAGS += -DBSD=1 -DEUC=1 -DUTIME_EXIST -DMKDIR_HAS_MODE
PROGRAM = uudx
MANPAGE = uudx.1
-MANDIR = ${PREFIX}/man/ja_JP.EUC/man1
+MANDIR = ${PREFIX}/man/ja/man1
SRC = uudx.c
OBJ = uudx.o
@@ -17,6 +18,5 @@ ${PROGRAM}: ${OBJ}
mv -f ${MANPAGE}.tmp ${MANPAGE}
install: ${PROGRAM}
- ${INSTALL} -c -s ${PROGRAM} ${PREFIX}/bin
- mkdir -p ${MANDIR}
- ${INSTALL} -c ${MANPAGE} ${MANDIR}
+ ${BSD_INSTALL_PROGRAM} ${PROGRAM} ${PREFIX}/bin
+ ${BSD_INSTALL_MAN} ${MANPAGE} ${MANDIR}
diff --git a/converters/uudx/files/patch-aa b/converters/uudx/files/patch-aa
index f07488104f1..a4547027578 100644
--- a/converters/uudx/files/patch-aa
+++ b/converters/uudx/files/patch-aa
@@ -1,5 +1,5 @@
--- uudx.c.orig Sun Jan 29 16:44:42 1995
-+++ uudx.c Mon Sep 15 02:05:44 1997
++++ uudx.c Sat Feb 12 19:31:31 2000
@@ -89,7 +89,11 @@
#else
#define strchr index
@@ -12,3 +12,12 @@
extern char *strcpy();
#endif /* BSD */
+@@ -346,7 +350,7 @@
+ norm_dir(work_file_name, p);
+ }
+ strcat(work_file_name, "udXXXXXX");
+- if (mktemp(work_file_name) == NULL) {
++ if (mkstemp(work_file_name) == NULL) {
+ cant("make", "work_file_name", 1);
+ /* NOTREACHED */
+ }