2000-06-16 13:25:32 +00:00
|
|
|
# New ports collection makefile for: grdb
|
|
|
|
# Date created: 13 June 2000
|
|
|
|
# Whom: Stijn Hoop <stijn@win.tue.nl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= grdb
|
2001-02-05 15:47:16 +00:00
|
|
|
PORTVERSION= 0.2.4
|
2000-06-16 13:25:32 +00:00
|
|
|
CATEGORIES= misc gnome
|
|
|
|
MASTER_SITES= http://bucket.pp.ualr.edu/~bit/download/
|
|
|
|
|
|
|
|
MAINTAINER= stijn@win.tue.nl
|
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2000-06-16 13:25:32 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 07:22:56 +00:00
|
|
|
USE_GTK= yes
|
|
|
|
WANT_GNOME= yes
|
2000-06-16 13:25:32 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2000-10-05 07:22:56 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-06-16 13:25:32 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(HAVE_GNOME)
|
|
|
|
USE_GNOME= yes
|
|
|
|
.else
|
2000-06-16 13:25:32 +00:00
|
|
|
CONFIGURE_ARGS= --disable-gnome
|
|
|
|
.endif
|
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
pre-patch:
|
2001-03-29 16:35:19 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-10-05 07:22:56 +00:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
|
|
|
|
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
|
2000-06-16 13:25:32 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-10-05 07:22:56 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/grdb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/grdb
|
2000-06-16 13:25:32 +00:00
|
|
|
.endif
|
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.include <bsd.port.post.mk>
|