ports/182244: [maintainer update] Update to deskutils/ljcharm
Gordon Campbell
seawolf at marinewolf.net
Fri Sep 20 07:50:00 UTC 2013
>Number: 182244
>Category: ports
>Synopsis: [maintainer update] Update to deskutils/ljcharm
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 20 07:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Gordon Campbell
>Release: FreeBSD 9.1-RELEASE-p7 i386
>Organization:
ChemCentre
>Environment:
FreeBSD pandora.chemcentre.wa.gov.au 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:23:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
A new version of Charm (1.9.2) is available, this patch updates to this version and also brings the Makefile in line with current standards.
A svn diff is attached.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 327662)
+++ Makefile (working copy)
@@ -1,12 +1,8 @@
-# Ports collection Makefile for: ljcharm
-# Date created: 2003-02-26
-# Whom: schmidtcarl at earthlink.net
-#
+# Created by: schmidtcarl at earthlink.net
# $FreeBSD$
-#
PORTNAME= charm
-PORTVERSION= 1.9.1
+PORTVERSION= 1.9.2
CATEGORIES= deskutils net
MASTER_SITES= SF/lj${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -18,10 +14,10 @@
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGVERSION= 1.9.1
+PYDISTUTILS_PKGVERSION= 1.9.2
post-patch:
-.if !defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
${REINPLACE_CMD} -e 's,share/doc/charm,${DOCSDIR},' ${WRKSRC}/setup.py
.else
${REINPLACE_CMD} -e '/data_files = /d' \
@@ -30,11 +26,12 @@
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES.charm ${DOCSDIR}/CHANGES
${INSTALL_DATA} ${WRKSRC}/README.charm ${DOCSDIR}/README
.endif
-.if !defined(NOPORTEXAMPLES)
+.if empty(PORT_OPTIONS:MEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample.charmrc ${EXAMPLESDIR}
.endif
Index: distinfo
===================================================================
--- distinfo (revision 327662)
+++ distinfo (working copy)
@@ -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
Index: files/patch-setup.py
===================================================================
--- files/patch-setup.py (revision 327662)
+++ files/patch-setup.py (working copy)
@@ -1,7 +1,15 @@
---- ./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 11:14:46.000000000 +0800
++++ setup.py 2013-09-20 11:53:08.000000000 +0800
+@@ -1,13 +1,13 @@
+ 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 at livejournal.com",
+ url = "http://ljcharm.sourceforge.net/",
py_modules = ["ljcharm"],
scripts = ["charm"],
- data_files = [ ("share/doc/charm", ["charm.html", "sample.charmrc"]),
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list