# Created by: Alexander Logvinov <ports@logvinov.com>

PORTNAME=	anyremote2html
PORTVERSION=	1.4
CATEGORIES=	www deskutils
MASTER_SITES=	SF/anyremote/${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Web interface for anyRemote

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	anyremote:comms/anyremote

GNU_CONFIGURE=	yes
USES=		python:run shebangfix
SHEBANG_FILES=	anyremote2html
NO_ARCH=	yes

PORTDOCS=	ChangeLog README AUTHORS

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|COPYING||g' ${WRKSRC}/Makefile.*
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/${PORTNAME}

.include <bsd.port.mk>
