diff options
author | Sean Chittenden <seanc@FreeBSD.org> | 2002-10-09 10:00:11 +0000 |
---|---|---|
committer | Sean Chittenden <seanc@FreeBSD.org> | 2002-10-09 10:00:11 +0000 |
commit | 0d8d86ca0d4c6d1e436da55a355f181419ca2ea6 (patch) | |
tree | 7a9e95a06bee27966c23f4ade2b215202aba51d3 /net | |
parent | 0ecfe127ff0b5ec4e42513a430d54c7c15b3ee30 (diff) | |
download | ports-0d8d86ca0d4c6d1e436da55a355f181419ca2ea6.tar.gz ports-0d8d86ca0d4c6d1e436da55a355f181419ca2ea6.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/ruby-net-geoip/Makefile | 32 | ||||
-rw-r--r-- | net/ruby-net-geoip/distinfo | 1 | ||||
-rw-r--r-- | net/ruby-net-geoip/pkg-comment | 1 | ||||
-rw-r--r-- | net/ruby-net-geoip/pkg-descr | 5 | ||||
-rw-r--r-- | net/ruby-net-geoip/pkg-plist | 4 |
6 files changed, 44 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 7318022bafee..a0a4ce3713bc 100644 --- a/net/Makefile +++ b/net/Makefile @@ -486,6 +486,7 @@ SUBDIR += ruby-gserver SUBDIR += ruby-icmp SUBDIR += ruby-ldap + SUBDIR += ruby-net-geoip SUBDIR += ruby-nis SUBDIR += ruby-pcap SUBDIR += ruby-romp diff --git a/net/ruby-net-geoip/Makefile b/net/ruby-net-geoip/Makefile new file mode 100644 index 000000000000..325c8a088c73 --- /dev/null +++ b/net/ruby-net-geoip/Makefile @@ -0,0 +1,32 @@ +# 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.04 +CATEGORIES= net ruby +MASTER_SITES= http://www.rubynet.org/modules/net/geoip/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DIST_SUBDIR= ruby + +MAINTAINER= seanc@FreeBSD.org + +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> diff --git a/net/ruby-net-geoip/distinfo b/net/ruby-net-geoip/distinfo new file mode 100644 index 000000000000..d935f7670897 --- /dev/null +++ b/net/ruby-net-geoip/distinfo @@ -0,0 +1 @@ +MD5 (ruby/net-geoip-0.04.tar.bz2) = baa0222c5422eafaf1e2d71d41b3f4d1 diff --git a/net/ruby-net-geoip/pkg-comment b/net/ruby-net-geoip/pkg-comment new file mode 100644 index 000000000000..5a6e5fbd1072 --- /dev/null +++ b/net/ruby-net-geoip/pkg-comment @@ -0,0 +1 @@ +A Ruby extension that wraps around libGeoIP diff --git a/net/ruby-net-geoip/pkg-descr b/net/ruby-net-geoip/pkg-descr new file mode 100644 index 000000000000..c36f4053badb --- /dev/null +++ b/net/ruby-net-geoip/pkg-descr @@ -0,0 +1,5 @@ +Net::GeoIP lets you look up the country of a given IP address or +hostname. + +Author: Sean Chittenden <sean@chittenden.org> +WWW: http://www.rubynet.org/modules/net/geoip/ diff --git a/net/ruby-net-geoip/pkg-plist b/net/ruby-net-geoip/pkg-plist new file mode 100644 index 000000000000..2d3df476c790 --- /dev/null +++ b/net/ruby-net-geoip/pkg-plist @@ -0,0 +1,4 @@ +%%RUBY_SITEARCHLIBDIR%%/net/geoip.so +@unexec rmdir %B 2>/dev/null || true +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |