From 2bae2dbbdb0731f7c01f09b42ea0457b119b4baa Mon Sep 17 00:00:00 2001 From: Automaton Date: Sun, 9 Dec 2012 05:25:42 +0100 Subject: [PATCH] Import japanese/epwutil version 1.1 --- japanese/epwutil/Makefile | 46 +++++++++++++++++++++++ japanese/epwutil/distinfo | 2 + japanese/epwutil/files/patch-makefile.unx | 13 +++++++ japanese/epwutil/pkg-descr | 13 +++++++ japanese/epwutil/pkg-plist | 3 ++ 5 files changed, 77 insertions(+) create mode 100644 japanese/epwutil/Makefile create mode 100644 japanese/epwutil/distinfo create mode 100644 japanese/epwutil/files/patch-makefile.unx create mode 100644 japanese/epwutil/pkg-descr create mode 100644 japanese/epwutil/pkg-plist diff --git a/japanese/epwutil/Makefile b/japanese/epwutil/Makefile new file mode 100644 index 00000000000..73a3532b50a --- /dev/null +++ b/japanese/epwutil/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: epwutil +# Date created: 22 January 1999 +# Whom: Kazutoki TAKAMUNE +# +# $FreeBSD: ports/japanese/epwutil/Makefile,v 1.12 2012/11/17 05:58:32 svnexp Exp $ +# + +PORTNAME= epwutil +PORTVERSION= 1.1 +CATEGORIES= japanese +MASTER_SITES= http://openlab.ring.gr.jp/edict/epwutil/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Utilities to manage Japanese EPWING or Electric-Book based CD-ROM + +MAKEFILE= makefile.unx +MANLANG= ja + +EPWPROGS= bookinfo catdump squeeze +EPWDOCS= epwutil.doc +EPWDOCDIR= share/doc/epwutil + +do-install: +.for file in ${EPWPROGS} + cd ${WRKSRC};\ + ${INSTALL_PROGRAM} ${file} ${PREFIX}/bin;\ + ${INSTALL_MAN} ${file}.man ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1 +.if !defined(NOMANCOMPRESS) + ${GZIP_CMD} ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1 +.endif +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/${EPWDOCDIR} + cd ${WRKSRC}; ${INSTALL_DATA} ${EPWDOCS} ${PREFIX}/${EPWDOCDIR} +.endif + +post-install: +.for file in ${EPWPROGS} + ${ECHO_CMD} man/${MANLANG}/cat1/${file}.1${MANEXT} >> ${TMPPLIST} +.endfor +.if !defined(NOPORTDOCS) + ${ECHO_CMD} ${EPWDOCDIR}/${EPWDOCS} >> ${TMPPLIST} + ${ECHO_CMD} "@dirrm ${EPWDOCDIR}" >> ${TMPPLIST} +.endif + +.include diff --git a/japanese/epwutil/distinfo b/japanese/epwutil/distinfo new file mode 100644 index 00000000000..7af50862f06 --- /dev/null +++ b/japanese/epwutil/distinfo @@ -0,0 +1,2 @@ +SHA256 (epwutil-1.1.tar.gz) = a45c4998a7b4fc0c3c9ad5eeadc24faa3517432bec46d9980b0fe691504ae9fb +SIZE (epwutil-1.1.tar.gz) = 39611 diff --git a/japanese/epwutil/files/patch-makefile.unx b/japanese/epwutil/files/patch-makefile.unx new file mode 100644 index 00000000000..60a227bbe97 --- /dev/null +++ b/japanese/epwutil/files/patch-makefile.unx @@ -0,0 +1,13 @@ +--- makefile.unx.orig Wed Oct 22 16:55:42 2003 ++++ makefile.unx Wed Oct 22 16:55:57 2003 +@@ -1,7 +1,8 @@ + # EPWUTIL Makefile for UNIX/gcc + +-CC = gcc +-CFLAGS = -DUNIX -DEUC ++CC ?= cc ++CFLAGS ?= -O -pipe ++CFLAGS += -DUNIX -DEUC + + .c.o: + $(CC) -c $(CFLAGS) $*.c diff --git a/japanese/epwutil/pkg-descr b/japanese/epwutil/pkg-descr new file mode 100644 index 00000000000..34950f2c3c6 --- /dev/null +++ b/japanese/epwutil/pkg-descr @@ -0,0 +1,13 @@ +Epwutil contains following utilities: + +bookinfo - view a component of the book to know how to downsize it. +catdump - edit and concatenate the CD-ROM catalogue files. +squeeze - remove multi-media data(image or audio) and indexes for conditional + or compound search from the book. + +Bookinfo and squeeze can not be used for EPWING V4 and later. +See "Section 5: Restriction" in epwutil.doc. + +In use of this programs, you have to check the agreement of your CD-ROM books +on making copies or modifying books for personal use. +See "Section 2: Before using epwutil" in epwutil.doc. diff --git a/japanese/epwutil/pkg-plist b/japanese/epwutil/pkg-plist new file mode 100644 index 00000000000..1d4be6d7834 --- /dev/null +++ b/japanese/epwutil/pkg-plist @@ -0,0 +1,3 @@ +bin/bookinfo +bin/catdump +bin/squeeze -- 2.41.0