1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/japanese/canna-server/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

36 lines
823 B
Makefile

# Created by: hrs
# $FreeBSD$
PORTNAME= canna
PORTVERSION= 3.7p3
PORTREVISION= 10
CATEGORIES= japanese
MASTER_SITES= OSDN/canna/9565
PKGNAMESUFFIX= -server
DISTNAME= Canna${PORTVERSION:S/.//g}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Kana-to-Kanji conversion system, binary part
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libcanna.so:japanese/canna-lib
USES= imake tar:bzip2
USE_RC_SUBR= canna
INSTALL_TARGET= instserver instclient
PORTDOCS= canna.bib canna.sty Imakefile README.jp Makefile \
intern lisp man
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
post-install:
@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} install.man
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${CP} -R ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>