diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-01 18:05:44 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-01 18:05:44 +0000 |
commit | 276df8b7420d7b4cff74672a008a18ece0ed551b (patch) | |
tree | 827f07456a13b10e4af5671330a9a74208e86fbb /textproc | |
parent | 2f7aa75c57628a39aeb845329b9e3adabadd3ad9 (diff) | |
download | ports-276df8b7420d7b4cff74672a008a18ece0ed551b.tar.gz ports-276df8b7420d7b4cff74672a008a18ece0ed551b.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/rasqal/Makefile | 39 | ||||
-rw-r--r-- | textproc/rasqal/distinfo | 2 | ||||
-rw-r--r-- | textproc/rasqal/files/patch-configure | 50 | ||||
-rw-r--r-- | textproc/rasqal/pkg-plist | 8 | ||||
-rw-r--r-- | textproc/redland/Makefile | 39 | ||||
-rw-r--r-- | textproc/redland/distinfo | 2 | ||||
-rw-r--r-- | textproc/redland/files/patch-configure | 50 | ||||
-rw-r--r-- | textproc/redland/pkg-plist | 8 |
8 files changed, 48 insertions, 150 deletions
diff --git a/textproc/rasqal/Makefile b/textproc/rasqal/Makefile index 65ef6e62e763..ed7961004919 100644 --- a/textproc/rasqal/Makefile +++ b/textproc/rasqal/Makefile @@ -7,7 +7,7 @@ # PORTNAME= redland -PORTVERSION= 0.9.12 +PORTVERSION= 0.9.13 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.redland.opensource.ac.uk/dist/source/ @@ -17,28 +17,33 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A high-level interface for RDF LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db2 \ - expat.4:${PORTSDIR}/textproc/expat2 \ - xml2.5:${PORTSDIR}/textproc/libxml2 \ - xmlparse.1:${PORTSDIR}/www/libwww - -LIBWWW_CONFIG?= ${LOCALBASE}/bin/libwww-config + raptor.0:${PORTSDIR}/textproc/raptor USE_OPENSSL= yes -USE_PERL5= yes +USE_REINPLACE= yes +USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -I${LOCALBASE}/include" -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS= --with-bdb=${LOCALBASE} --with-libwww +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --with-bdb-lib="${LOCALBASE}/lib" \ + --with-bdb-include="${LOCALBASE}/include/db2" \ + --with-bdb-dbname="db2" \ + --with-libwww INSTALLS_SHLIB= yes -MAN1= rapper.1 -MAN3= libraptor.3 redland.3 +MAN1= redland-config.1 redland-db-upgrade.1 +MAN3= redland.3 + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib post-patch: - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \ - 's|\@INSTALL\@|/usr/bin/install -c|g ; \ - s|^CPPFLAGS = -I|CPPFLAGS = \@CPPFLAGS\@ -I|g ; \ - s|^LDFLAGS = \@LIBRDF_|LDFLAGS = \@LDFLAGS\@ \@LIBRDF_|g ; \ - s|^LIBS = \@LIBRDF_|LIBS = \@LIBS\@ \@LIBRDF_|g' + @${REINPLACE_CMD} -e 's|ac_subdirs_all raptor|ac_subdirs_all|g ; \ + s|-I\\$$(top_srcdir)/raptor||g ; \ + s|\\$$(top_builddir)/raptor/libraptor.la|-lraptor|g' \ + ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|SUBDIRS = raptor|SUBDIRS =|g ; \ + s|$$(top_builddir)/raptor/libraptor.la|-lraptor|g' .include <bsd.port.mk> diff --git a/textproc/rasqal/distinfo b/textproc/rasqal/distinfo index 49089937da96..776c604411fd 100644 --- a/textproc/rasqal/distinfo +++ b/textproc/rasqal/distinfo @@ -1 +1 @@ -MD5 (redland-0.9.12.tar.gz) = 545ffc5e1da2e240392b0dbe32afa821 +MD5 (redland-0.9.13.tar.gz) = 090d3da7a8a063c5292243637e4719b9 diff --git a/textproc/rasqal/files/patch-configure b/textproc/rasqal/files/patch-configure deleted file mode 100644 index 60d1355edc85..000000000000 --- a/textproc/rasqal/files/patch-configure +++ /dev/null @@ -1,50 +0,0 @@ ---- configure.orig Thu Feb 13 11:00:47 2003 -+++ configure Fri Apr 18 21:32:50 2003 -@@ -6626,9 +6626,9 @@ - - fi - --CPPFLAGS="$LIBRDF_CPPFLAGS" --LDFLAGS="$LIBRDF_LDFLAGS" --LIBS="$LIBRDF_LIBS" -+CPPFLAGS="$LIBRDF_CPPFLAGS $CPPFLAGS" -+LDFLAGS="$LIBRDF_LDFLAGS $LDFLAGS" -+LIBS="$LIBRDF_LIBS $LIBS" - - - if test "$have_libdb" != yes; then -@@ -7294,9 +7294,9 @@ - echo "$ac_t""no" 1>&6 - fi - --CPPFLAGS="$LIBRDF_CPPFLAGS" --LDFLAGS="$LIBRDF_LDFLAGS" --LIBS="$LIBRDF_LIBS" -+CPPFLAGS="$LIBRDF_CPPFLAGS $CPPFLAGS" -+LDFLAGS="$LIBRDF_LDFLAGS $LDFLAGS" -+LIBS="$LIBRDF_LIBS $LIBS" - - - -@@ -7730,7 +7730,7 @@ - have_libxml=0 - fi - -- CPPFLAGS="$LIBRDF_CPPFLAGS" -+ CPPFLAGS="$LIBRDF_CPPFLAGS $CPPFLAGS" - - else - echo "$ac_t""no" 1>&6 -@@ -8328,9 +8328,9 @@ - CFLAGS="$MAINTAINER_CFLAGS $CFLAGS" - fi - --LIBS= --CPPFLAGS= --LDFLAGS= -+#LIBS= -+#CPPFLAGS= -+#LDFLAGS= - - - diff --git a/textproc/rasqal/pkg-plist b/textproc/rasqal/pkg-plist index 61022e5b7d0c..b9bea624a62d 100644 --- a/textproc/rasqal/pkg-plist +++ b/textproc/rasqal/pkg-plist @@ -1,10 +1,6 @@ -bin/rapper -bin/raptor-config bin/redland-config bin/redland-db-upgrade include/librdf.h -include/ntriples.h -include/raptor.h include/rdf_concepts.h include/rdf_digest.h include/rdf_files.h @@ -16,6 +12,7 @@ include/rdf_init.h include/rdf_iterator.h include/rdf_list.h include/rdf_model.h +include/rdf_model_storage.h include/rdf_node.h include/rdf_parser.h include/rdf_query.h @@ -30,9 +27,6 @@ include/rdf_types.h include/rdf_uri.h include/rdf_utf8.h include/redland.h -lib/libraptor.a -lib/libraptor.so -lib/libraptor.so.0 lib/librdf.a lib/librdf.so lib/librdf.so.0 diff --git a/textproc/redland/Makefile b/textproc/redland/Makefile index 65ef6e62e763..ed7961004919 100644 --- a/textproc/redland/Makefile +++ b/textproc/redland/Makefile @@ -7,7 +7,7 @@ # PORTNAME= redland -PORTVERSION= 0.9.12 +PORTVERSION= 0.9.13 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.redland.opensource.ac.uk/dist/source/ @@ -17,28 +17,33 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A high-level interface for RDF LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db2 \ - expat.4:${PORTSDIR}/textproc/expat2 \ - xml2.5:${PORTSDIR}/textproc/libxml2 \ - xmlparse.1:${PORTSDIR}/www/libwww - -LIBWWW_CONFIG?= ${LOCALBASE}/bin/libwww-config + raptor.0:${PORTSDIR}/textproc/raptor USE_OPENSSL= yes -USE_PERL5= yes +USE_REINPLACE= yes +USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -I${LOCALBASE}/include" -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS= --with-bdb=${LOCALBASE} --with-libwww +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --with-bdb-lib="${LOCALBASE}/lib" \ + --with-bdb-include="${LOCALBASE}/include/db2" \ + --with-bdb-dbname="db2" \ + --with-libwww INSTALLS_SHLIB= yes -MAN1= rapper.1 -MAN3= libraptor.3 redland.3 +MAN1= redland-config.1 redland-db-upgrade.1 +MAN3= redland.3 + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib post-patch: - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \ - 's|\@INSTALL\@|/usr/bin/install -c|g ; \ - s|^CPPFLAGS = -I|CPPFLAGS = \@CPPFLAGS\@ -I|g ; \ - s|^LDFLAGS = \@LIBRDF_|LDFLAGS = \@LDFLAGS\@ \@LIBRDF_|g ; \ - s|^LIBS = \@LIBRDF_|LIBS = \@LIBS\@ \@LIBRDF_|g' + @${REINPLACE_CMD} -e 's|ac_subdirs_all raptor|ac_subdirs_all|g ; \ + s|-I\\$$(top_srcdir)/raptor||g ; \ + s|\\$$(top_builddir)/raptor/libraptor.la|-lraptor|g' \ + ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|SUBDIRS = raptor|SUBDIRS =|g ; \ + s|$$(top_builddir)/raptor/libraptor.la|-lraptor|g' .include <bsd.port.mk> diff --git a/textproc/redland/distinfo b/textproc/redland/distinfo index 49089937da96..776c604411fd 100644 --- a/textproc/redland/distinfo +++ b/textproc/redland/distinfo @@ -1 +1 @@ -MD5 (redland-0.9.12.tar.gz) = 545ffc5e1da2e240392b0dbe32afa821 +MD5 (redland-0.9.13.tar.gz) = 090d3da7a8a063c5292243637e4719b9 diff --git a/textproc/redland/files/patch-configure b/textproc/redland/files/patch-configure deleted file mode 100644 index 60d1355edc85..000000000000 --- a/textproc/redland/files/patch-configure +++ /dev/null @@ -1,50 +0,0 @@ ---- configure.orig Thu Feb 13 11:00:47 2003 -+++ configure Fri Apr 18 21:32:50 2003 -@@ -6626,9 +6626,9 @@ - - fi - --CPPFLAGS="$LIBRDF_CPPFLAGS" --LDFLAGS="$LIBRDF_LDFLAGS" --LIBS="$LIBRDF_LIBS" -+CPPFLAGS="$LIBRDF_CPPFLAGS $CPPFLAGS" -+LDFLAGS="$LIBRDF_LDFLAGS $LDFLAGS" -+LIBS="$LIBRDF_LIBS $LIBS" - - - if test "$have_libdb" != yes; then -@@ -7294,9 +7294,9 @@ - echo "$ac_t""no" 1>&6 - fi - --CPPFLAGS="$LIBRDF_CPPFLAGS" --LDFLAGS="$LIBRDF_LDFLAGS" --LIBS="$LIBRDF_LIBS" -+CPPFLAGS="$LIBRDF_CPPFLAGS $CPPFLAGS" -+LDFLAGS="$LIBRDF_LDFLAGS $LDFLAGS" -+LIBS="$LIBRDF_LIBS $LIBS" - - - -@@ -7730,7 +7730,7 @@ - have_libxml=0 - fi - -- CPPFLAGS="$LIBRDF_CPPFLAGS" -+ CPPFLAGS="$LIBRDF_CPPFLAGS $CPPFLAGS" - - else - echo "$ac_t""no" 1>&6 -@@ -8328,9 +8328,9 @@ - CFLAGS="$MAINTAINER_CFLAGS $CFLAGS" - fi - --LIBS= --CPPFLAGS= --LDFLAGS= -+#LIBS= -+#CPPFLAGS= -+#LDFLAGS= - - - diff --git a/textproc/redland/pkg-plist b/textproc/redland/pkg-plist index 61022e5b7d0c..b9bea624a62d 100644 --- a/textproc/redland/pkg-plist +++ b/textproc/redland/pkg-plist @@ -1,10 +1,6 @@ -bin/rapper -bin/raptor-config bin/redland-config bin/redland-db-upgrade include/librdf.h -include/ntriples.h -include/raptor.h include/rdf_concepts.h include/rdf_digest.h include/rdf_files.h @@ -16,6 +12,7 @@ include/rdf_init.h include/rdf_iterator.h include/rdf_list.h include/rdf_model.h +include/rdf_model_storage.h include/rdf_node.h include/rdf_parser.h include/rdf_query.h @@ -30,9 +27,6 @@ include/rdf_types.h include/rdf_uri.h include/rdf_utf8.h include/redland.h -lib/libraptor.a -lib/libraptor.so -lib/libraptor.so.0 lib/librdf.a lib/librdf.so lib/librdf.so.0 |