aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pear-File_Fstab/Makefile
blob: 4fcc0f37860c01c41a261ee03ea3b2edb21e5773 (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
# Ports collection makefile for:  pear-File_Fstab
# Date created:			  09 March 2005
# Whom:				  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#

PORTNAME=	File_Fstab
PORTVERSION=	2.0.2
CATEGORIES=	sysutils devel pear

MAINTAINER=	antonio@php.net
COMMENT=	PEAR class to read and write fstab files

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

CATEGORY=	File
FILES=		Fstab.php Fstab/Entry.php
EXAMPLES=	example.php
_EXAMPLESDIR=	.

post-extract:
	@${MKDIR} ${WRKSRC}/Fstab
	@${MV} ${WRKSRC}/Entry.php ${WRKSRC}/Fstab
.for file in ${FILES}
	@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
.endfor

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