freebsd-ports/textproc/archmage/Makefile

38 lines
978 B
Makefile
Raw Normal View History

# New ports collection makefile for: archmage
# Date created: 22 February 2005
# Whom: Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD$
#
PORTNAME= archmage
PORTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Extensible reader/decompiler of files in CHM format
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chm/chm.py:${PORTSDIR}/textproc/pychm \
${PYTHON_PKGNAMEPREFIX}beautifulsoup32>=0:${PORTSDIR}/www/py-beautifulsoup32
NO_BUILD= yes
2007-07-18 15:20:44 +02:00
USE_BZIP2= yes
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
post-patch:
2007-07-18 15:20:44 +02:00
@${REINPLACE_CMD} -e "s,/usr/share/archmage,${DATADIR}," ${WRKSRC}/arch.conf
@${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/
.include <bsd.port.mk>