2000-07-21 16:05:23 +00:00
|
|
|
# New ports collection makefile for: gcompris
|
2000-09-18 07:31:21 +00:00
|
|
|
# Date created: 21 July 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-07-21 16:05:23 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gcompris
|
2000-09-18 07:31:21 +00:00
|
|
|
PORTVERSION= 0.3.1
|
2000-07-21 16:05:23 +00:00
|
|
|
CATEGORIES= games gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/automake/install-sh:${PORTSDIR}/devel/automake
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 07:10:50 +00:00
|
|
|
USE_GNOME= yes
|
2000-07-21 16:05:23 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-05 07:10:50 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2000-07-21 16:05:23 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${LN} -sf ${LOCALBASE}/share/automake/install-sh ${WRKSRC}/install-sh
|
|
|
|
@${LN} -sf ${LOCALBASE}/share/automake/mkinstalldirs ${WRKSRC}/mkinstalldirs
|
2000-10-05 07:10:50 +00:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2000-07-24 16:13:24 +00:00
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
2000-10-05 07:10:50 +00:00
|
|
|
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
|
|
|
|
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
|
2000-07-21 16:05:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|