freebsd-ports/graphics/electriceyes/Makefile

35 lines
880 B
Makefile
Raw Normal View History

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>
#
1999-08-25 08:16:32 +02:00
# $FreeBSD$
#
PORTNAME= electriceyes
2000-08-04 03:16:18 +02:00
PORTVERSION= 0.3.12
CATEGORIES= graphics gnome
1999-01-27 09:31:54 +01:00
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ee
DISTNAME= ee-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
2000-10-05 09:10:50 +02:00
USE_GNOME= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${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'
post-install:
${MV} ${PREFIX}/bin/ee ${PREFIX}/bin/ElectricEyes
.include <bsd.port.mk>