aboutsummaryrefslogtreecommitdiff
path: root/net/ruby-net-geoip/Makefile
blob: 8dbf24b4170bda55e3c235254c9ddd02d3556825 (plain) (blame)
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
29
30
31
32
33
34
35
36
# New ports collection makefile for:	ruby-net-geoip
# Date created:		2002-10-08
# Whom:			Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	net-geoip
PORTVERSION=	0.06
CATEGORIES=	net ruby
MASTER_SITES=	http://www.rubynet.org/modules/net/geoip/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=	ruby

MAINTAINER=	seanc@FreeBSD.org
COMMENT=	A Ruby extension that wraps around libGeoIP

LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv \
		GeoIP.2:${PORTSDIR}/net/GeoIP

USE_BZIP2=      yes
USE_RUBY=	yes
USE_RUBY_EXTCONF=	yes
INSTALL_TARGET=	site-install

DOCS=	README

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif

.include <bsd.port.mk>