Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2000 20:09:45 +0900 (JST)
From:      takamune@avrl.mei.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18045: Update: japanese/epwutil
Message-ID:  <200004171109.UAA03800@dream.vrl.mei.co.jp>

next in thread | raw e-mail | index | archive | help

>Number:         18045
>Category:       ports
>Synopsis:       Update: japanese/epwutil
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 17 04:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kazu TAKAMUNE
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Matsushita Electric Industrial Co., Ltd.
>Environment:

FreeBSD 4.0-STABLE(Mon Apr 17 12:22:16 JST 2000)
ports/Mk/bsd.port.mk,v 1.336 2000/04/16 11:35:52

>Description:

Please apply this patch to upgrade the port (of which I'm the maintainer).
  - Update japanese/epwutil for the latest version ja-epwutil-1.1
    (`catdump' and `squeeze' newly support EBG-format with `-g' option).
  - Keep to the regulations of NOPORTDOCS.
  - Generate PLIST precisely.
  - No files have been added or removed.

>How-To-Repeat:
>Fix:
diff -x CVS -Nur /usr/ports/japanese/epwutil/Makefile japanese/epwutil/Makefile
--- /usr/ports/japanese/epwutil/Makefile	Wed Apr 12 10:45:36 2000
+++ japanese/epwutil/Makefile	Thu Apr 13 19:00:00 2000
@@ -6,30 +6,40 @@
 #
 
 PORTNAME=	epwutil
-PORTVERSION=	1.0
+PORTVERSION=	1.1
 CATEGORIES=	japanese
-MASTER_SITES=	ftp://ftp.nerimadors.or.jp/pub/epwutil/
+MASTER_SITES=	http://openlab.ring.gr.jp/edict/epwutil/
 
 MAINTAINER=	takamune@avrl.mei.co.jp
 
-NO_WRKSUBDIR=	yes
 MAKEFILE=	makefile.unx
 MANLANG=	ja
 
 EPWPROGS=	bookinfo catdump squeeze
 EPWDOCS=	epwutil.doc
-EPWDOCDIR=	${PREFIX}/share/doc/epwutil
+EPWDOCDIR=	share/doc/epwutil
 
 do-install:
-	cd ${WRKSRC}; ${INSTALL_PROGRAM} ${EPWPROGS} ${PREFIX}/bin
 .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
-	@${MKDIR} ${EPWDOCDIR}
-	cd ${WRKSRC}; ${INSTALL_DATA} ${EPWDOCS} ${EPWDOCDIR}
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${PREFIX}/${EPWDOCDIR}
+	cd ${WRKSRC}; ${INSTALL_DATA} ${EPWDOCS} ${PREFIX}/${EPWDOCDIR}
+.endif
+
+post-install:
+.for file in ${EPWPROGS}
+	${ECHO} man/${MANLANG}/cat1/${file}.1${MANEXT} >> ${TMPPLIST}
+.endfor
+.if !defined(NOPORTDOCS)
+	${ECHO} ${EPWDOCDIR}/${EPWDOCS} >> ${TMPPLIST}
+	${ECHO} "@dirrm ${EPWDOCDIR}" >> ${TMPPLIST}
+.endif
 
 .include <bsd.port.mk>
diff -x CVS -Nur /usr/ports/japanese/epwutil/files/md5 japanese/epwutil/files/md5
--- /usr/ports/japanese/epwutil/files/md5	Sat Mar 13 14:28:06 1999
+++ japanese/epwutil/files/md5	Thu Apr 13 19:00:00 2000
@@ -1 +1 @@
-MD5 (epwutil-1.0.tar.gz) = 3425ac2f0f0ef1e823a654ab824aee6a
+MD5 (epwutil-1.1.tar.gz) = afb59f9c549edbc5580172c42f1d2ae2
diff -x CVS -Nur /usr/ports/japanese/epwutil/pkg/PLIST japanese/epwutil/pkg/PLIST
--- /usr/ports/japanese/epwutil/pkg/PLIST	Sat Mar 13 14:28:06 1999
+++ japanese/epwutil/pkg/PLIST	Thu Apr 13 19:00:00 2000
@@ -1,8 +1,3 @@
 bin/bookinfo
 bin/catdump
 bin/squeeze
-share/doc/epwutil/epwutil.doc
-man/ja/cat1/bookinfo.1.gz
-man/ja/cat1/catdump.1.gz
-man/ja/cat1/squeeze.1.gz
-@dirrm share/doc/epwutil

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004171109.UAA03800>