1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Use USE_GNOMENG.

This commit is contained in:
Joe Marcus Clarke 2002-07-28 01:27:25 +00:00
parent 8e9366c679
commit 313ab95b42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63638
5 changed files with 16 additions and 20 deletions

View File

@ -15,22 +15,21 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_GTK= yes
USE_GNOMENG= yes
USE_GNOME= gtk12 gnomehack
WANT_GNOME= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
.include <bsd.port.pre.mk>
.if defined(HAVE_GNOME)
USE_GNOME= yes
.if ${HAVE_GNOME:Mbonobo} != "" && ${HAVE_GNOME:Mgnomedb} != ""
USE_GNOME= gnomeprefix bonobo gnomedb
PKGNAMESUFFIX= -gnome
.endif
pre-patch:
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
.include <bsd.port.post.mk>

View File

@ -19,7 +19,8 @@ RUN_DEPENDS= exctags:${PORTSDIR}/devel/ctags
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BISON= yes
USE_GNOME= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomelibs
USE_GMAKE= yes
USE_REINPLACE= yes
MAKEFILE= GNUmakefile

View File

@ -17,7 +17,8 @@ MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomelibs
post-patch:
@${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \

View File

@ -18,7 +18,8 @@ USE_REINPLACE= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack gnomelibs
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@ -28,12 +29,8 @@ ALL_TARGET= clean all
post-extract:
@${RM} -rf ${WRKSRC}/config.cache
pre-patch:
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
's|\$(datadir)/gnome/|\$(datadir)/|g'
@find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
's|\$(datadir)/locale|\$(prefix)/share/locale|g'
.include <bsd.port.mk>

View File

@ -18,14 +18,12 @@ MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_LIBTOOL= yes
USE_GNOME= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack libglade
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
pre-patch:
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
.include <bsd.port.mk>