aboutsummaryrefslogtreecommitdiff
path: root/japanese/csrd/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-10-23 12:31:45 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-10-23 12:31:45 +0000
commit40b020793032c5b947e54b0822101c7cb3160cb0 (patch)
treeba120f1449d09f2a1ab1d0fcb52dca076d28a1ad /japanese/csrd/Makefile
parent1c26c17a5a6f2339413951f1746f097911147635 (diff)
downloadports-40b020793032c5b947e54b0822101c7cb3160cb0.tar.gz
ports-40b020793032c5b947e54b0822101c7cb3160cb0.zip
Notes
Diffstat (limited to 'japanese/csrd/Makefile')
-rw-r--r--japanese/csrd/Makefile40
1 files changed, 33 insertions, 7 deletions
diff --git a/japanese/csrd/Makefile b/japanese/csrd/Makefile
index 1aec4282138a..e96d579960d4 100644
--- a/japanese/csrd/Makefile
+++ b/japanese/csrd/Makefile
@@ -3,21 +3,47 @@
PORTNAME= csrd
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/csrd/
-MAINTAINER= ports@FreeBSD.org
+PATCH_SITES= http://green.ribbon.to/~ikazuhiro/dic/files/
+PATCHFILES= csrd.c.diff.gz
+
+MAINTAINER= yasu@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
+MAKE_ARGS= CC="${CC}"
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}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
.include <bsd.port.mk>