mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
30d4fb7ca9
released on 2017-11-14. The latest version to date, 1.6.25, was released on 2018-02-10.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: Yen-Ming Lee <leeym@leeym.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= upnp
|
|
PORTVERSION= 1.6.25
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/p${PORTNAME}/p${PORTNAME}/libUPnP%20${PORTVERSION}
|
|
DISTNAME= lib${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Universal Plug and Play Software Development Kit
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
PORTSCOUT= skipv:1.8.3 # released on 2017-11-14; older than 1.6.25
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
TEST_TARGET= check
|
|
USES= cpe libtool pathfix tar:bzip2
|
|
CPE_VENDOR= libupnp_project
|
|
CPE_PRODUCT= libupnp
|
|
USE_LDCONFIG= yes
|
|
|
|
PORTDOCS= ixml/*.html upnp/*.html
|
|
|
|
OPTIONS_DEFINE= DEBUG DOCS IPV6
|
|
OPTIONS_SUB= yes
|
|
|
|
DEBUG_CONFIGURE_ON= --enable-debug
|
|
DOCS_CONFIGURE_ON= --with-documentation=${DOCSDIR}
|
|
DOCS_CONFIGURE_OFF= --without-documentation
|
|
IPV6_CONFIGURE_ON= --enable-ipv6
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e '386s,docs/dist,,' ${WRKSRC}/Makefile.in
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/docs/dist/html && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
|
${RM} -r ${STAGEDIR}${DOCSDIR}/examples
|
|
|
|
.include <bsd.port.mk>
|