aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libmrss-php/Makefile
blob: 5d35797a49a53bb1b6f2bf1322f721ddca18f96a (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
# Created by: Rodrigo Osorio <rodrigo@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libmrss
PORTVERSION=    0.19.2
PORTREVISION=   2
CATEGORIES= textproc
MASTER_SITES=   http://www.autistici.org/bakunin/libmrss/
PKGNAMESUFFIX=  -php

MAINTAINER= ports@FreeBSD.org
COMMENT=    PHP library for parsing, writing, and creating RSS

LICENSE=    LGPL21 # or later
LICENSE_FILE=   ${WRKSRC}/../COPYING

LIB_DEPENDS=    libmrss.so:${PORTSDIR}/textproc/libmrss

GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

USES=       libtool
USE_LDCONFIG=   yes

USE_PHP=    yes
USE_PHPEXT= yes
PHP_MODNAME=    mrss
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/phpmrss

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/mrss.so

.include <bsd.port.mk>