summaryrefslogtreecommitdiff
path: root/devel/pear-HTML_Form/Makefile
blob: d6f76c605208083692b16f2729465d8cd4134eeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Ports collection makefile for:  pear-HTML_Form
# Date created:			  27 October 2004
# Whom:				  Antonio Carlos Venancio Junior (<antonio@php.net>)
#
# $FreeBSD$
#

PORTNAME=	HTML_Form
PORTVERSION=	1.2.0
CATEGORIES=	devel pear

MAINTAINER=	antonio@php.net
COMMENT=	PEAR simple HTML form package

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

USE_REINPLACE=	yes

CATEGORY=	HTML
FILES=		Form.php
TESTS=		form.phpt

post-extract:
	@${MV} ${WRKSRC}/HTML/* ${WRKSRC}

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"

post-patch:
	@${REINPLACE_CMD} -e "s|@include_path@|${PREFIX}/${LPEARDIR}|g" \
		${WRKSRC}/tests/${TESTS}

.include <bsd.port.post.mk>