1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/m17n-docs/Makefile
John Marino 14a2422c38 devel/m17n-docs: Remove first MASTER_SITE
As the m17n project has been discontinued, the files are no longer
available for download.  The second MASTER_SITE is still working however.
Remove invalid www.m17n.org entry from the MASTER_SITES list.

PR:		ports/179662
Approved by:	maintainer timeout (>3 weeks), bapt (mentor)
2013-07-12 22:54:10 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
# $FreeBSD$
PORTNAME= m17n-docs
PORTVERSION= 1.5.5
CATEGORIES= devel
MASTER_SITES= http://anthesphoria.net/FreeBSD/ports/distfiles/
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= m17n library documentation
NO_BUILD= yes
OPTIONS_DEFINE= JAPANESE
JAPANESE_DESC= Japanese documentation (HTML and PDF)
.include "${.CURDIR}/Makefile.man"
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MJAPANESE}
PLIST_SUB+= JAPANESE=""
.else
PLIST_SUB+= JAPANESE="@comment "
.endif
DOCSDIR= ${PREFIX}/share/doc/m17n
do-install:
${MKDIR} ${DOCSDIR}/en
@${INSTALL_MAN} ${MAN1:S|^|${WRKSRC}/man/man1/|} ${MANPREFIX}/man/man1
@${INSTALL_MAN} ${MAN3:S|^|${WRKSRC}/man/man3/|} ${MANPREFIX}/man/man3
@${INSTALL_MAN} ${MAN5:S|^|${WRKSRC}/man/man5/|} ${MANPREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/usr/latex/m17n-lib.pdf ${DOCSDIR}/en
(cd ${WRKSRC}/usr/ && ${COPYTREE_SHARE} html ${DOCSDIR}/en/)
.if defined(WITH_JAPANESE)
${MKDIR} ${DOCSDIR}/ja
${INSTALL_MAN} ${WRKSRC}/ja/latex/m17n-lib.pdf ${DOCSDIR}/ja
(cd ${WRKSRC}/ja/ && ${COPYTREE_SHARE} html ${DOCSDIR}/ja/)
.endif
.include <bsd.port.mk>