mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Add WITH_UPNP knob to "Enable Universal Plug and Play support"
PR: ports/133901 Submitted by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> Approved by: Boris Kovalenko <boris@tagnet.ru> (maitainer)
This commit is contained in:
parent
427ffe7abd
commit
06c6a5fe93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234338
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= aMule
|
||||
PORTVERSION= 2.2.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-p2p
|
||||
MASTER_SITES= SF/amule
|
||||
|
||||
@ -45,7 +45,8 @@ OPTIONS= OPTIMIZE "Build with optimization" on \
|
||||
ALC "Compile aMule Link Creator (+GUI)" on \
|
||||
AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off \
|
||||
WXUNICODE "Enable Unicode support" on \
|
||||
GEOIP "Enable GeoIP IP2Country support" off
|
||||
GEOIP "Enable GeoIP IP2Country support" off \
|
||||
UPNP "Enable Universal Plug and Play support" off
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/aMule-${PORTVERSION}
|
||||
PORTDOCS= ABOUT-NLS Changelog EC_Protocol.txt \
|
||||
@ -123,6 +124,13 @@ LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
|
||||
CONFIGURE_ARGS+= --disable-geoip
|
||||
.endif
|
||||
|
||||
.if defined(WITH_UPNP)
|
||||
CONFIGURE_ARGS+= --with-libupnp-prefix=${LOCALBASE}
|
||||
LIB_DEPENDS+= upnp.3:${PORTSDIR}/devel/upnp
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-upnp
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_WXUNICODE)
|
||||
WX_UNICODE=yes
|
||||
.endif
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= aMule
|
||||
PORTVERSION= 2.2.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-p2p
|
||||
MASTER_SITES= SF/amule
|
||||
|
||||
@ -45,7 +45,8 @@ OPTIONS= OPTIMIZE "Build with optimization" on \
|
||||
ALC "Compile aMule Link Creator (+GUI)" on \
|
||||
AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off \
|
||||
WXUNICODE "Enable Unicode support" on \
|
||||
GEOIP "Enable GeoIP IP2Country support" off
|
||||
GEOIP "Enable GeoIP IP2Country support" off \
|
||||
UPNP "Enable Universal Plug and Play support" off
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/aMule-${PORTVERSION}
|
||||
PORTDOCS= ABOUT-NLS Changelog EC_Protocol.txt \
|
||||
@ -123,6 +124,13 @@ LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
|
||||
CONFIGURE_ARGS+= --disable-geoip
|
||||
.endif
|
||||
|
||||
.if defined(WITH_UPNP)
|
||||
CONFIGURE_ARGS+= --with-libupnp-prefix=${LOCALBASE}
|
||||
LIB_DEPENDS+= upnp.3:${PORTSDIR}/devel/upnp
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-upnp
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_WXUNICODE)
|
||||
WX_UNICODE=yes
|
||||
.endif
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= aMule
|
||||
PORTVERSION= 2.2.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-p2p
|
||||
MASTER_SITES= SF/amule
|
||||
|
||||
@ -45,7 +45,8 @@ OPTIONS= OPTIMIZE "Build with optimization" on \
|
||||
ALC "Compile aMule Link Creator (+GUI)" on \
|
||||
AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off \
|
||||
WXUNICODE "Enable Unicode support" on \
|
||||
GEOIP "Enable GeoIP IP2Country support" off
|
||||
GEOIP "Enable GeoIP IP2Country support" off \
|
||||
UPNP "Enable Universal Plug and Play support" off
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/aMule-${PORTVERSION}
|
||||
PORTDOCS= ABOUT-NLS Changelog EC_Protocol.txt \
|
||||
@ -123,6 +124,13 @@ LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
|
||||
CONFIGURE_ARGS+= --disable-geoip
|
||||
.endif
|
||||
|
||||
.if defined(WITH_UPNP)
|
||||
CONFIGURE_ARGS+= --with-libupnp-prefix=${LOCALBASE}
|
||||
LIB_DEPENDS+= upnp.3:${PORTSDIR}/devel/upnp
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-upnp
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_WXUNICODE)
|
||||
WX_UNICODE=yes
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user