svn commit: r308338 - in head/textproc: . libmrss libmrss-php libmrss-php/files
Baptiste Daroussin
bapt at FreeBSD.org
Wed Dec 5 17:15:38 UTC 2012
Author: bapt
Date: Wed Dec 5 17:15:36 2012
New Revision: 308338
URL: http://svnweb.freebsd.org/changeset/ports/308338
Log:
- Trim header
- Drop shlib ABI version numbers from LIB_DEPENDS
- Split the php bindings into a separate ports as building was a different
procedure anyway
- Fix buidling the php with recent php
- Drop article from COMMENT
PR: ports/170776
Submitted by: Rodrigo OSORIO <rodrigo at bebik.net>
Approved by: clsung (maintainer timeout)
Feature safe: yes
Added:
head/textproc/libmrss-php/
head/textproc/libmrss-php/Makefile (contents, props changed)
head/textproc/libmrss-php/distinfo (contents, props changed)
head/textproc/libmrss-php/files/
head/textproc/libmrss-php/files/patch-phpmrss_php.c (contents, props changed)
head/textproc/libmrss-php/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
head/textproc/libmrss/Makefile
head/textproc/libmrss/pkg-descr
head/textproc/libmrss/pkg-plist (contents, props changed)
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Wed Dec 5 16:43:44 2012 (r308337)
+++ head/textproc/Makefile Wed Dec 5 17:15:36 2012 (r308338)
@@ -369,6 +369,7 @@
SUBDIR += liblingoteach
SUBDIR += liblrdf
SUBDIR += libmrss
+ SUBDIR += libmrss-php
SUBDIR += libnxml
SUBDIR += libparsifal
SUBDIR += libpathan
Added: head/textproc/libmrss-php/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libmrss-php/Makefile Wed Dec 5 17:15:36 2012 (r308338)
@@ -0,0 +1,31 @@
+# Created by: Rodrigo Osorio <rodrigo at bebik.net>
+# $FreeBSD$
+
+PORTNAME= libmrss
+PORTVERSION= 0.19.2
+CATEGORIES= textproc
+MASTER_SITES= http://www.autistici.org/bakunin/libmrss/
+PKGNAMESUFFIX= -php
+
+MAINTAINER= rodrigo at bebik.net
+COMMENT= PHP library for parsing, writing, and creating RSS
+
+LIB_DEPENDS= mrss:${PORTSDIR}/textproc/libmrss
+
+GNU_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+USE_LDCONFIG= yes
+
+USE_PHP= yes
+USE_PHPIZE= yes
+USE_PHP_BUILD= yes
+USE_AUTOTOOLS+= autoconf:env
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/phpmrss
+
+PLIST_FILES= lib/php/${PHP_EXT_DIR}/mrss.so
+PLIST_DIRSTRY= lib/php/${PHP_EXTDIR} \
+ lib/php
+
+.include <bsd.port.mk>
Added: head/textproc/libmrss-php/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libmrss-php/distinfo Wed Dec 5 17:15:36 2012 (r308338)
@@ -0,0 +1,2 @@
+SHA256 (libmrss-0.19.2.tar.gz) = 071416adcae5c1a9317a4a313f2deb34667e3cc2be4487fb3076528ce45b210b
+SIZE (libmrss-0.19.2.tar.gz) = 375238
Added: head/textproc/libmrss-php/files/patch-phpmrss_php.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libmrss-php/files/patch-phpmrss_php.c Wed Dec 5 17:15:36 2012 (r308338)
@@ -0,0 +1,11 @@
+--- php.c 2008-01-25 19:32:24.000000000 +0100
++++ php.c 2012-08-20 03:10:45.000000000 +0200
+@@ -58,7 +58,7 @@
+ return SUCCESS;
+ }
+
+-static function_entry mrss_functions[] = {
++static zend_function_entry mrss_functions[] = {
+ PHP_FE (mrss_parse_url, NULL)
+ PHP_FE (mrss_parse_url_with_options, NULL)
+ PHP_FE (mrss_parse_file, NULL)
Added: head/textproc/libmrss-php/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libmrss-php/pkg-descr Wed Dec 5 17:15:36 2012 (r308338)
@@ -0,0 +1,4 @@
+PHP bindings for the mRss library for parsing, writing and creating RSS files or
+streams.
+
+WWW: http://www2.autistici.org/bakunin/libmrss/doc/
Modified: head/textproc/libmrss/Makefile
==============================================================================
--- head/textproc/libmrss/Makefile Wed Dec 5 16:43:44 2012 (r308337)
+++ head/textproc/libmrss/Makefile Wed Dec 5 17:15:36 2012 (r308338)
@@ -1,23 +1,17 @@
-# Ports collection makefile for: libmrss
-# Date created: Jan 2, 2007
-# Whom: Cheng-Lung Sung <clsung at FreeBSD.org>
-#
+# Created by: Cheng-Lung Sung <clsung at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= libmrss
PORTVERSION= 0.19.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= http://www.autistici.org/bakunin/libmrss/
MAINTAINER= clsung at FreeBSD.org
-COMMENT= A C library for parsing, writing, and creating RSS
+COMMENT= C library for parsing, writing, and creating RSS
-LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
- nxml.18:${PORTSDIR}/textproc/libnxml
-
-OPTIONS= PHPMRSS "support to PHP" on
+LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
+ nxml:${PORTSDIR}/textproc/libnxml
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
@@ -25,24 +19,6 @@ 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
-USE_PHP_BUILD= yes
-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
+USE_GNOME= gnomehack
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/textproc/libmrss/pkg-descr
==============================================================================
--- head/textproc/libmrss/pkg-descr Wed Dec 5 16:43:44 2012 (r308337)
+++ head/textproc/libmrss/pkg-descr Wed Dec 5 17:15:36 2012 (r308338)
@@ -1,3 +1,3 @@
mRss is a C library for parsing, writing and creating RSS files or streams.
-WWW: http://www2.autistici.org/bakunin/libmrss/doc/
+WWW: http://www2.autistici.org/bakunin/libmrss/doc/
Modified: head/textproc/libmrss/pkg-plist
==============================================================================
--- head/textproc/libmrss/pkg-plist Wed Dec 5 16:43:44 2012 (r308337)
+++ head/textproc/libmrss/pkg-plist Wed Dec 5 17:15:36 2012 (r308338)
@@ -1,10 +1,6 @@
- at comment $FreeBSD$
include/mrss.h
lib/libmrss.a
lib/libmrss.la
lib/libmrss.so
lib/libmrss.so.19
libdata/pkgconfig/mrss.pc
-%%PHPMRSS%%lib/php/%%PHP_EXT_DIR%%/mrss.so
-%%PHPMRSS%%@dirrmtry lib/php/%%PHP_EXT_DIR%%
-%%PHPMRSS%%@dirrmtry lib/php
More information about the svn-ports-all
mailing list