aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mdbtools/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-23 01:36:56 +0800
committerijliao <ijliao@FreeBSD.org>2002-10-23 01:36:56 +0800
commit68d99b264b5b9828de086a7954e279fef0333423 (patch)
tree4b41b2fbbaeaa845ce85c391eda7e22b2d70de7c /databases/mdbtools/Makefile
parent62fecb1b6a5b387db83c066b7b0e74f4a6a7cf3e (diff)
downloadfreebsd-ports-gnome-68d99b264b5b9828de086a7954e279fef0333423.tar.gz
freebsd-ports-gnome-68d99b264b5b9828de086a7954e279fef0333423.tar.zst
freebsd-ports-gnome-68d99b264b5b9828de086a7954e279fef0333423.zip
upgrade to 0.4
Diffstat (limited to 'databases/mdbtools/Makefile')
-rw-r--r--databases/mdbtools/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile
index 3df2729fcd12..5b9e93f94679 100644
--- a/databases/mdbtools/Makefile
+++ b/databases/mdbtools/Makefile
@@ -6,29 +6,30 @@
#
PORTNAME= mdbtools
-PORTVERSION= 0.3
+PORTVERSION= 0.4
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- ftp://ftp.nuug.no/pub/anders/distfiles/ \
- http://atreides.freenix.no/~anders/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= glib12
-GNU_CONFIGURE= yes
-MAKE_ARGS+= GLIB_CONFIG="${GLIB_CONFIG}"
+USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
DOCS= AUTHORS ChangeLog HACKING NEWS README TODO INSTALL
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
+ -e "s|glib-config|${GLIB_CONFIG}|g"
+
.if !defined(NOPORTDOCS)
post-install:
- ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ @${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif