summaryrefslogtreecommitdiffstats
path: root/databases/libgda2/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-07-26 22:24:31 +0000
committermarcus <marcus@FreeBSD.org>2002-07-26 22:24:31 +0000
commita2ac885e718ced80bb8295c2a7629cc0bb8091c5 (patch)
tree565900821692e0e414f827a011c9a0846274442a /databases/libgda2/Makefile
parente13e4e9c55342942c71e85a2772b75916ba58fa5 (diff)
downloadFreeBSD-ports-a2ac885e718ced80bb8295c2a7629cc0bb8091c5.zip
FreeBSD-ports-a2ac885e718ced80bb8295c2a7629cc0bb8091c5.tar.gz
* Update to 0.8.192
* Use USE_GNOMENG * Use USE_REINPLACE were appropriate
Diffstat (limited to 'databases/libgda2/Makefile')
-rw-r--r--databases/libgda2/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/databases/libgda2/Makefile b/databases/libgda2/Makefile
index f70112b..73e600b 100644
--- a/databases/libgda2/Makefile
+++ b/databases/libgda2/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= libgda2
-PORTVERSION= 0.8.191
+PORTVERSION= 0.8.192
CATEGORIES= databases gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= pre-gnome2/sources/libgda
+MASTER_SITE_SUBDIR= 2.0.0/sources/${PORTNAME:S/2$//}
DISTNAME= libgda-${PORTVERSION}
DIST_SUBDIR= gnome2
@@ -24,11 +24,10 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -lgdbm"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
@@ -57,12 +56,8 @@ pre-extract:
@${ECHO_MSG} "You can enable support for Postgres databases by defining WITH_POSTGRES."
.endif
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
- 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
- s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
- s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>
OpenPOWER on IntegriCloud