2001-04-27 09:40:58 +02:00
|
|
|
# New ports collection makefile for: mdbtools
|
|
|
|
# Date created: 25 April 2001
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mdbtools
|
2003-04-08 22:42:50 +02:00
|
|
|
PORTVERSION= 0.5
|
2001-04-27 09:40:58 +02:00
|
|
|
CATEGORIES= databases
|
2002-10-22 19:36:56 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2001-04-27 09:40:58 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2001-10-07 04:03:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Utilities and libraries to export data from MS Access databases (.mdb)
|
2001-04-27 09:40:58 +02:00
|
|
|
|
2003-04-08 22:42:50 +02:00
|
|
|
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk # To build man-pages
|
|
|
|
|
2002-10-22 19:36:56 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-07-15 19:21:56 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= glib12
|
2002-10-22 19:36:56 +02:00
|
|
|
USE_LIBTOOL= yes
|
2001-04-27 09:40:58 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2003-04-08 22:42:50 +02:00
|
|
|
DOCS= AUTHORS ChangeLog HACKING NEWS README TODO
|
|
|
|
MAN1= mdb-ver.1 mdb-tables.1 mdb-schema.1 mdb-sql.1 mdb-export.1
|
2001-04-27 09:40:58 +02:00
|
|
|
|
2002-10-22 19:36:56 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
|
2003-04-08 22:42:50 +02:00
|
|
|
-e "s|glib-config|${GLIB_CONFIG}|g" \
|
|
|
|
-e "s|@GLIB_CFLAGS@|`${GLIB_CONFIG} --cflags`|g" \
|
|
|
|
-e "s|@GLIB_LIBS@|`${GLIB_CONFIG} --libs`|g"
|
|
|
|
${REINPLACE_CMD} -e 's|$$(srcdir)/$$<|$$(srcdir)/$$>|g' ${WRKSRC}/doc/Makefile.in
|
2002-10-22 19:36:56 +02:00
|
|
|
|
2001-04-27 09:40:58 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
2002-10-22 19:36:56 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2001-04-27 09:40:58 +02:00
|
|
|
.for f in ${DOCS}
|
2002-10-22 19:36:56 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
2001-04-27 09:40:58 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|