2001-11-22 11:02:31 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: raptor
|
|
|
|
# Date created: Nov 22, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= raptor
|
2003-03-29 17:18:44 +01:00
|
|
|
PORTVERSION= 0.9.9
|
2003-01-03 20:08:17 +01:00
|
|
|
PORTREVISION= 0
|
2001-11-22 11:02:31 +01:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://www.redland.opensource.ac.uk/dist/source/
|
|
|
|
MASTER_SITE_SUBDIR= librdf
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= RDF Parser Toolkit for Redland
|
2001-11-22 11:02:31 +01:00
|
|
|
|
2003-02-02 15:55:53 +01:00
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
|
2003-03-29 17:18:44 +01:00
|
|
|
xmlparse.1:${PORTSDIR}/www/libwww \
|
|
|
|
curl.2:${PORTSDIR}/ftp/curl
|
2001-11-22 11:02:31 +01:00
|
|
|
|
|
|
|
LIBWWW_CONFIG= ${LOCALBASE}/bin/libwww-config
|
2002-07-15 23:41:28 +02:00
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2002-11-23 09:36:41 +01:00
|
|
|
CONFIGURE_ARGS= --with-xml-parser=libxml
|
2002-07-15 23:41:28 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2003-03-29 17:18:44 +01:00
|
|
|
MAN1= rapper.1 raptor-config.1
|
2002-11-18 23:16:00 +01:00
|
|
|
MAN3= libraptor.3
|
|
|
|
|
2003-02-08 06:27:23 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include `${LIBWWW_CONFIG} --cflags`
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib `${LIBWWW_CONFIG} --libs`
|
2003-02-02 15:55:53 +01:00
|
|
|
|
|
|
|
.if !exists(/usr/include/getopt.h)
|
|
|
|
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
LDFLAGS+= -lgnugetopt
|
|
|
|
.endif
|
2001-11-22 11:02:31 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|