freebsd-ports/security/ruby-camellia/Makefile
Michael Moll 5c42eedac5 security/ruby-camellia: unbreak build for ruby 2.1+
PR:		199267
Differential Revision:	https://reviews.freebsd.org/D2476
Submitted by:	Yoshisato Yanagisawa <osho@pcc-software.org> (maintainer)
Approved by:	swills (mentor)
2015-05-08 09:21:47 +00:00

38 lines
920 B
Makefile

# Created by: Yoshisato YANAGISAWA <osho@pcc-software.org>
# $FreeBSD$
PORTNAME= camellia
PORTVERSION= 1.2
CATEGORIES= security ruby
MASTER_SITES= http://info.isl.ntt.co.jp/crypt/camellia/dl/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-rb-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= osho@pcc-software.org
COMMENT= Ruby extension library which implements Camellia encryption
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/License.txt
USE_RUBY= yes
USE_RUBY_SETUP= yes
INSTALL_TARGET= site-install
DOCS= README.txt History.txt License.txt
EXAMPLES= ext/camellia-example.rb
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
.endfor
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.include <bsd.port.mk>