2005-02-22 21:06:53 +01:00
|
|
|
# New ports collection makefile for: archmage
|
2006-05-01 15:28:44 +02:00
|
|
|
# Date created: 22 February 2005
|
|
|
|
# Whom: 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
|
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
|
|
|
|
|
2009-07-28 00:18:20 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chm/chm.py:${PORTSDIR}/textproc/pychm \
|
2012-07-31 09:07:36 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}beautifulsoup32>=0:${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
|
2005-02-22 21:06:53 +01:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-18 15:20:44 +02:00
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
|
|
|
|
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
|
2006-05-01 15:28:44 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,/etc,${PREFIX}/etc," ${WRKSRC}/archmod/CHM.py
|
2007-07-18 15:20:44 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,/etc,etc,;/archmage.1/d" ${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
|
2005-02-22 21:06:53 +01:00
|
|
|
|
2005-04-03 18:14:02 +02:00
|
|
|
.include <bsd.port.mk>
|