View | Details | Raw Unified | Return to bug 56637
Collapse All | Expand All

(-)textproc/redland/Makefile (-15 / +7 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	redland
9
PORTNAME=	redland
10
PORTVERSION=	0.9.13
10
PORTVERSION=	0.9.14
11
CATEGORIES=	textproc
11
CATEGORIES=	textproc
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
13
		http://www.redland.opensource.ac.uk/dist/source/
13
		http://www.redland.opensource.ac.uk/dist/source/
Lines 17-49 Link Here
17
COMMENT=	A high-level interface for RDF
17
COMMENT=	A high-level interface for RDF
18
18
19
LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db2 \
19
LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db2 \
20
		raptor.0:${PORTSDIR}/textproc/raptor
20
		raptor.1:${PORTSDIR}/textproc/raptor
21
21
22
USE_OPENSSL=	yes
22
USE_OPENSSL=	yes
23
USE_REINPLACE=	yes
23
USE_GETOPT_LONG=	yes
24
USE_GMAKE=	yes
24
USE_GMAKE=	yes
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
26
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
26
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
27
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} LDFLAGS="${LDFLAGS}"
27
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
28
CONFIGURE_ARGS=	--with-bdb-lib="${LOCALBASE}/lib" \
28
CONFIGURE_ARGS=	--with-bdb-lib="${LOCALBASE}/lib" \
29
		--with-bdb-include="${LOCALBASE}/include/db2" \
29
		--with-bdb-include="${LOCALBASE}/include/db2" \
30
		--with-bdb-dbname="db2" \
30
		--with-bdb-dbname="db2" \
31
		--with-libwww
31
		--with-libwww \
32
		--with-raptor=system
32
INSTALLS_SHLIB=	yes
33
INSTALLS_SHLIB=	yes
33
34
34
MAN1=		redland-config.1 redland-db-upgrade.1
35
MAN1=		rdfproc.1 redland-config.1 redland-db-upgrade.1
35
MAN3=		redland.3
36
MAN3=		redland.3
36
37
37
CPPFLAGS=	-I${LOCALBASE}/include
38
CPPFLAGS=	-I${LOCALBASE}/include
38
LDFLAGS=	-L${LOCALBASE}/lib
39
LDFLAGS=	-L${LOCALBASE}/lib
39
40
post-patch:
41
	@${REINPLACE_CMD} -e 's|ac_subdirs_all raptor|ac_subdirs_all|g ; \
42
		 s|-I\\$$(top_srcdir)/raptor||g ; \
43
		 s|\\$$(top_builddir)/raptor/libraptor.la|-lraptor|g' \
44
			${WRKSRC}/configure
45
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
46
		's|SUBDIRS = raptor|SUBDIRS =|g ; \
47
		 s|$$(top_builddir)/raptor/libraptor.la|-lraptor|g'
48
40
49
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)textproc/redland/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (redland-0.9.13.tar.gz) = 090d3da7a8a063c5292243637e4719b9
1
MD5 (redland-0.9.14.tar.gz) = 25047248a273138225737e50fa211165
(-)textproc/redland/files/patch-Makefile.in (+11 lines)
Line 0 Link Here
1
--- Makefile.in.orig	Tue Sep  9 00:06:26 2003
2
+++ Makefile.in	Tue Sep  9 08:53:42 2003
3
@@ -165,7 +165,7 @@
4
 man_MANS = redland-config.1
5
 
6
 # Subdirectories to build/install etc.
7
-SUBDIRS = librdf examples utils demos @SD@
8
+SUBDIRS = librdf utils demos @SD@
9
 CONFIG_SUBDIRS = raptor
10
 # Subdirectories to use for distribution
11
 DIST_SUBDIRS = librdf docs examples \
(-)textproc/redland/files/patch-configure (+15 lines)
Line 0 Link Here
1
--- configure.orig	Tue Sep  9 00:06:31 2003
2
+++ configure	Tue Sep  9 09:03:46 2003
3
@@ -12735,9 +12735,9 @@
4
   CFLAGS="$MAINTAINER_CFLAGS $CFLAGS"
5
 fi
6
 
7
-LIBS=
8
-CPPFLAGS=
9
-LDFLAGS=
10
+LIBS="$LIBS"
11
+CPPFLAGS="$CPPFLAGS"
12
+LDFLAGS="$LDFLAGS"
13
 
14
 LIBRDF_LIBTOOLLIBS=librdf.la
15
 
(-)textproc/redland/pkg-plist (+1 lines)
Lines 1-3 Link Here
1
bin/rdfproc
1
bin/redland-config
2
bin/redland-config
2
bin/redland-db-upgrade
3
bin/redland-db-upgrade
3
include/librdf.h
4
include/librdf.h

Return to bug 56637