aboutsummaryrefslogtreecommitdiff
path: root/databases/mdbtools/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2003-04-08 20:42:50 +0000
committerMikhail Teterin <mi@FreeBSD.org>2003-04-08 20:42:50 +0000
commit7bf5f9ef0cda3e4b351ccb09c449051a691ac96d (patch)
treea3a42305d9ece8948c53254bee0cd1fc78cba3c9 /databases/mdbtools/Makefile
parent9a5b783471d611c59c45ecf1f5648e6f85edd505 (diff)
downloadports-7bf5f9ef0cda3e4b351ccb09c449051a691ac96d.tar.gz
ports-7bf5f9ef0cda3e4b351ccb09c449051a691ac96d.zip
Notes
Diffstat (limited to 'databases/mdbtools/Makefile')
-rw-r--r--databases/mdbtools/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile
index 99cf50ccefb5..da0ff3b93180 100644
--- a/databases/mdbtools/Makefile
+++ b/databases/mdbtools/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mdbtools
-PORTVERSION= 0.4
+PORTVERSION= 0.5
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,17 +14,23 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities and libraries to export data from MS Access databases (.mdb)
+BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk # To build man-pages
+
USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= glib12
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-DOCS= AUTHORS ChangeLog HACKING NEWS README TODO INSTALL
+DOCS= AUTHORS ChangeLog HACKING NEWS README TODO
+MAN1= mdb-ver.1 mdb-tables.1 mdb-schema.1 mdb-sql.1 mdb-export.1
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
- -e "s|glib-config|${GLIB_CONFIG}|g"
+ -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
.if !defined(NOPORTDOCS)
post-install: