diff options
author | bapt <bapt@FreeBSD.org> | 2012-10-07 05:17:22 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-10-07 05:17:22 +0800 |
commit | 1dae4740d1b18677127a971bb82f6e0d8f8547a1 (patch) | |
tree | a3828aec2eded0266b6fc7480aba4b211cccca2f /net-p2p/rtorrent | |
parent | 60ef6f45497a19400ab7dbfb4bc05e3b44f083cd (diff) | |
download | freebsd-ports-gnome-1dae4740d1b18677127a971bb82f6e0d8f8547a1.tar.gz freebsd-ports-gnome-1dae4740d1b18677127a971bb82f6e0d8f8547a1.tar.zst freebsd-ports-gnome-1dae4740d1b18677127a971bb82f6e0d8f8547a1.zip |
- Convert to new option framework
- Trim headers
Approved by: flz (irc)
Diffstat (limited to 'net-p2p/rtorrent')
-rw-r--r-- | net-p2p/rtorrent/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile index 943623bba532..5cb7e43ae75b 100644 --- a/net-p2p/rtorrent/Makefile +++ b/net-p2p/rtorrent/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: rtorrent -# Date created: Mar 03 2005 -# Whom: Florent Thoumie <flz@FreeBSD.org> -# # $FreeBSD$ -# PORTNAME?= rtorrent PORTVERSION?= 0.9.2 @@ -32,8 +27,9 @@ SUB_FILES= pkg-message PORTDOCS= README -OPTIONS= XMLRPC "Compile with xmlrpc-c support" on \ - IPV6 "Enable IPv6 support" on +OPTIONS_DEFINE= XMLRPC IPV6 DOCS +OPTIONS_DEFAULT= XMLRPC IPV6 +XMLRPC_DESC= Compile with xmlrpc-c support .include <bsd.port.pre.mk> @@ -41,14 +37,14 @@ OPTIONS= XMLRPC "Compile with xmlrpc-c support" on \ BROKEN= Does not configure on arm .endif -.if !defined(WITHOUT_XMLRPC) +.if ${PORT_OPTIONS:MXMLRPC} CONFIGURE_ARGS+= --with-xmlrpc-c LIB_DEPENDS+= xmlrpc.3:${PORTSDIR}/net/xmlrpc-c-devel .else CONFIGURE_ARGS+= --with-xmlrpc-c=no .endif -.if defined(WITH_IPV6) +.if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+= --enable-ipv6 .endif @@ -58,7 +54,7 @@ post-patch: post-install: ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc ${EXAMPLESDIR}/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/ .endif |