# New ports collection makefile for:    zeroinstall-injector
# Date created:         2007-06-24
# Whom:                 Dylan Cochran <a134qaed@gmail.com>
#
# $FreeBSD: ports/devel/zeroinstall-injector/Makefile,v 1.4 2007/11/14 17:40:01 pav Exp $
#

PORTNAME=	zeroinstall-injector
PORTVERSION=	0.29
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=zero-install
EXTRACT_SUFX=	.tar.gz.gpg

MAINTAINER=	a134qaed@gmail.com
COMMENT=	0install injector

RUN_DEPENDS=	${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2
RUN_DEPENDS+=	gpg:${PORTSDIR}/security/gnupg
EXTRACT_DEPENDS=gpg:${PORTSDIR}/security/gnupg

USE_PYTHON=	yes
USE_PYDISTUTILS=yes

MAN1=		0launch.1 0alias.1 0store.1

do-extract:
	@${RM} -rf ${DISTDIR}/${DISTNAME}.tar.gz
	@gpg --skip-verify ${DISTDIR}/${DISTFILES}
	@${RM} -rf ${WRKDIR}
	@${MKDIR} ${WRKDIR}
	cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
		${DISTDIR}/${DISTNAME}.tar.gz ${EXTRACT_AFTER_ARGS}

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1