summaryrefslogtreecommitdiff
path: root/devel/pear-PEAR_PackageFileManager2/Makefile
blob: 8b6b0498b25745ea57b06a1ae9a240f1a7a34023 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# New ports collection makefile for:	pear-PEAR_PackageFileManager2
# Date created:		2009-10-17
# Whom:			Sylvio Cesar <sylvio@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	PEAR_PackageFileManager2
PORTVERSION=	1.0.2
CATEGORIES=	devel www pear

MAINTAINER=	sylvio@FreeBSD.org
COMMENT=	PEAR class to maintain PEAR packages

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

LICENSE=	BSD

CATEGORY=	PEAR

FILES=		PackageFileManager2.php
EXAMPLES=	basicConvert.php \
		detectDependencies.php \
		easyMigration.php \
		makepackage.php \
		updatepackage.php
TESTS=		importFromPackageFile1/packagefiles/package_foo.xml \
		importFromPackageFile1/setup.php.inc \
		importFromPackageFile1/test.phpt \
		importOptions/packagefiles/package_foo.xml \
		importOptions/setup.php.inc \
		importOptions/test.phpt \
		setOptions/existingpackagexml/package_changelog.xml \
		setOptions/existingpackagexml/package_nochangelog.xml \
		setOptions/setup.php.inc \
		setOptions/test_existingpackagexml_changelog.phpt \
		setOptions/test_existingpackagexml_nochangelog.phpt \
		setOptions/test_existingpackagexml_unknownchannel.phpt \
		setOptions/test_newpackagexml.phpt \
		setOptions/test_nobaseinstalldir.phpt \
		setOptions/test_nonrealpackagedirectory.phpt \
		setOptions/test_nopackagedirectory.phpt \
		writePackageFile/packagefiles/package1.xml \
		writePackageFile/packagefiles/Server.php \
		writePackageFile/setup.php.inc \
		writePackageFile/test_addchangelog.phpt \
		writePackageFile/test_updatechangelog.phpt \
		phpt_test.php.inc \
		setup.php.inc
.include <bsd.port.pre.mk>

post-patch:
	${MV} ${WRKSRC}/tests/PEAR_PackageFileManager2/* ${WRKSRC}/tests
	${RM} -R ${WRKSRC}/tests/PEAR_PackageFileManager2

##build-install:
##	${RM} -R ${PREFIX}/share/pear/tests/PEAR_PackageFileManager2

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