mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
24a0a79c61
- Strip binary
32 lines
567 B
Makefile
32 lines
567 B
Makefile
# Created by: Hung-Yi Chen <gaod@hychen.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libnatpmp
|
|
PORTVERSION= 20120821
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://miniupnp.free.fr/files/
|
|
|
|
MAINTAINER= gaod@hychen.org
|
|
COMMENT= NAT-PMP lightweight library
|
|
|
|
LICENSE= BSD
|
|
|
|
USES= gmake
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_ENV+= INSTALLPREFIX=${PREFIX}
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
PLIST_FILES= bin/natpmpc \
|
|
include/natpmp.h \
|
|
lib/libnatpmp.a \
|
|
lib/libnatpmp.so \
|
|
lib/libnatpmp.so.1
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/natpmpc \
|
|
${STAGEDIR}${PREFIX}/lib/libnatpmp.so.1
|
|
|
|
.include <bsd.port.mk>
|