aboutsummaryrefslogtreecommitdiff
path: root/japanese/esecanna-module-wnn6/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-09 12:53:35 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-09 12:53:35 +0000
commit730bcef2fe567c1e672b4f13b8de13d0290b4acb (patch)
tree11049c15bce2a45767b58db73a4f42afa9b914ac /japanese/esecanna-module-wnn6/Makefile
parent76c2bab691c16aac133d58754eb5db7c57c1a9c9 (diff)
downloadports-730bcef2fe567c1e672b4f13b8de13d0290b4acb.tar.gz
ports-730bcef2fe567c1e672b4f13b8de13d0290b4acb.zip
- Add staging support
- Convert to new LIB_DEPENDS format, USES=gmake - Define DOCS option
Notes
Notes: svn path=/head/; revision=353455
Diffstat (limited to 'japanese/esecanna-module-wnn6/Makefile')
-rw-r--r--japanese/esecanna-module-wnn6/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/japanese/esecanna-module-wnn6/Makefile b/japanese/esecanna-module-wnn6/Makefile
index 5581af26ddde..8af409c608d6 100644
--- a/japanese/esecanna-module-wnn6/Makefile
+++ b/japanese/esecanna-module-wnn6/Makefile
@@ -9,27 +9,26 @@ MASTER_SITES= http://esecanna.netfort.gr.jp/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= knu
DISTNAME= ${PORTNAME}_${PORTVERSION}
+DIST_SUBDIR= esecanna
MAINTAINER= ports@FreeBSD.org
COMMENT= Esecanna module for Wnn6
-LIB_DEPENDS= wnn6.2:${PORTSDIR}/japanese/Wnn6-lib
+LIB_DEPENDS= libwnn6.so:${PORTSDIR}/japanese/Wnn6-lib
RUN_DEPENDS= ${LOCALBASE}/sbin/esecannaserver:${PORTSDIR}/japanese/esecanna
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
LDFLAGS+= -L${PREFIX}/lib
CFLAGS+= -I${PREFIX}/include/wnn6
-DIST_SUBDIR= esecanna
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/esecanna
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/esecanna
.for i in README CHANGES
- ${INSTALL_DATA} ${WRKSRC}/${i}.jp ${PREFIX}/share/doc/esecanna/${i}.wnn6.jp
+ ${INSTALL_DATA} ${WRKSRC}/${i}.jp \
+ ${STAGEDIR}${PREFIX}/share/doc/esecanna/${i}.wnn6.jp
.endfor
-.endif
.include <bsd.port.mk>