diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-06 12:34:23 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-06 12:34:23 +0800 |
commit | a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8 (patch) | |
tree | d206a205dd3870d245c26875f1da2aaa627aad64 /net-p2p/rtorrent | |
parent | 0a17597462ff11896ad3e619b25fc9df0263fcef (diff) | |
download | freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.gz freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.zst freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.zip |
In some straightforward situations, protect examples behind PORTEXAMPLES,
adding EXAMPLES to OPTIONS_DEFINE where necessary. In a couple instances,
correct examples being controlled by the DOCS option.
Diffstat (limited to 'net-p2p/rtorrent')
-rw-r--r-- | net-p2p/rtorrent/Makefile | 8 | ||||
-rw-r--r-- | net-p2p/rtorrent/pkg-plist | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile index cf4d35e705d0..0e680327b103 100644 --- a/net-p2p/rtorrent/Makefile +++ b/net-p2p/rtorrent/Makefile @@ -22,8 +22,8 @@ SUB_FILES= pkg-message PORTDOCS= README -OPTIONS_DEFINE= XMLRPC IPV6 DOCS -OPTIONS_DEFAULT= XMLRPC +OPTIONS_DEFINE= XMLRPC IPV6 DOCS EXAMPLES +OPTIONS_DEFAULT=XMLRPC XMLRPC_DESC= Compile with xmlrpc-c support .include <bsd.port.options.mk> @@ -60,9 +60,9 @@ post-patch: .endif post-install: - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc ${STAGEDIR}${EXAMPLESDIR} - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/net-p2p/rtorrent/pkg-plist b/net-p2p/rtorrent/pkg-plist index f1b481743355..84240a93e464 100644 --- a/net-p2p/rtorrent/pkg-plist +++ b/net-p2p/rtorrent/pkg-plist @@ -1,3 +1,3 @@ bin/rtorrent -%%EXAMPLESDIR%%/rtorrent.rc -@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rtorrent.rc +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |