aboutsummaryrefslogtreecommitdiffstats
path: root/net/ruby-net-geoip/Makefile
blob: c50344eb847db6fa8a8bfc317e709d03454757b2 (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
37
# 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
PORTREVISION=   2
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=    GeoIP.4:${PORTSDIR}/net/GeoIP

USE_BZIP2=  yes
USE_ICONV=  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>