From 7254742fb72372e1b9976ffba46a8b41bb0de101 Mon Sep 17 00:00:00 2001 From: taoka Date: Mon, 21 Feb 2000 17:06:44 +0000 Subject: Fix MASTER_SITES PR: 16867 Submitted by: KATO Tsuguru No response from: maintainer --- converters/uudx/Makefile | 5 +++-- converters/uudx/files/Makefile | 8 ++++---- converters/uudx/files/patch-aa | 11 ++++++++++- 3 files changed, 17 insertions(+), 7 deletions(-) (limited to 'converters') 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 */ + } -- cgit