Mathieu Arnold a1993564e0 Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
2018-03-08 19:48:41 +00:00

34 lines
746 B
Makefile

# Created by: Rodrigo Osorio <rodrigo@FreeBSD.org>
# $FreeBSD$
PORTNAME= libmrss
PORTVERSION= 0.19.2
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www.autistici.org/bakunin/libmrss/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
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 71 72
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/phpmrss
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/mrss.so
.include <bsd.port.mk>