aboutsummaryrefslogtreecommitdiff
path: root/databases/mdbtools
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
commit29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch)
tree1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /databases/mdbtools
parent7aad84f808b93baa6a7077ce0b47573b9c4c79a0 (diff)
downloadports-29747f458a1eb2ce23b4594b09d0256dd62760b8.tar.gz
ports-29747f458a1eb2ce23b4594b09d0256dd62760b8.zip
Notes
Diffstat (limited to 'databases/mdbtools')
-rw-r--r--databases/mdbtools/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile
index 0670afa7272d..dde139981702 100644
--- a/databases/mdbtools/Makefile
+++ b/databases/mdbtools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mdbtools
PORTVERSION= 0.5
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,25 +19,24 @@ BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk # To build man-pages
USE_BISON= yes
USE_GNOME= glib20
+WANT_GNOME= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
DOCS= AUTHORS ChangeLog HACKING NEWS README TODO
MAN1= mdb-ver.1 mdb-tables.1 mdb-schema.1 mdb-sql.1 mdb-export.1
-.if defined(WITH_GNOME) || exists(${X11BASE}/libdata/pkgconfig/libgnomeui-2.0.pc)
-USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mlibgnomeui}!=""
+USE_XLIB= yes
USE_GNOME+= gnomeprefix gnomehack libgnomeui
-PLIST_SUB+= GNOME:=""
PKGNAMESUFFIX= -gnome
-.else
-PLIST_SUB+= GNOME:="@comment "
.endif
-.include <bsd.port.pre.mk>
-
post-patch:
- @${REINPLACE_CMD} -e 's|$$(srcdir)/$$<|$$(srcdir)/$$>|g' ${WRKSRC}/doc/Makefile.in
+ @${REINPLACE_CMD} -e 's|$$(srcdir)/$$<|$$(srcdir)/$$>|g' \
+ ${WRKSRC}/doc/Makefile.in
.if !defined(NOPORTDOCS)
post-install: