mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- update to 1.9.2
- remove indefinite article from COMMENT - add LICENSE (GPLv2) - limit python branch to 2 only (print) - use PYDISTUTILS_AUTOPLIST - support staging PR: 182244 Submitted by: Gordon Campbell <seawolf@marinewolf.net> (maintainer)
This commit is contained in:
parent
fcaf5f1be4
commit
d6284574c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337286
@ -2,38 +2,30 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= charm
|
||||
PORTVERSION= 1.9.1
|
||||
PORTVERSION= 1.9.2
|
||||
CATEGORIES= deskutils net
|
||||
MASTER_SITES= SF/lj${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= seawolf@marinewolf.net
|
||||
COMMENT= A menu-driven python-based livejournal client
|
||||
COMMENT= Menu-driven python-based livejournal client
|
||||
|
||||
MAN1=charm.1
|
||||
MAN5=charmrc.5
|
||||
LICENSE= GPLv2
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYTHON= 2
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGVERSION= 1.9.1
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${REINPLACE_CMD} -e 's,share/doc/charm,${DOCSDIR},' ${WRKSRC}/setup.py
|
||||
.else
|
||||
${REINPLACE_CMD} -e '/data_files = /d' \
|
||||
-e '/man\/man1/s,^[ ]*, data_files = [ ,' \
|
||||
${WRKSRC}/setup.py
|
||||
.endif
|
||||
${REINPLACE_CMD} -e 's,share/doc/charm,${DOCSDIR},' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's,1.9.1,1.9.2,' ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES.charm ${DOCSDIR}/CHANGES
|
||||
${INSTALL_DATA} ${WRKSRC}/README.charm ${DOCSDIR}/README
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample.charmrc ${EXAMPLESDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES.charm ${STAGEDIR}${DOCSDIR}/CHANGES
|
||||
${INSTALL_DATA} ${WRKSRC}/README.charm ${STAGEDIR}${DOCSDIR}/README
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample.charmrc ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (charm-1.9.1.tar.gz) = 43bd9725e68ed6efc8c2b6d5163d384491a2f8b49c121fe7f8c256ebf60006d7
|
||||
SIZE (charm-1.9.1.tar.gz) = 82760
|
||||
SHA256 (charm-1.9.2.tar.gz) = ae2d536303e770ceb002f69c1e71f6a8532c8d5dd075d2f5c1bf09ad02c3c015
|
||||
SIZE (charm-1.9.2.tar.gz) = 84927
|
||||
|
@ -1,10 +0,0 @@
|
||||
bin/charm
|
||||
%%PYTHON_SITELIBDIR%%/ljcharm.py
|
||||
%%PYTHON_SITELIBDIR%%/ljcharm.pyc
|
||||
%%PYTHON_SITELIBDIR%%/ljcharm.pyo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/charm.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.charmrc
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user