1999-02-24 23:04:24 +01:00
|
|
|
# New ports collection makefile for: electriceyes
|
|
|
|
# Date created: 21 August 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
1998-09-06 08:45:28 +02:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-09-06 08:45:28 +02:00
|
|
|
#
|
|
|
|
|
2000-04-13 08:28:28 +02:00
|
|
|
PORTNAME= electriceyes
|
2000-08-04 03:16:18 +02:00
|
|
|
PORTVERSION= 0.3.12
|
1999-01-31 21:52:33 +01:00
|
|
|
CATEGORIES= graphics gnome
|
1999-01-27 09:31:54 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 20:08:13 +01:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/ee
|
2000-04-13 08:28:28 +02:00
|
|
|
DISTNAME= ee-${PORTVERSION}
|
1998-09-06 08:45:28 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1998-09-06 08:45:28 +02:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
1999-10-14 06:44:34 +02:00
|
|
|
USE_GMAKE= yes
|
2000-10-05 09:10:50 +02:00
|
|
|
USE_GNOME= yes
|
|
|
|
USE_LIBTOOL= yes
|
1999-05-30 05:39:20 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-09-06 08:45:28 +02:00
|
|
|
|
2000-08-04 18:11:37 +02:00
|
|
|
pre-patch:
|
2001-03-29 18:35:19 +02:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:16:18 +02: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'
|
|
|
|
|
1998-09-06 08:45:28 +02:00
|
|
|
post-install:
|
|
|
|
${MV} ${PREFIX}/bin/ee ${PREFIX}/bin/ElectricEyes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|