summaryrefslogtreecommitdiff
path: root/security/ruby-md5/Makefile
blob: 4ee99c55919cffe47ebbb459e3c5401e3f43e943 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.2 2001/12/31 04:18:14 taca Exp $
#

DISTNAME=	${RUBY_DISTNAME}
PKGNAME=	${RUBY_PKGNAMEPREFIX}md5-${RUBY_VERSION}
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_RUBY}

MAINTAINER=	taca@netbsd.org
HOMEPAGE=	http://www.ruby-lang.org/en/
COMMENT=	Ruby extension to MD5 library

RUBY_VER=	1.4		# now this is for ruby 1.4 only.

DISTINFO_FILE=	${RUBY_DISTINFO}
WRKSRC=		${RUBY_WRKSRC}/ext/md5

DIST_SUBDIR=	ruby
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/md5
USE_RUBY_EXTCONF= yes

post-install:
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/md5/ja
	${INSTALL_DATA} ${WRKSRC}/md5.txt ${RUBY_DOCDIR}/md5
	${INSTALL_DATA} ${WRKSRC}/md5.txt.jp ${RUBY_DOCDIR}/md5/ja/md5.txt.ja

.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"