ports/182285: [PATCH] japanese/csrd: take maintainership and etc.
Yasuhiro KIMURA
yasu at utahime.org
Sat Sep 21 19:40:01 UTC 2013
>Number: 182285
>Category: ports
>Synopsis: [PATCH] japanese/csrd: take maintainership and etc.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 21 19:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Yasuhiro KIMURA
>Release: FreeBSD 9.1-RELEASE-p7 amd64
>Organization:
>Environment:
System: FreeBSD xxxx 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0 r255449: Tue Sep 10 22:31:57 JST 2013 xxxx amd64
>Description:
- Take maintainership.
- Add patch to fix reglur expression bug.
- csrd.fmt (format file) and csrd.gai (gaiji file) are installed
in DATADIR, and quiet.fmt (another format file) and quiet.gai
(another gaiji file) are alose installed there.
- Move information of Japanese document and sample setting of
csrd.rc from pkg-descr to pkg-message.
- Add license information.
- Add new DOCS option.
- Replace pkg-plist with PLIST_DIRS and PLIST_FILES
>How-To-Repeat:
>Fix:
--- patch-ja-csrd begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 327787)
+++ Makefile (working copy)
@@ -3,21 +3,52 @@
PORTNAME= csrd
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/csrd/
-MAINTAINER= ports at FreeBSD.org
+PATCH_SITES= http://green.ribbon.to/~ikazuhiro/dic/files/
+PATCHFILES= csrd.c.diff.gz
+
+MAINTAINER= yasu at utahime.org
COMMENT= Utility for Shogakukan Random House English-Japanese Dictionary
+LICENSE= PUBLIC_DOMAIN
+LICENSE_NAME= Public Domain
+LICENSE_FILE= ${WRKSRC}/csrd.doc
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
MAKEFILE= makefile.unx
ALL_TARGET= csrd
+OPTIONS_DEFINE= DOCS
+
+PLIST_DIRS= %%DATADIR%%
+PLIST_FILES= bin/csrd %%DATADIR%%/csrd.fmt %%DATADIR%%/csrd.gai \
+ %%DATADIR%%/quiet.fmt %%DATADIR%%/quiet.gai
+
+PORTDOCS= README csrd.doc
+
+SUB_FILES= pkg-message
+
NO_STAGE= yes
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/csrd ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/csrd.fmt ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/csrd.gai ${PREFIX}/lib
- ${MKDIR} ${PREFIX}/share/doc/${PKGNAME}
- ${INSTALL_DATA} ${WRKSRC}/csrd.doc ${PREFIX}/share/doc/${PKGNAME}
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/csrd.fmt ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/csrd.gai ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/quiet.fmt ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/quiet.gai ${DATADIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo (revision 327787)
+++ distinfo (working copy)
@@ -1,2 +1,4 @@
SHA256 (csrd-1.0.tar.gz) = 499c4f41e5f70e54e384972ba811ed9065402f440afb8328600dd1dd7335369a
SIZE (csrd-1.0.tar.gz) = 44955
+SHA256 (csrd.c.diff.gz) = a3dfd3d6ad97ce3a2e5539d04c404f39ab9f5ecd275382e4e1fe92754a665250
+SIZE (csrd.c.diff.gz) = 277
Index: files/pkg-message.in
===================================================================
--- files/pkg-message.in (revision 0)
+++ files/pkg-message.in (working copy)
@@ -0,0 +1,9 @@
+**********************************************************************
+If DOCS option is enabled then you can get more information from the
+following document (EUC-JP is used as file charset):
+
+%%DOCSDIR%%/csrd.doc
+
+[Example of %%PREFIX%%/etc/csrd.rc]
+-d /cdrom/data -f %%DATADIR%%/csrd.fmt -g %%DATADIR%%/csrd.gai
+**********************************************************************
Property changes on: files/pkg-message.in
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: pkg-descr
===================================================================
--- pkg-descr (revision 327787)
+++ pkg-descr (working copy)
@@ -1,10 +1,4 @@
CSRD is a utility for Shogakukan Random House English-Japanese
Dictionary on UNIX or MS-DOS box.
-You can get more information from the following document.
-${PREFIX}/share/doc/ja-csrd-1.0/csrd.doc
-
-[Example of ${PREFIX}/etc/csrd.rc]
--d/cdrom/data -f/usr/local/lib/csrd.fmt -g/usr/local/lib/csrd.gai
-
WWW: http://openlab.ring.gr.jp/edict/
Index: pkg-plist
===================================================================
--- pkg-plist (revision 327787)
+++ pkg-plist (working copy)
@@ -1,5 +0,0 @@
-bin/csrd
-lib/csrd.fmt
-lib/csrd.gai
-share/doc/ja-csrd-1.0/csrd.doc
- at dirrm share/doc/ja-csrd-1.0
--- patch-ja-csrd ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list