# New ports collection makefile for:	anyremote2html
# Date created:				26 December 2008
# Whom:					Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#

PORTNAME=	anyremote2html
PORTVERSION=	0.6
CATEGORIES=	www deskutils
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	anyremote

MAINTAINER=	ports@logvinov.com
COMMENT=	A web interface for anyRemote

RUN_DEPENDS=	anyremote:${PORTSDIR}/comms/anyremote

GNU_CONFIGURE=	yes
USE_PYTHON_RUN=	yes

PORTDOCS=	NEWS README COPYING VERSION AUTHORS

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/${PORTNAME}
.if defined(NOPORTDOCS)
	@${REINPLACE_CMD} -e '/doc\/${PORTNAME}/d' ${WRKSRC}/Makefile.in
.endif

post-install:
.for dir in 16 32 64
	@${CHMOD} 644 ${PREFIX}/share/pixmaps/${PORTNAME}/${dir}/*
.endfor

.include <bsd.port.mk>