1999-05-03 04:41:09 +00:00
|
|
|
# New ports collection makefile for: genius
|
|
|
|
# Date created: 1 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1999-05-03 04:41:09 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= genius
|
|
|
|
PORTVERSION= 0.4.6
|
1999-05-03 04:41:09 +00:00
|
|
|
CATEGORIES= deskutils gnome
|
|
|
|
MASTER_SITES= http://ftp.5z.com/pub/genius/
|
|
|
|
|
2000-03-29 22:34:41 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-05-03 04:41:09 +00:00
|
|
|
|
1999-05-30 03:42:50 +00:00
|
|
|
BUILD_DEPENDS= panel:${PORTSDIR}/x11/gnomecore
|
|
|
|
RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore
|
|
|
|
|
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
1999-05-03 04:41:09 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
1999-05-30 03:42:50 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LIBTOOL= yes
|
1999-05-03 04:41:09 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
2000-06-01 16:25:45 +00:00
|
|
|
--datadir=${PREFIX}/share/gnome
|
1999-05-30 03:42:50 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-05-03 04:41:09 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:34:38 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
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'
|
|
|
|
|
1999-05-03 04:41:09 +00:00
|
|
|
.include <bsd.port.mk>
|