2001-11-04 07:20:39 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: libdbi
|
|
|
|
# Date created: Nov 4, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libdbi
|
2008-02-12 03:21:19 +01:00
|
|
|
PORTVERSION= 0.8.3
|
2001-11-04 07:20:39 +01:00
|
|
|
CATEGORIES= databases devel
|
2005-09-16 21:46:01 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2001-11-04 07:20:39 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2007-04-23 10:05:17 +02:00
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Database Independent Abstraction Layer for C
|
2001-11-04 07:20:39 +01:00
|
|
|
|
2007-02-01 03:42:05 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-04-23 10:05:17 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-09-16 21:46:01 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|-O20|${CFLAGS}|g" -e "s|-std=gnu99||g" \
|
|
|
|
${WRKSRC}/configure
|
2002-10-14 18:22:53 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-09-16 21:46:01 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
|
2002-10-14 18:22:53 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}/driver-guide
|
2005-10-16 21:08:25 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/driver-guide/*.html \
|
|
|
|
${DOCSDIR}/driver-guide
|
2002-10-14 18:22:53 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}/programmers-guide
|
2005-10-16 21:08:25 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/programmers-guide/*.html \
|
|
|
|
${DOCSDIR}/programmers-guide
|
2001-11-04 07:20:39 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|