svn commit: r327649 - in head/net/libnatpmp: . files
William Grzybowski
wg at FreeBSD.org
Thu Sep 19 21:42:25 UTC 2013
Author: wg
Date: Thu Sep 19 21:42:24 2013
New Revision: 327649
URL: http://svnweb.freebsd.org/changeset/ports/327649
Log:
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)
Added:
head/net/libnatpmp/files/
head/net/libnatpmp/files/patch-Makefile (contents, props changed)
Modified:
head/net/libnatpmp/Makefile
head/net/libnatpmp/pkg-descr
Modified: head/net/libnatpmp/Makefile
==============================================================================
--- head/net/libnatpmp/Makefile Thu Sep 19 20:04:51 2013 (r327648)
+++ head/net/libnatpmp/Makefile Thu Sep 19 21:42:24 2013 (r327649)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libnatpmp
-# Date created: 11 Aug 2009
-# Whom: Hung-Yi Chen <gaod at hychen.org>
-#
+# Created by: Hung-Yi Chen <gaod at hychen.org>
# $FreeBSD$
-#
PORTNAME= libnatpmp
PORTVERSION= 20120821
@@ -11,9 +7,11 @@ CATEGORIES= net
MASTER_SITES= http://miniupnp.free.fr/files/
MAINTAINER= gaod at 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
Added: head/net/libnatpmp/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/libnatpmp/files/patch-Makefile Thu Sep 19 21:42:24 2013 (r327649)
@@ -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
Modified: head/net/libnatpmp/pkg-descr
==============================================================================
--- head/net/libnatpmp/pkg-descr Thu Sep 19 20:04:51 2013 (r327648)
+++ head/net/libnatpmp/pkg-descr Thu Sep 19 21:42:24 2013 (r327649)
@@ -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/
More information about the svn-ports-all
mailing list