1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/libnatpmp/Makefile
Emanuel Haupt 24a0a79c61 - Support staging
- Strip binary
2014-04-17 13:37:39 +00:00

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>