summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-11 17:47:16 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-11 17:47:16 +0000
commit072875d61b916f54d4fd901fc376241f994f95cd (patch)
treedd5e7959d32274eb9a4a8b2390cfff1fec30a7b7
parentUpdate to 0.10.5. (diff)
* Implement USE_GNOMENG
* Implement USE_REINPLACE Reviewed by: sobomax
Notes
Notes: svn path=/head/; revision=62825
-rw-r--r--net-im/gaim/Makefile21
-rw-r--r--net/gaim-snapshot/Makefile21
-rw-r--r--net/gaim/Makefile21
3 files changed, 21 insertions, 42 deletions
diff --git a/net-im/gaim/Makefile b/net-im/gaim/Makefile
index e0c3ea6dc5f4..20afa41953dc 100644
--- a/net-im/gaim/Makefile
+++ b/net-im/gaim/Makefile
@@ -18,8 +18,8 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
-USE_GTK= yes
-WANT_ESOUND= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gtk12 esound
WANT_GNOME= yes
USE_PERL5= yes
USE_LIBTOOL= yes
@@ -33,26 +33,19 @@ MAN1= gaim.1
.if !defined(WITHOUT_GDK_PIXBUF)
# Note, gdk-pixbuf is needed for buddy icon support.
-LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+USE_GNOME+= gdkpixbuf
.endif
-.if defined(HAVE_GNOME)
-USE_GNOME= yes
+.if ${HAVE_GNOME:Mlibpanel} != ""
+USE_GNOME+= libpanel
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
CONFIGURE_ARGS+= --enable-panel
+PKGNAMESUFFIX= -gnome
.else
CONFIGURE_ARGS+= --disable-gnome
.endif
-.if defined(HAVE_ESOUND)
-USE_ESOUND= yes
-.else
-CONFIGURE_ARGS+= --disable-esd
-.endif
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
s|-lpthread|${PTHREAD_LIBS:S/"//g}|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>
diff --git a/net/gaim-snapshot/Makefile b/net/gaim-snapshot/Makefile
index e0c3ea6dc5f4..20afa41953dc 100644
--- a/net/gaim-snapshot/Makefile
+++ b/net/gaim-snapshot/Makefile
@@ -18,8 +18,8 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
-USE_GTK= yes
-WANT_ESOUND= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gtk12 esound
WANT_GNOME= yes
USE_PERL5= yes
USE_LIBTOOL= yes
@@ -33,26 +33,19 @@ MAN1= gaim.1
.if !defined(WITHOUT_GDK_PIXBUF)
# Note, gdk-pixbuf is needed for buddy icon support.
-LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+USE_GNOME+= gdkpixbuf
.endif
-.if defined(HAVE_GNOME)
-USE_GNOME= yes
+.if ${HAVE_GNOME:Mlibpanel} != ""
+USE_GNOME+= libpanel
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
CONFIGURE_ARGS+= --enable-panel
+PKGNAMESUFFIX= -gnome
.else
CONFIGURE_ARGS+= --disable-gnome
.endif
-.if defined(HAVE_ESOUND)
-USE_ESOUND= yes
-.else
-CONFIGURE_ARGS+= --disable-esd
-.endif
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
s|-lpthread|${PTHREAD_LIBS:S/"//g}|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>
diff --git a/net/gaim/Makefile b/net/gaim/Makefile
index e0c3ea6dc5f4..20afa41953dc 100644
--- a/net/gaim/Makefile
+++ b/net/gaim/Makefile
@@ -18,8 +18,8 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
-USE_GTK= yes
-WANT_ESOUND= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gtk12 esound
WANT_GNOME= yes
USE_PERL5= yes
USE_LIBTOOL= yes
@@ -33,26 +33,19 @@ MAN1= gaim.1
.if !defined(WITHOUT_GDK_PIXBUF)
# Note, gdk-pixbuf is needed for buddy icon support.
-LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+USE_GNOME+= gdkpixbuf
.endif
-.if defined(HAVE_GNOME)
-USE_GNOME= yes
+.if ${HAVE_GNOME:Mlibpanel} != ""
+USE_GNOME+= libpanel
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
CONFIGURE_ARGS+= --enable-panel
+PKGNAMESUFFIX= -gnome
.else
CONFIGURE_ARGS+= --disable-gnome
.endif
-.if defined(HAVE_ESOUND)
-USE_ESOUND= yes
-.else
-CONFIGURE_ARGS+= --disable-esd
-.endif
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
s|-lpthread|${PTHREAD_LIBS:S/"//g}|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>