aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/ljcharm
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2013-12-24 03:33:52 +0800
committerrm <rm@FreeBSD.org>2013-12-24 03:33:52 +0800
commit530de0bbf07669f7ba92c9cb254167c045acc7f3 (patch)
treeae408a1ebf4316713e511433ee4436af969fbb2a /deskutils/ljcharm
parent88b72af04e604c2d39e9ed5dbcd4a35ac439afbc (diff)
downloadfreebsd-ports-gnome-530de0bbf07669f7ba92c9cb254167c045acc7f3.tar.gz
freebsd-ports-gnome-530de0bbf07669f7ba92c9cb254167c045acc7f3.tar.zst
freebsd-ports-gnome-530de0bbf07669f7ba92c9cb254167c045acc7f3.zip
- 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)
Diffstat (limited to 'deskutils/ljcharm')
-rw-r--r--deskutils/ljcharm/Makefile36
-rw-r--r--deskutils/ljcharm/distinfo4
-rw-r--r--deskutils/ljcharm/pkg-plist10
3 files changed, 16 insertions, 34 deletions
diff --git a/deskutils/ljcharm/Makefile b/deskutils/ljcharm/Makefile
index e37654012129..9beebd307c0e 100644
--- a/deskutils/ljcharm/Makefile
+++ b/deskutils/ljcharm/Makefile
@@ -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>
diff --git a/deskutils/ljcharm/distinfo b/deskutils/ljcharm/distinfo
index 8d7dd1c9c2e4..915907c678b5 100644
--- a/deskutils/ljcharm/distinfo
+++ b/deskutils/ljcharm/distinfo
@@ -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
diff --git a/deskutils/ljcharm/pkg-plist b/deskutils/ljcharm/pkg-plist
deleted file mode 100644
index 8476b69586a6..000000000000
--- a/deskutils/ljcharm/pkg-plist
+++ /dev/null
@@ -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%%