diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-30 19:36:23 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-30 19:36:23 +0800 |
commit | 66934993ea447a0fdf174b2fba7123ebfcdc685f (patch) | |
tree | 7a1c747c6eeb1669cfb60e69d0658e9a2d772190 | |
parent | 04272a3938365b1c4eb5ca46ac88198e90e2c7e2 (diff) | |
download | freebsd-ports-gnome-66934993ea447a0fdf174b2fba7123ebfcdc685f.tar.gz freebsd-ports-gnome-66934993ea447a0fdf174b2fba7123ebfcdc685f.tar.zst freebsd-ports-gnome-66934993ea447a0fdf174b2fba7123ebfcdc685f.zip |
- Add LICENSE, don't install it (and INSTALL) with docs
- Add NO_ARCH
- Simplify manpage installation, fix related stage-qa warning
-rw-r--r-- | irc/py-supybot/Makefile | 16 | ||||
-rw-r--r-- | irc/py-supybot/pkg-plist | 3 |
2 files changed, 8 insertions, 11 deletions
diff --git a/irc/py-supybot/Makefile b/irc/py-supybot/Makefile index deccfa91de6c..8897a6e41778 100644 --- a/irc/py-supybot/Makefile +++ b/irc/py-supybot/Makefile @@ -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} diff --git a/irc/py-supybot/pkg-plist b/irc/py-supybot/pkg-plist index d0c38f2b40f5..5ac729309b21 100644 --- a/irc/py-supybot/pkg-plist +++ b/irc/py-supybot/pkg-plist @@ -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 |