ports/182285: [PATCH] japanese/csrd: take maintainership and etc.
Yasuhiro KIMURA
yasu at utahime.org
Wed Sep 25 15:08:58 UTC 2013
Staging support is added. So please commit attached patch instead of
original one.
Regards.
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 328266)
+++ Makefile (working copy)
@@ -3,21 +3,48 @@
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
-NO_STAGE= yes
+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
+
+.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}
+ ${INSTALL_PROGRAM} ${WRKSRC}/csrd ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/csrd.fmt ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/csrd.gai ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/quiet.fmt ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/quiet.gai ${STAGEDIR}${DATADIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo (revision 328266)
+++ 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: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
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
Index: pkg-descr
===================================================================
--- pkg-descr (revision 328266)
+++ 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 328266)
+++ 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
More information about the freebsd-ports-bugs
mailing list