ports/158324: net-p2p/rtorrent 0.8.7_2 no option to install (obsolete) manpage
freebsd at nagilum.org
freebsd at nagilum.org
Sun Jun 26 20:00:02 UTC 2011
>Number: 158324
>Category: ports
>Synopsis: net-p2p/rtorrent 0.8.7_2 no option to install (obsolete) manpage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 26 20:00:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: freebsd at nagilum.org
>Release: FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD cakebox.tis 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun May 29 10:04:47 CEST 2011 root at cakebox.tis:/usr/obj/export/src/sys/net5501 i386
>Description:
Although obsolete the manpage is still a lot better than nothing at all.
The authors opinion that it would be better not to install it is
reflected by the default setting.
>How-To-Repeat:
install net-p2p/rtorrent 0.8.7_2
>Fix:
Apply attached patch which adds an option (disabled by default) to
install the (obsolete) manpage.
--- rtorrent.patch begins here ---
diff -Naur rtorrent.orig/Makefile rtorrent/Makefile
--- rtorrent.orig/Makefile 2011-06-09 19:23:25.000000000 +0200
+++ rtorrent/Makefile 2011-06-26 21:36:59.000000000 +0200
@@ -28,12 +28,17 @@
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -pthread"
CONFIGURE_ARGS= --disable-debug
+.if defined(WITH_INSTMAN)
+MAN1?= rtorrent.1
+.endif
+
SUB_FILES= pkg-message
PORTDOCS= README
OPTIONS= XMLRPC "Compile with xmlrpc-c support" on \
- IPV6 "Enable IPv6 support" on
+ IPV6 "Enable IPv6 support" on \
+ INSTMAN "Install obsolete manpage" off
.include <bsd.port.pre.mk>
@@ -54,6 +59,9 @@
post-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc ${EXAMPLESDIR}/
+.if defined(WITH_INSTMAN)
+ ${INSTALL_MAN} ${WRKSRC}/doc/rtorrent.1 ${MANPREFIX}/man/man1
+.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
--- rtorrent.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list