diff options
author | Ade Lovett <ade@FreeBSD.org> | 2006-01-07 00:28:20 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2006-01-07 00:28:20 +0000 |
commit | 273354b716d7ff8e38a4f346c3c151711e13d727 (patch) | |
tree | f0c1358cc14c8d1c1db575671904880a65d9d3fa /databases/ip4r | |
parent | faa33cf9793361bc7dd239ae8602c94194f1b8b7 (diff) | |
download | ports-273354b716d7ff8e38a4f346c3c151711e13d727.tar.gz ports-273354b716d7ff8e38a4f346c3c151711e13d727.zip |
IP4R is a contributed PostgreSQL module that embraces and extends the
existing 'inet' and 'cidr' built-in types, providing extra functionality
and simplicity to IPv4 address lookup within large-scale environments.
Notes
Notes:
svn path=/head/; revision=152920
Diffstat (limited to 'databases/ip4r')
-rw-r--r-- | databases/ip4r/Makefile | 38 | ||||
-rw-r--r-- | databases/ip4r/distinfo | 3 | ||||
-rw-r--r-- | databases/ip4r/pkg-descr | 5 | ||||
-rw-r--r-- | databases/ip4r/pkg-plist | 6 |
4 files changed, 52 insertions, 0 deletions
diff --git a/databases/ip4r/Makefile b/databases/ip4r/Makefile new file mode 100644 index 000000000000..7e426bd36ed4 --- /dev/null +++ b/databases/ip4r/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: ip4r +# Date created: 15th December 2005 +# Whom: Ade Lovett <ade@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ip4r +PORTVERSION= 1.0 +CATEGORIES= databases net +MASTER_SITES= http://pgfoundry.org/frs/download.php/537/ + +MAINTAINER= ade@FreeBSD.org +COMMENT= IPv4 and IPv4 range index type for PostgreSQL + +USE_PGSQL= YES +USE_GMAKE= YES +WANT_PGSQL_VER?= 81 + +# 74 is not strictly true, but requires extracting the appropriate +# postgresql-contrib tarball, and associated heavy lifting. +# In order to keep this port simple, we assume >= 8.0 +BROKEN_WITH_PGSQL= 73 74 + +MAKE_ARGS= USE_PGXS=1 + +# In order to make this port PREFIX-safe, we override the install target +# and install the three files manually +do-install: + @${INSTALL} -m ${BINMODE} ${WRKSRC}/ip4r.so ${PREFIX}/lib/postgresql + @${MKDIR} ${PREFIX}/share/postgresql/contrib + @${INSTALL_DATA} ${WRKSRC}/ip4r.sql \ + ${PREFIX}/share/postgresql/contrib + @${MKDIR} ${PREFIX}/share/doc/postgresql/contrib + @${INSTALL_DATA} ${WRKSRC}/README.ip4r \ + ${PREFIX}/share/doc/postgresql/contrib + +.include <bsd.port.mk> diff --git a/databases/ip4r/distinfo b/databases/ip4r/distinfo new file mode 100644 index 000000000000..08edf1fc10b1 --- /dev/null +++ b/databases/ip4r/distinfo @@ -0,0 +1,3 @@ +MD5 (ip4r-1.0.tar.gz) = 884cfc931027043d00218e931b1fd7f2 +SHA256 (ip4r-1.0.tar.gz) = 00cf7c4595e4cd06ee783b8081586e60ad969be1b075b66b690c649584f7d2d3 +SIZE (ip4r-1.0.tar.gz) = 17206 diff --git a/databases/ip4r/pkg-descr b/databases/ip4r/pkg-descr new file mode 100644 index 000000000000..703ff6f37edf --- /dev/null +++ b/databases/ip4r/pkg-descr @@ -0,0 +1,5 @@ +IP4R is a contributed PostgreSQL module that embraces and extends the +existing 'inet' and 'cidr' built-in types, providing extra functionality +and simplicity to IPv4 address lookup within large-scale environments. + +WWW: http://pgfoundry.org/projects/ip4r/ diff --git a/databases/ip4r/pkg-plist b/databases/ip4r/pkg-plist new file mode 100644 index 000000000000..8623167a89d6 --- /dev/null +++ b/databases/ip4r/pkg-plist @@ -0,0 +1,6 @@ +@comment $FreeBSD$ +lib/postgresql/ip4r.so +share/doc/postgresql/contrib/README.ip4r +share/postgresql/contrib/ip4r.sql +@unexec rmdir %D/share/doc/postgresql/contrib 2>/dev/null || true +@unexec rmdir %D/share/postgresql/contrib 2>/dev/null || true |