aboutsummaryrefslogtreecommitdiff
path: root/databases/mdbtools/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-22 17:36:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-22 17:36:56 +0000
commitec12190d89d887a92cc8d8769895535ce0ccba04 (patch)
tree6ca70c54cdcbab455c5cd624cdd30a9f9b6977d2 /databases/mdbtools/Makefile
parent8ae676f2e8177eca614193db31a150d7a8fbab11 (diff)
downloadports-ec12190d89d887a92cc8d8769895535ce0ccba04.tar.gz
ports-ec12190d89d887a92cc8d8769895535ce0ccba04.zip
Notes
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