diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-05-14 20:38:30 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-05-14 20:38:30 +0800 |
commit | bef0475902b61c8ec87e6fadeea4361515b39147 (patch) | |
tree | 9bbb48c10e096d7b1d3a77883dccfe3df42e30ce | |
parent | 980b86d4749bce5d5f81b11177452ec6e4863feb (diff) | |
download | freebsd-ports-gnome-bef0475902b61c8ec87e6fadeea4361515b39147.tar.gz freebsd-ports-gnome-bef0475902b61c8ec87e6fadeea4361515b39147.tar.zst freebsd-ports-gnome-bef0475902b61c8ec87e6fadeea4361515b39147.zip |
Update to 1.0.4, release notes: http://librdf.org/RELEASE.html [1]
Bring Makefile in line with lastest :) infrasctructure changes:
USE_BDB, USE_MYSQL,OPTIONS [2]
PR: ports/96978 [1]
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> [1]
itetcu (me) [2]
Approved by: maintainer, lawrance (mentor)
-rw-r--r-- | textproc/rasqal/Makefile | 51 | ||||
-rw-r--r-- | textproc/rasqal/distinfo | 5 | ||||
-rw-r--r-- | textproc/rasqal/pkg-plist | 2 | ||||
-rw-r--r-- | textproc/redland/Makefile | 51 | ||||
-rw-r--r-- | textproc/redland/distinfo | 5 | ||||
-rw-r--r-- | textproc/redland/pkg-plist | 2 |
6 files changed, 56 insertions, 60 deletions
diff --git a/textproc/rasqal/Makefile b/textproc/rasqal/Makefile index 17d4847b95e6..f12f5cd65d03 100644 --- a/textproc/rasqal/Makefile +++ b/textproc/rasqal/Makefile @@ -7,7 +7,7 @@ # PORTNAME= redland -PORTVERSION= 1.0.3 +PORTVERSION= 1.0.4 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://librdf.org/dist/source/ @@ -18,48 +18,43 @@ COMMENT= A high-level interface for RDF LIB_DEPENDS= raptor.2:${PORTSDIR}/textproc/raptor -# Berkeley DB is also needed, default to using 4.2 if not set otherwise. -WITH_BDB_VER?= 42 -.if ${WITH_BDB_VER} == 3 -LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3 -.elif ${WITH_BDB_VER} == 4 -LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 -.elif ${WITH_BDB_VER} == 41 -LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 -.elif ${WITH_BDB_VER} == 42 -LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 -.elif ${WITH_BDB_VER} == 43 -LIB_DEPENDS+= db-4.3.0:${PORTSDIR}/databases/db43 -.else -.error WITH_BDB_VER must be one of 3, 4, 41, 42 or 43 -.endif - +USE_BDB= yes +INVALID_BDB_VER=2 USE_GNOME= gnomehack gnometarget lthack pkgconfig USE_OPENSSL= yes USE_GETOPT_LONG=yes USE_GMAKE= yes GNU_CONFIGURE= yes -CPPFLAGS= -I${LOCALBASE}/include/db${WITH_BDB_VER} -I${LOCALBASE}/include +CPPFLAGS= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-raptor=system \ --with-rasqal=internal \ --with-threestore=no -# optional use of recent MySQL versions -.if defined(WANT_MYSQL_VER) -.if ${WANT_MYSQL_VER} < 323 - @${ECHO} "This port requires WANT_MYSQL_VER=323 or later to use MySQL." -.else -CONFIGURE_ARGS+=--with-mysql=yes -.endif -.endif - INSTALLS_SHLIB= yes MAN1= rasqal-config.1 rdfproc.1 redland-config.1 \ redland-db-upgrade.1 roqet.1 MAN3= librasqal.3 redland.3 -.include <bsd.port.mk> +OPTIONS+= MYSQL "Use MySQL instead of BDB" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_MYSQL) +USE_MYSQL= yes +CONFIGURE_ARGS+=--with-mysql=yes +.endif + +pre-everything:: + @${ECHO_CMD} "You can choose BDB version by setting WITH_BDB_VER to one off:" + @${ECHO_CMD} "3 40 41 42 43 44 3+ 40+ 41+ 42+ 43+ 44+ (current: ${BDB_VER})" +. if defined(WITH_MYSQL) + @${ECHO_CMD} "MySQL version to be used: ${MYSQL_VER}" + @${ECHO_CMD} "If you don't have MySQL installed you can stop the build now" + @${ECHO_CMD} "and set WITH_MYSQL_VER to the desired version" +. endif + +.include <bsd.port.post.mk> diff --git a/textproc/rasqal/distinfo b/textproc/rasqal/distinfo index a5809b43eacd..ef5cf2b571af 100644 --- a/textproc/rasqal/distinfo +++ b/textproc/rasqal/distinfo @@ -1,2 +1,3 @@ -MD5 (redland-1.0.3.tar.gz) = a354fa07d57b377d5e555cccb3de3023 -SIZE (redland-1.0.3.tar.gz) = 3189904 +MD5 (redland-1.0.4.tar.gz) = 3ee58cbf5486c97ef3bc0c4368a344cc +SHA256 (redland-1.0.4.tar.gz) = 1846817e98f8231ca15299fcabee0fd1f1a2a9afa12f7b34c98a6fe63cf880ab +SIZE (redland-1.0.4.tar.gz) = 3374125 diff --git a/textproc/rasqal/pkg-plist b/textproc/rasqal/pkg-plist index 502f4e6e7d03..b5b3a9431c30 100644 --- a/textproc/rasqal/pkg-plist +++ b/textproc/rasqal/pkg-plist @@ -48,6 +48,7 @@ share/gtk-doc/html/rasqal/rasqal-section-query-results.html share/gtk-doc/html/rasqal/rasqal-section-query.html share/gtk-doc/html/rasqal/rasqal-section-triple.html share/gtk-doc/html/rasqal/rasqal.devhelp +share/gtk-doc/html/rasqal/rasqal.devhelp2 share/gtk-doc/html/rasqal/rasqal-section-triples-source.html share/gtk-doc/html/rasqal/rasqal-section-variable.html share/gtk-doc/html/rasqal/rasqal.html @@ -84,6 +85,7 @@ share/gtk-doc/html/redland/redland-unicode.html share/gtk-doc/html/redland/redland-uri.html share/gtk-doc/html/redland/redland-world.html share/gtk-doc/html/redland/redland.devhelp +share/gtk-doc/html/redland/redland.devhelp2 share/gtk-doc/html/redland/redland.html share/gtk-doc/html/redland/right.png share/gtk-doc/html/redland/style.css diff --git a/textproc/redland/Makefile b/textproc/redland/Makefile index 17d4847b95e6..f12f5cd65d03 100644 --- a/textproc/redland/Makefile +++ b/textproc/redland/Makefile @@ -7,7 +7,7 @@ # PORTNAME= redland -PORTVERSION= 1.0.3 +PORTVERSION= 1.0.4 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://librdf.org/dist/source/ @@ -18,48 +18,43 @@ COMMENT= A high-level interface for RDF LIB_DEPENDS= raptor.2:${PORTSDIR}/textproc/raptor -# Berkeley DB is also needed, default to using 4.2 if not set otherwise. -WITH_BDB_VER?= 42 -.if ${WITH_BDB_VER} == 3 -LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3 -.elif ${WITH_BDB_VER} == 4 -LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 -.elif ${WITH_BDB_VER} == 41 -LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 -.elif ${WITH_BDB_VER} == 42 -LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 -.elif ${WITH_BDB_VER} == 43 -LIB_DEPENDS+= db-4.3.0:${PORTSDIR}/databases/db43 -.else -.error WITH_BDB_VER must be one of 3, 4, 41, 42 or 43 -.endif - +USE_BDB= yes +INVALID_BDB_VER=2 USE_GNOME= gnomehack gnometarget lthack pkgconfig USE_OPENSSL= yes USE_GETOPT_LONG=yes USE_GMAKE= yes GNU_CONFIGURE= yes -CPPFLAGS= -I${LOCALBASE}/include/db${WITH_BDB_VER} -I${LOCALBASE}/include +CPPFLAGS= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-raptor=system \ --with-rasqal=internal \ --with-threestore=no -# optional use of recent MySQL versions -.if defined(WANT_MYSQL_VER) -.if ${WANT_MYSQL_VER} < 323 - @${ECHO} "This port requires WANT_MYSQL_VER=323 or later to use MySQL." -.else -CONFIGURE_ARGS+=--with-mysql=yes -.endif -.endif - INSTALLS_SHLIB= yes MAN1= rasqal-config.1 rdfproc.1 redland-config.1 \ redland-db-upgrade.1 roqet.1 MAN3= librasqal.3 redland.3 -.include <bsd.port.mk> +OPTIONS+= MYSQL "Use MySQL instead of BDB" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_MYSQL) +USE_MYSQL= yes +CONFIGURE_ARGS+=--with-mysql=yes +.endif + +pre-everything:: + @${ECHO_CMD} "You can choose BDB version by setting WITH_BDB_VER to one off:" + @${ECHO_CMD} "3 40 41 42 43 44 3+ 40+ 41+ 42+ 43+ 44+ (current: ${BDB_VER})" +. if defined(WITH_MYSQL) + @${ECHO_CMD} "MySQL version to be used: ${MYSQL_VER}" + @${ECHO_CMD} "If you don't have MySQL installed you can stop the build now" + @${ECHO_CMD} "and set WITH_MYSQL_VER to the desired version" +. endif + +.include <bsd.port.post.mk> diff --git a/textproc/redland/distinfo b/textproc/redland/distinfo index a5809b43eacd..ef5cf2b571af 100644 --- a/textproc/redland/distinfo +++ b/textproc/redland/distinfo @@ -1,2 +1,3 @@ -MD5 (redland-1.0.3.tar.gz) = a354fa07d57b377d5e555cccb3de3023 -SIZE (redland-1.0.3.tar.gz) = 3189904 +MD5 (redland-1.0.4.tar.gz) = 3ee58cbf5486c97ef3bc0c4368a344cc +SHA256 (redland-1.0.4.tar.gz) = 1846817e98f8231ca15299fcabee0fd1f1a2a9afa12f7b34c98a6fe63cf880ab +SIZE (redland-1.0.4.tar.gz) = 3374125 diff --git a/textproc/redland/pkg-plist b/textproc/redland/pkg-plist index 502f4e6e7d03..b5b3a9431c30 100644 --- a/textproc/redland/pkg-plist +++ b/textproc/redland/pkg-plist @@ -48,6 +48,7 @@ share/gtk-doc/html/rasqal/rasqal-section-query-results.html share/gtk-doc/html/rasqal/rasqal-section-query.html share/gtk-doc/html/rasqal/rasqal-section-triple.html share/gtk-doc/html/rasqal/rasqal.devhelp +share/gtk-doc/html/rasqal/rasqal.devhelp2 share/gtk-doc/html/rasqal/rasqal-section-triples-source.html share/gtk-doc/html/rasqal/rasqal-section-variable.html share/gtk-doc/html/rasqal/rasqal.html @@ -84,6 +85,7 @@ share/gtk-doc/html/redland/redland-unicode.html share/gtk-doc/html/redland/redland-uri.html share/gtk-doc/html/redland/redland-world.html share/gtk-doc/html/redland/redland.devhelp +share/gtk-doc/html/redland/redland.devhelp2 share/gtk-doc/html/redland/redland.html share/gtk-doc/html/redland/right.png share/gtk-doc/html/redland/style.css |