diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-09-20 05:42:24 +0800 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-09-20 05:42:24 +0800 |
commit | df763d1a99d8eb387e42ac7b4d2dbef5dea399d7 (patch) | |
tree | 761ea0b4406315ff6b41a94183f6a4b9e15359e3 /net/libnatpmp | |
parent | b8cd572806b6d3d28ea43c15e1d5ed53a427afd8 (diff) | |
download | freebsd-ports-gnome-df763d1a99d8eb387e42ac7b4d2dbef5dea399d7.tar.gz freebsd-ports-gnome-df763d1a99d8eb387e42ac7b4d2dbef5dea399d7.tar.zst freebsd-ports-gnome-df763d1a99d8eb387e42ac7b4d2dbef5dea399d7.zip |
net/libnatpmp: fix build without gcc
- Fix build without gcc [1]
- Trim Makefile header [1]
- USES gmake
- Remove leading article from COMMENT
- Use single space for WWW
- Add LICENSE (BSD)
PR: ports/182235 [1]
Submitted by: Hung-Yi Chen <gaod hychen.org> (maintainer)
Diffstat (limited to 'net/libnatpmp')
-rw-r--r-- | net/libnatpmp/Makefile | 12 | ||||
-rw-r--r-- | net/libnatpmp/files/patch-Makefile | 11 | ||||
-rw-r--r-- | net/libnatpmp/pkg-descr | 10 |
3 files changed, 21 insertions, 12 deletions
diff --git a/net/libnatpmp/Makefile b/net/libnatpmp/Makefile index b9abbb35fca2..7f48aae87478 100644 --- a/net/libnatpmp/Makefile +++ b/net/libnatpmp/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: libnatpmp -# Date created: 11 Aug 2009 -# Whom: Hung-Yi Chen <gaod@hychen.org> -# +# Created by: Hung-Yi Chen <gaod@hychen.org> # $FreeBSD$ -# PORTNAME= libnatpmp PORTVERSION= 20120821 @@ -11,9 +7,11 @@ CATEGORIES= net MASTER_SITES= http://miniupnp.free.fr/files/ MAINTAINER= gaod@hychen.org -COMMENT= An NAT-PMP lightweight library +COMMENT= NAT-PMP lightweight library -USE_GMAKE= yes +LICENSE= BSD + +USES= gmake MAKE_ENV+= INSTALLPREFIX=${PREFIX} CFLAGS+= -fPIC USE_LDCONFIG= yes diff --git a/net/libnatpmp/files/patch-Makefile b/net/libnatpmp/files/patch-Makefile new file mode 100644 index 000000000000..d6dbe0b77418 --- /dev/null +++ b/net/libnatpmp/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2013-09-20 03:13:32.533531973 +0800 ++++ Makefile 2013-09-20 03:13:40.954532152 +0800 +@@ -5,7 +5,7 @@ + # http://miniupnp.free.fr/libnatpmp.html + + OS = $(shell uname -s) +-CC = gcc ++CC ?= gcc + INSTALL = install + + # APIVERSION is used in soname diff --git a/net/libnatpmp/pkg-descr b/net/libnatpmp/pkg-descr index 1b062a4e18f2..fe8797890363 100644 --- a/net/libnatpmp/pkg-descr +++ b/net/libnatpmp/pkg-descr @@ -1,6 +1,6 @@ -libnatpmp is an attempt to make a portable and fully compliant implementation -of the protocol for the client side. It is based on non blocking sockets and -all calls of the API are asynchronous. It is therefore very easy to integrate -the NAT-PMP code to any event driven code. +libnatpmp is an attempt to make a portable and fully compliant implementation +of the protocol for the client side. It is based on non blocking sockets and +all calls of the API are asynchronous. It is therefore very easy to integrate +the NAT-PMP code to any event driven code. -WWW: http://miniupnp.free.fr/ +WWW: http://miniupnp.free.fr/ |