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> |