1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/ruby-locale/Makefile
2014-02-21 13:36:12 +00:00

38 lines
917 B
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= locale
PORTVERSION= 0.2
PORTREVISION= 2
CATEGORIES= devel ruby
MASTER_SITES= http://freebsd.unixfreunde.de/sources/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= A simple Ruby module that provides setlocale(3)
CONFLICTS= ${PKGNAMEPREFIX}locale2-[0-9]*
#USE_BZIP2= yes # only saves 500 bytes..
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${RUBY_MODDOCDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
.endif
.include <bsd.port.mk>