openbsd-ports/net/miniupnp/libnatpmp/Makefile
2012-02-23 13:56:49 +00:00

32 lines
666 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/02/23 13:56:49 dcoppa Exp $
SHARED_ONLY = Yes
COMMENT = NAT Port Mapping Protocol client library
DISTNAME = libnatpmp-20110808
SHARED_LIBS = natpmp 0.0
MAINTAINER = David Coppa <dcoppa@openbsd.org>
WANTLIB = c
MAKE_FLAGS = CC="${CC}"
MAKE_ENV = SHAREDLIB=libnatpmp.so.${LIBnatpmp_VERSION} \
SONAME=libnatpmp.so.${LIBnatpmp_VERSION}
FAKE_FLAGS = INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALLPREFIX=${WRKINST}${PREFIX}
USE_GMAKE = Yes
post-install:
${INSTALL_MAN_DIR} ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/natpmpc.1 \
${PREFIX}/man/man1/natpmpc.1
.include <bsd.port.mk>