aboutsummaryrefslogtreecommitdiff
path: root/converters/uudx
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2000-02-21 17:06:44 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2000-02-21 17:06:44 +0000
commitf16488e45e90d2f5ba0f1a913b1bb98571ff8e90 (patch)
tree38ad9ccffed8976832681fa989c6f2ce60d7101c /converters/uudx
parent836b0df671869d47562b191b1e4e098ef44cfe67 (diff)
downloadports-f16488e45e90d2f5ba0f1a913b1bb98571ff8e90.tar.gz
ports-f16488e45e90d2f5ba0f1a913b1bb98571ff8e90.zip
Notes
Diffstat (limited to 'converters/uudx')
-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 8c77dc92c2db..1906bf47533a 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 341536aa6c3e..e8682a54a787 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 f07488104f18..a4547027578f 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 */
+ }