# Ports collection makefile for:  pear-Console_Getopt
# Date created:			  2006/08/02
# Whom:				  chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD: ports/devel/pear-Console_Getopt/Makefile,v 1.15 2006/10/12 03:34:21 kris Exp $
#

PORTNAME=	Console_Getopt
PORTVERSION=	1.2
CATEGORIES=	devel pear

MAINTAINER=	chinsan@FreeBSD.org
COMMENT=	PHP class that provides Command-line option parser

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS=	${BUILD_DEPENDS}

BROKEN=		Incorrect pkg-plist

CATEGORY=	Console
FILES=		Console/Getopt.php

post-patch:
	@${CP} ${FILESDIR}/package.xml ${WRKDIR}

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=		uninstall failed on amd64 platforms
.endif

.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>
