2013-09-21 01:17:30 +02:00
|
|
|
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
2005-02-22 21:06:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= archmage
|
2009-07-28 00:18:20 +02:00
|
|
|
PORTVERSION= 0.2.4
|
2012-07-31 09:07:36 +02:00
|
|
|
PORTREVISION= 1
|
2005-02-22 21:06:53 +01:00
|
|
|
CATEGORIES= textproc python
|
2006-07-31 00:46:04 +02:00
|
|
|
MASTER_SITES= SF
|
2014-02-23 10:41:15 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2005-02-22 21:06:53 +01:00
|
|
|
|
2008-09-07 02:19:05 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-02-22 21:06:53 +01:00
|
|
|
COMMENT= Extensible reader/decompiler of files in CHM format
|
|
|
|
|
2014-01-25 23:03:15 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2009-07-28 00:18:20 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chm/chm.py:${PORTSDIR}/textproc/pychm \
|
2012-07-31 15:38:28 +02:00
|
|
|
${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32
|
2005-02-22 21:06:53 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2007-07-18 15:20:44 +02:00
|
|
|
USE_BZIP2= yes
|
2014-02-23 10:41:15 +01:00
|
|
|
USE_PYTHON= 2
|
2005-02-22 21:06:53 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
2014-02-23 10:41:15 +01:00
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
|
|
|
|
PLIST_FILES= man/man1/archmage.1.gz
|
2007-07-18 15:20:44 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz
|
2005-02-22 21:06:53 +01:00
|
|
|
|
|
|
|
post-patch:
|
2007-07-18 15:20:44 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,/usr/share/archmage,${DATADIR}," ${WRKSRC}/arch.conf
|
2014-02-23 10:41:15 +01:00
|
|
|
@${REINPLACE_CMD} -e "s,/etc/archmage,${ETCDIR}," ${WRKSRC}/archmod/__init__.py
|
|
|
|
@${REINPLACE_CMD} -e "s,/etc/archmage,${ETCDIR},;/archmage.1/d; \
|
|
|
|
s,share/archmage,${DATADIR_REL}," ${WRKSRC}/setup.py
|
2007-07-18 15:20:44 +02:00
|
|
|
|
|
|
|
post-install:
|
2014-01-25 23:03:15 +01:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
|
2005-02-22 21:06:53 +01:00
|
|
|
|
2005-04-03 18:14:02 +02:00
|
|
|
.include <bsd.port.mk>
|