diff options
author | Chris Rees <crees@FreeBSD.org> | 2013-06-26 17:12:08 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2013-06-26 17:12:08 +0000 |
commit | d2e45aa8ac47513573dd525ad82c5e0ccd234ad9 (patch) | |
tree | 7e46e0bd8844634e0e4e246eafef0f7e89723e12 /net-p2p/transmission-cli | |
parent | c250ce5d1c294e053bc3a1a9ca9d381d6ee39113 (diff) |
Correct the package naming, to stop upsetting people.
Trim ABI versions from LIB_DEPENDS to pacify portlint
PR: ports/179798
Submitted by: Kevin Zheng <kevinz5000@gmail.com>
Add LICENSE lines
Submitted by: 4721 (frogs, IRC)
Notes
Notes:
svn path=/head/; revision=321800
Diffstat (limited to 'net-p2p/transmission-cli')
-rw-r--r-- | net-p2p/transmission-cli/Makefile | 12 | ||||
-rw-r--r-- | net-p2p/transmission-cli/pkg-plist | 1 |
2 files changed, 10 insertions, 3 deletions
diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile index dc902a160993..ef0f7ede4fd1 100644 --- a/net-p2p/transmission-cli/Makefile +++ b/net-p2p/transmission-cli/Makefile @@ -13,6 +13,14 @@ COMMENT?= Lightweight CLI (command line) BitTorrent client and utilities SLAVEPORT?= cli +# Odd arrangement here-- cli is MIT, everything else is GPL +.if ${SLAVEPORT} == cli +LICENSE= MIT +.else +LICENSE= GPLv2 +.endif +LICENSE_FILE= ${WRKSRC}/COPYING + CONFLICTS_INSTALL= ${PORTNAME}${PKGNAMESUFFIX}-2.5* OPTIONS_DEFINE= LITE @@ -52,13 +60,13 @@ EXTRA_PATCHES= ${PATCHDIR}/disable-web USE_XZ= yes -DOCS= AUTHORS COPYING NEWS README +DOCS= AUTHORS NEWS README DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} general-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g' -.if ${SLAVEPORT} != gtk2 +.if ${SLAVEPORT} != gtk @${REINPLACE_CMD} -e '/#define DISABLE_GETTEXT/s,/\* \(.*\) \*/,\1,' \ ${WRKSRC}/libtransmission/utils.h .endif diff --git a/net-p2p/transmission-cli/pkg-plist b/net-p2p/transmission-cli/pkg-plist index 58ae01daf4a8..d6901ff3bf70 100644 --- a/net-p2p/transmission-cli/pkg-plist +++ b/net-p2p/transmission-cli/pkg-plist @@ -3,7 +3,6 @@ bin/transmission-create bin/transmission-edit bin/transmission-show %%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%@dirrm %%DOCSDIR%% |