aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/archmage
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-07-18 21:20:44 +0800
committersat <sat@FreeBSD.org>2007-07-18 21:20:44 +0800
commit27efb736f1d6e7a2c76023992658618f7d7a1131 (patch)
tree8d8e96d23a79af1142c9c037e7fed51e7b366a5b /textproc/archmage
parent71a9bddf6f866c3b9a71c218006cea7359e63316 (diff)
downloadfreebsd-ports-gnome-27efb736f1d6e7a2c76023992658618f7d7a1131.tar.gz
freebsd-ports-gnome-27efb736f1d6e7a2c76023992658618f7d7a1131.tar.zst
freebsd-ports-gnome-27efb736f1d6e7a2c76023992658618f7d7a1131.zip
- Update to 0.1.9
Diffstat (limited to 'textproc/archmage')
-rw-r--r--textproc/archmage/Makefile15
-rw-r--r--textproc/archmage/distinfo6
-rw-r--r--textproc/archmage/pkg-plist3
3 files changed, 17 insertions, 7 deletions
diff --git a/textproc/archmage/Makefile b/textproc/archmage/Makefile
index a1fce9aebfb2..82cd59186bfe 100644
--- a/textproc/archmage/Makefile
+++ b/textproc/archmage/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= archmage
-PORTVERSION= 0.0.8
+PORTVERSION= 0.1.9
CATEGORIES= textproc python
MASTER_SITES= SF
-DIST_SUBDIR= rerolled
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Extensible reader/decompiler of files in CHM format
@@ -17,12 +16,20 @@ COMMENT= Extensible reader/decompiler of files in CHM format
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chm/chm.py:${PORTSDIR}/textproc/pychm
NO_BUILD= yes
+USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+MAN1= ${PORTNAME}.1
+
+post-extract:
+ @${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz
post-patch:
- @${REINPLACE_CMD} -e "s,/usr/share,${PREFIX}/share," ${WRKSRC}/arch.conf
+ @${REINPLACE_CMD} -e "s,/usr/share/archmage,${DATADIR}," ${WRKSRC}/arch.conf
@${REINPLACE_CMD} -e "s,/etc,${PREFIX}/etc," ${WRKSRC}/archmod/CHM.py
- @${REINPLACE_CMD} -e "s,/etc,etc," ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e "s,/etc,etc,;/archmage.1/d" ${WRKSRC}/setup.py
+
+post-install:
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>
diff --git a/textproc/archmage/distinfo b/textproc/archmage/distinfo
index 0883bd745022..a421c7995b09 100644
--- a/textproc/archmage/distinfo
+++ b/textproc/archmage/distinfo
@@ -1,3 +1,3 @@
-MD5 (rerolled/archmage-0.0.8.tar.gz) = 42b13b37de8acfeaaca7ed08002ea254
-SHA256 (rerolled/archmage-0.0.8.tar.gz) = 65973cda8e2b0e9f690a36fa386c008b4d9f7a75f79729a707b2534eeaaa31c6
-SIZE (rerolled/archmage-0.0.8.tar.gz) = 22753
+MD5 (archmage-0.1.9.tar.bz2) = d3516b79d261ee17fec8d39e2c1b0eef
+SHA256 (archmage-0.1.9.tar.bz2) = b09a5455199166998afc5eeb79605fa7d594435b9f28d32e3e196369de810ff9
+SIZE (archmage-0.1.9.tar.bz2) = 23887
diff --git a/textproc/archmage/pkg-plist b/textproc/archmage/pkg-plist
index 92d1050cedc0..4ec1dcf136d9 100644
--- a/textproc/archmage/pkg-plist
+++ b/textproc/archmage/pkg-plist
@@ -54,6 +54,9 @@ etc/archmage/arch.conf
%%PYTHON_SITELIBDIR%%/archmod/__init__.py
%%PYTHON_SITELIBDIR%%/archmod/__init__.pyc
%%PYTHON_SITELIBDIR%%/archmod/__init__.pyo
+%%PYTHON_SITELIBDIR%%/archmod/htmltotext.py
+%%PYTHON_SITELIBDIR%%/archmod/htmltotext.pyc
+%%PYTHON_SITELIBDIR%%/archmod/htmltotext.pyo
%%PYTHON_SITELIBDIR%%/archmod/mod_chm.py
%%PYTHON_SITELIBDIR%%/archmod/mod_chm.pyc
%%PYTHON_SITELIBDIR%%/archmod/mod_chm.pyo