mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
32 lines
540 B
Makefile
32 lines
540 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= miniupnpc
|
|
PORTVERSION= 1.8
|
|
CATEGORIES?= net
|
|
MASTER_SITES= http://miniupnp.free.fr/files/
|
|
|
|
MAINTAINER?= dinoex@FreeBSD.org
|
|
COMMENT?= UPnP IGD client lightweight library
|
|
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake
|
|
HAS_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_SCRIPT= updateminiupnpcstrings.sh
|
|
MAKE_ENV+= INSTALLPREFIX=${STAGEDIR}${PREFIX}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CFLAGS+= -DDEBUG
|
|
.endif
|
|
|
|
.if ${SLAVE_PORT} == no
|
|
USE_RC_SUBR= miniupnpc
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|