1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/miniupnpc/Makefile
Dirk Meyer 4c33f16d41 - update to 1.4
PR:		140320
Submitted by:	Hung-Yi Chen
2009-11-06 21:21:30 +00:00

40 lines
746 B
Makefile

# New ports collection makefile for: miniupnpc
# Date created: 31 Oct 2007
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#
PORTNAME= miniupnpc
PORTVERSION= 1.4
CATEGORIES?= net
MASTER_SITES= http://miniupnp.free.fr/files/
MAINTAINER= dinoex@FreeBSD.org
COMMENT?= UPnP IGD client lightweight library
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
CONFIGURE_SCRIPT= updateminiupnpcstrings.sh
MAKE_ENV+= INSTALLPREFIX=${PREFIX}
CFLAGS+= -fPIC
.include <bsd.port.pre.mk>
.if !defined(SLAVE_PORT)
MAN3= miniupnpc.3
.endif
.if defined(WITH_DEBUG)
CFLAGS+= -DDEBUG
.endif
.if !defined(SLAVE_PORT)
post-install:
${INSTALL_MAN} ${WRKSRC}/man3/miniupnpc.3 ${PREFIX}/man/man3/
.endif
.include <bsd.port.post.mk>