diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-03-11 02:33:17 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-03-11 02:33:17 +0000 |
commit | 6c064f4f531f91a38a2c8d1b90df4aa1f53d96fc (patch) | |
tree | 578a2fb3b6e01d1af67bacd331de66bd19a1ec36 /japanese/skk-tools/Makefile | |
parent | - Update to 4.5.12 (diff) |
- Update to 1.3.3
PR: 180690
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=347829
Diffstat (limited to 'japanese/skk-tools/Makefile')
-rw-r--r-- | japanese/skk-tools/Makefile | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/japanese/skk-tools/Makefile b/japanese/skk-tools/Makefile index bd6e088e88c8..92067bee8e2e 100644 --- a/japanese/skk-tools/Makefile +++ b/japanese/skk-tools/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= skk-tools -PORTVERSION= 1.3.2 +PORTVERSION= 1.3.3 PORTEPOCH= 1 CATEGORIES= japanese MASTER_SITES= RINGSERVER/elisp/skk/tools \ @@ -14,10 +14,6 @@ COMMENT= Jisyo-tools for the SKK Japanese-input software LICENSE= GPLv2 -OPTIONS_DEFINE= EXPR2 -OPTIONS_DEFAULT= EXPR2 -EXPR2_DESC= Build skkdic-expr2 (needs glib-2.x) - GNU_CONFIGURE= yes DOCSDIR= ${PREFIX}/share/doc/skk @@ -25,25 +21,28 @@ DOCSDIR= ${PREFIX}/share/doc/skk PORTDOCS= README.skktools PLIST_FILES= bin/skkdic-count bin/skkdic-expr bin/skkdic-sort -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXPR2 +OPTIONS_DEFAULT= EXPR2 + +EXPR2_DESC= Build skkdic-expr2 (needs glib-2.x) +EXPR2_USES= pkgconfig +EXPR2_USE= GNOME=glib20 +EXPR2_PLIST_FILES= bin/skkdic-expr2 +EXPR2_CONFIGURE_WITH= skkdic-expr2 + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MEXPR2} -USE_GNOME= glib20 -USES+= pkgconfig PORTDOCS+= README.skkdic-expr2 -PLIST_FILES+= bin/skkdic-expr2 -.else -CONFIGURE_ARGS= --without-skkdic-expr2 .endif +post-build: + @${LN} -sf README.C ${WRKSRC}/READMEs/README.skktools + post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/READMEs/README.C ${DOCSDIR}/README.skktools -.if ${PORT_OPTIONS:MEXPR2} - ${INSTALL_DATA} ${WRKSRC}/READMEs/README.skkdic-expr2 ${DOCSDIR} -.endif -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for i in ${PORTDOCS} + (cd ${WRKSRC}/READMEs && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) +.endfor .include <bsd.port.mk> |