Fix make package after recent GNOMENG conversion.

Submitted by:	bento
This commit is contained in:
Joe Marcus Clarke 2002-09-21 18:11:08 +00:00
parent fd26da09d7
commit af6e00dfce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67016

View file

@ -15,19 +15,16 @@ MAINTAINER= demon@FreeBSD.org
USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gnomelibs
USE_GNOME= gnomeprefix gnomehack gnomelibs
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN1= gnomba.1
pre-patch:
post-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'
pre-configure:
${RM} ${WRKSRC}/config.cache