freebsd-ports/textproc/libmrss-php/Makefile
Mathieu Arnold 5815027c46 These ports do not build with PHP 7.0, make them as such.
Also, mark those who try to use mysql, which does not exist in PHP 7.0.

Sponsored by:	Absolight
2016-03-13 16:56:42 +00:00

35 lines
757 B
Makefile

# 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:${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
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>