summaryrefslogtreecommitdiffstats
path: root/textproc/libmrss-php/Makefile
blob: e7c6ccf7ca0fd82eb59b966b737123d39dd6dfe6 (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
# 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+
LICENSE_FILE=	${WRKSRC}/../COPYING

LIB_DEPENDS=	libmrss.so:textproc/libmrss

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

USES=		libtool php:ext
USE_LDCONFIG=	yes

PHP_MODNAME=	mrss
IGNORE_WITH_PHP=	70
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/phpmrss

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud