mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
0d7897f90f
PR: ports/101569 Submitted by: maintainer (IWATSUKI Hiroyuki)
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# New ports collection makefile for: Ruby/Ming-ja
|
|
# Date created: 13 November 2003
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ming
|
|
PORTVERSION= 0.2a.${RUBY_MING_VERSION}
|
|
PORTEPOCH= 1
|
|
CATEGORIES= japanese graphics ruby
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
MASTER_SITE_SUBDIR= mingruby
|
|
PKGNAMEPREFIX= ja-${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-ruby-${RUBY_MING_VERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= don@na.rim.or.jp
|
|
COMMENT= Yet another Ming module for Ruby built with Japanese support
|
|
|
|
LIB_DEPENDS= ming.3:${PORTSDIR}/japanese/ming
|
|
|
|
RUBY_MING_VERSION= 0.1.6
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_SETUP= yes
|
|
CONFIGURE_ARGS= -- --with-ming-include=${PREFIX}/include/ming --with-ming-lib=${PREFIX}/lib
|
|
|
|
DOCS_EN= ChangeLog README.en Usage_en.txt fonts.en
|
|
DOCS_JA= README.ja Usage_ja.txt fonts.ja progress.rd
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
.for f in ${DOCS_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.for f in ${DOCS_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|