Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2009 10:03:17 +0900 (JST)
From:      Hiroto Kagotani <hiroto.kagotani@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mich@FreeBSD.org
Subject:   ports/136259: [PATCH] sysutils/libcdio: incorrect japanese manpage installation
Message-ID:  <200907030103.n6313HjO037572@luna3.auto.infsys.cne.okayama-u.ac.jp>
Resent-Message-ID: <200907030110.n631A5sZ048908@freefall.freebsd.org>

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

>Number:         136259
>Category:       ports
>Synopsis:       [PATCH] sysutils/libcdio: incorrect japanese manpage installation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 03 01:10:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Hiroto Kagotani
>Release:        FreeBSD 7.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD myhost.mydomain 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009
>Description:
Japanese manpage cd-paranoia.1 is installed into /usr/local/man/jp/man1
without gzipping.  pkg_delete will not remove this file as it is not
registerd in the PLIST.
Also, Japanese manpages should be placed in /usr/local/man/ja.

Port maintainer (mich@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libcdio-0.78.2_2.patch begins here ---
diff -ruN --exclude=CVS /usr/origports/sysutils/libcdio/Makefile /usr/ports/sysutils/libcdio/Makefile
--- /usr/origports/sysutils/libcdio/Makefile	2008-06-06 23:03:13.000000000 +0900
+++ /usr/ports/sysutils/libcdio/Makefile	2009-07-03 09:35:27.000000000 +0900
@@ -36,6 +36,7 @@
 .ifdef(WITH_PARANOIA)
 LIB_DEPENDS+=	cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
 PLIST_SUB+=	PARANOIA=""
+MANLANG=	"" ja
 MAN1=	cd-paranoia.1
 .else
 CONFIGURE_ARGS+=	--without-cd-paranoia
@@ -43,7 +44,10 @@
 .endif
 
 post-patch:
-.ifndef(WITH_PARANOIA)
+.ifdef(WITH_PARANOIA)
+	${REINPLACE_CMD} -e 's|/jp/man1|/ja/man1|' \
+		 ${WRKSRC}/src/cd-paranoia/doc/jp/Makefile.in
+.else
 	${REINPLACE_CMD} -e 's|libcdio_paranoia.pc||; s|libcdio_cdda.pc||' \
 		 ${WRKSRC}/Makefile.in
 .endif
--- libcdio-0.78.2_2.patch ends here ---

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



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