mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
38 lines
777 B
Makefile
38 lines
777 B
Makefile
# 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= 1
|
|
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.3:${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>
|