freebsd-ports/databases/mdbtools/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: mdbtools
# Date created: 25 April 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= mdbtools
PORTVERSION= 0.5
CATEGORIES= databases
2002-10-22 19:36:56 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:07:10 +01:00
COMMENT= Utilities and libraries to export data from MS Access databases (.mdb)
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk # To build man-pages
2002-10-22 19:36:56 +02:00
USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= glib12
2002-10-22 19:36:56 +02:00
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
DOCS= AUTHORS ChangeLog HACKING NEWS README TODO
MAN1= mdb-ver.1 mdb-tables.1 mdb-schema.1 mdb-sql.1 mdb-export.1
2002-10-22 19:36:56 +02:00
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
-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
.if !defined(NOPORTDOCS)
post-install:
2002-10-22 19:36:56 +02:00
@${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
2002-10-22 19:36:56 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>