Lines 7-38
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= Mail_Mime |
8 |
PORTNAME= Mail_Mime |
9 |
PORTVERSION= 1.2.1 |
9 |
PORTVERSION= 1.2.1 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= mail www |
11 |
CATEGORIES= mail www |
12 |
MASTER_SITES= http://pear.php.net/get/ |
|
|
13 |
PKGNAMEPREFIX= pear- |
14 |
EXTRACT_SUFX= .tgz |
15 |
DIST_SUBDIR= PEAR |
16 |
|
12 |
|
17 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
18 |
COMMENT= PEAR classes to create and decode MIME messages |
14 |
COMMENT= PEAR classes to create and decode MIME messages |
19 |
|
15 |
|
20 |
BUILD_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR |
16 |
BUILD_DEPENDS= ${PEARDIR}/Mail/mail.php:${PORTSDIR}/mail/pear-Mail |
21 |
RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install |
17 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
22 |
|
|
|
23 |
NO_BUILD= yes |
24 |
|
18 |
|
25 |
.include <bsd.port.pre.mk> |
19 |
.include <bsd.port.pre.mk> |
26 |
|
20 |
.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" |
27 |
.if exists(${LOCALBASE}/bin/php-config) |
|
|
28 |
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix |
29 |
.else |
30 |
PHP_BASE= ${LOCALBASE} |
31 |
.endif |
32 |
PEAR= ${LOCALBASE}/bin/pear |
33 |
LPHP_LIB= lib/php |
34 |
PEARDIR= ${PHP_BASE}/${LPHP_LIB} |
35 |
PLIST_SUB= PEARDIR=${LPHP_LIB} |
36 |
|
21 |
|
37 |
do-install: |
22 |
do-install: |
38 |
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Mail |
23 |
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Mail |
Lines 40-48
Link Here
|
40 |
.for BUGMODE in mimeDecode.php mimePart.php xmail.dtd xmail.xsl |
25 |
.for BUGMODE in mimeDecode.php mimePart.php xmail.dtd xmail.xsl |
41 |
@${CHMOD} a-x ${PEARDIR}/Mail/${BUGMODE} |
26 |
@${CHMOD} a-x ${PEARDIR}/Mail/${BUGMODE} |
42 |
.endfor |
27 |
.endfor |
43 |
|
|
|
44 |
post-install: |
45 |
# Register a new package |
46 |
@${PEAR} install -r -f ${WRKDIR}/package.xml |
47 |
|
28 |
|
48 |
.include <bsd.port.post.mk> |
29 |
.include <bsd.port.post.mk> |