2007-01-02 09:42:42 +01:00
|
|
|
# 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
|
2010-09-15 20:35:24 +02:00
|
|
|
PORTREVISION= 3
|
2007-01-02 09:42:42 +01:00
|
|
|
CATEGORIES= textproc
|
2008-01-30 03:05:09 +01:00
|
|
|
MASTER_SITES= http://www.autistici.org/bakunin/libmrss/
|
2007-01-02 09:42:42 +01:00
|
|
|
|
|
|
|
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
|
2007-01-02 09:42:42 +01:00
|
|
|
|
2007-07-31 09:34:16 +02:00
|
|
|
OPTIONS= PHPMRSS "support to PHP" on
|
|
|
|
|
2007-01-02 09:42:42 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
USE_LDCONFIG= yes
|
2012-07-26 07:40:22 +02:00
|
|
|
USE_PKGCONFIG= yes
|
2007-01-02 09:42:42 +01:00
|
|
|
WANT_GNOME= yes
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
${gnomehack_PRE_PATCH}
|
|
|
|
|
2007-07-31 09:34:16 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_PHPMRSS)
|
2012-05-28 22:39:27 +02:00
|
|
|
BROKEN= does not compile
|
2007-07-31 09:34:16 +02:00
|
|
|
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
|
2007-07-31 09:34:16 +02:00
|
|
|
post-install:
|
|
|
|
@(cd ${WRKSRC}/phpmrss; ${SETENV} ${SCRIPTS_ENV} ${LOCALBASE}/bin/phpize)
|
2011-08-03 02:40:37 +02:00
|
|
|
@(cd ${WRKSRC}/phpmrss; ${SETENV} ${SCRIPTS_ENV} CC=${CC} ./configure; ${MAKE} install)
|
2007-07-31 09:34:16 +02:00
|
|
|
PLIST_SUB+= PHPMRSS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= PHPMRSS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|