diff options
-rw-r--r-- | deskutils/ljcharm/Makefile | 14 | ||||
-rw-r--r-- | deskutils/ljcharm/files/patch-setup.py | 19 |
2 files changed, 21 insertions, 12 deletions
diff --git a/deskutils/ljcharm/Makefile b/deskutils/ljcharm/Makefile index 1814aadf5efc..90d8e2ebf69c 100644 --- a/deskutils/ljcharm/Makefile +++ b/deskutils/ljcharm/Makefile @@ -3,6 +3,7 @@ PORTNAME= charm PORTVERSION= 1.9.2 +PORTREVISION= 1 CATEGORIES= deskutils net MASTER_SITES= SF/lj${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -10,23 +11,24 @@ MAINTAINER= seawolf@marinewolf.net COMMENT= Menu-driven python-based livejournal client LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:2 -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils +NO_ARCH= yes PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES -post-patch: - ${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: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGES.charm ${STAGEDIR}${DOCSDIR}/CHANGES ${INSTALL_DATA} ${WRKSRC}/README.charm ${STAGEDIR}${DOCSDIR}/README + ${INSTALL_DATA} ${WRKSRC}/charm.html ${STAGEDIR}${DOCSDIR}/ + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/sample.charmrc ${STAGEDIR}${EXAMPLESDIR} diff --git a/deskutils/ljcharm/files/patch-setup.py b/deskutils/ljcharm/files/patch-setup.py index 3e9d79f76886..a39454e701b3 100644 --- a/deskutils/ljcharm/files/patch-setup.py +++ b/deskutils/ljcharm/files/patch-setup.py @@ -1,12 +1,19 @@ ---- ./setup.py Fri Jun 24 15:10:27 2005 -+++ ./setup.py.update Fri Jun 24 15:12:28 2005 -@@ -8,6 +8,6 @@ - url = "http://ljcharm.sourceforge.net", +--- setup.py.orig 2013-03-28 03:14:46 UTC ++++ setup.py +@@ -1,13 +1,12 @@ + from distutils.core import setup + + setup(name = "charm", +- version = "1.9.1", ++ version = "1.9.2", + description = "Text-based console client for LiveJournal", + author = "Lydia Leong", + author_email = "evilhat@livejournal.com", + url = "http://ljcharm.sourceforge.net/", py_modules = ["ljcharm"], scripts = ["charm"], - data_files = [ ("share/doc/charm", ["charm.html", "sample.charmrc"]), - ("share/man/man1", ["charm.1"]), - ("share/man/man5", ["charmrc.5"]) ] ) -+ data_files = [ ("share/doc/charm", ["charm.html"]), -+ ("man/man1", ["charm.1"]), ++ data_files = [ ("man/man1", ["charm.1"]), + ("man/man5", ["charmrc.5"]) ] ) |