freebsd-ports/misc/grdb/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: grdb
# Date created: 13 June 2000
# Whom: Stijn Hoop <stijn@win.tue.nl>
#
# $FreeBSD$
#
PORTNAME= grdb
2001-02-05 16:47:16 +01:00
PORTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= misc gnome
MASTER_SITES= http://www.win.tue.nl/~stijn/grdb/
MAINTAINER= stijn@win.tue.nl
2003-02-21 13:51:06 +01:00
COMMENT= Matches Motif/Athena/Tk widgets with the current GTK theme
2000-10-05 09:22:56 +02:00
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_X_PREFIX= yes
USE_GNOME= gtk12
2000-10-05 09:22:56 +02:00
WANT_GNOME= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
2000-10-05 09:22:56 +02:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2000-10-05 09:22:56 +02:00
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomeprefix gnomehack gnomelibs
PKGNAMESUFFIX= -gnome
PLIST_SUB= DATADIR="share/gnome"
2000-10-05 09:22:56 +02:00
.else
CONFIGURE_ARGS= --disable-gnome
PLIST_SUB= DATADIR="share"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
2000-10-05 09:22:56 +02:00
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
2000-10-05 09:22:56 +02:00
@${MKDIR} ${PREFIX}/share/doc/grdb
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/grdb
.endif
2000-10-05 09:22:56 +02:00
.include <bsd.port.post.mk>