freebsd-ports/textproc/libmrss/Makefile

49 lines
1 KiB
Makefile
Raw Normal View History

# Ports collection makefile for: libmrss
# Date created: Jan 2, 2007
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libmrss
2008-09-26 15:15:05 +02:00
PORTVERSION= 0.19.2
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www.autistici.org/bakunin/libmrss/
MAINTAINER= clsung@FreeBSD.org
COMMENT= A C library for parsing, writing, and creating RSS
2010-04-03 12:44:36 +02:00
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
2007-07-18 05:02:21 +02:00
nxml.18:${PORTSDIR}/textproc/libnxml
OPTIONS= PHPMRSS "support to PHP" on
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
WANT_GNOME= yes
pre-patch:
${gnomehack_PRE_PATCH}
.include <bsd.port.pre.mk>
.if defined(WITH_PHPMRSS)
BROKEN= does not compile
USE_PHP= yes
2010-04-09 21:11:56 +02:00
USE_PHP_BUILD= yes
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS+= autoconf:env
post-install:
@(cd ${WRKSRC}/phpmrss; ${SETENV} ${SCRIPTS_ENV} ${LOCALBASE}/bin/phpize)
@(cd ${WRKSRC}/phpmrss; ${SETENV} ${SCRIPTS_ENV} CC=${CC} ./configure; ${MAKE} install)
PLIST_SUB+= PHPMRSS=""
.else
PLIST_SUB+= PHPMRSS="@comment "
.endif
.include <bsd.port.post.mk>