aboutsummaryrefslogtreecommitdiffstats
path: root/net/ruby-net-geoip/Makefile
blob: 58e8b73e5d0e1d2e01b3bce2a738fe48c8afb692 (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
# 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

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>