- Add LICENSE, don't install it (and INSTALL) with docs

- Add NO_ARCH
- Simplify manpage installation, fix related stage-qa warning
This commit is contained in:
Dmitry Marakasov 2015-07-30 11:36:23 +00:00
parent 0813b7949a
commit 325cc35b67
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393232
2 changed files with 8 additions and 11 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= supybot
PORTVERSION= 0.83.4.1
PORTREVISION= 1
CATEGORIES= irc python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Supybot-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,24 +12,21 @@ DISTNAME= Supybot-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Supybot - A Superb Python IRC bot
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python tar:bzip2
USE_PYTHON= distutils
PYDISTUTILS_PKGVERSION= 0.83.1+darcs
PYDISTUTILS_EGGINFO= supybot-${PORTVERSION}-py${PYTHON_VER}.egg-info
DOCS= ACKS ChangeLog INSTALL LICENSE README RELNOTES
MAN1= supybot.1 supybot-adduser.1 supybot-wizard.1 supybot-botchk.1 \
supybot-plugin-create.1 supybot-plugin-doc.1
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
post-install:
.for f in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/docs/man/${f} ${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor
${INSTALL_MAN} ${WRKSRC}/docs/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
.for f in ACKS ChangeLog README RELNOTES
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/docs/GETTING_STARTED ${STAGEDIR}${DOCSDIR}

View File

@ -10,6 +10,7 @@ man/man1/supybot-adduser.1.gz
man/man1/supybot-botchk.1.gz
man/man1/supybot-plugin-create.1.gz
man/man1/supybot-plugin-doc.1.gz
man/man1/supybot-test.1.gz
man/man1/supybot-wizard.1.gz
man/man1/supybot.1.gz
%%PYTHON_SITELIBDIR%%/supybot/__init__.py
@ -849,7 +850,5 @@ man/man1/supybot.1.gz
%%PORTDOCS%%%%DOCSDIR%%/ACKS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/GETTING_STARTED
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/RELNOTES