freebsd-ports/graphics/truevision/Makefile
Maxim Sobolev 52b1d51839 GNOME policy:
- Fix detection of libintl and install .po files into ${PREFIX}/share/locale,
not into ${PREFIX}/share/gnome/locale.
2002-05-13 14:52:42 +00:00

39 lines
1.0 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: truevision
# Date created: Mar 12, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= truevision
PORTVERSION= 0.3.10
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea
USE_X_PREFIX= yes
USE_MESA= yes
USE_GNOME= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_FLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|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'
@${PERL} -pi -e "s,Bison ,Bison,g" ${WRKSRC}/configure
@${PERL} -pi -e "s,-lgthread,-lgthread12,g ; \
s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>