diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
commit | 7b4c77811e89d7fc1131ca6e63df3e719bc86b1d (patch) | |
tree | 9695733a1620c4c290c86f161a4f1b73160ed39a /net/gaim-snapshot/Makefile | |
parent | c76cf46929051f9dd322487d888c82f104026e6d (diff) |
Implement WANT_GNOME.
Notes
Notes:
svn path=/head/; revision=33430
Diffstat (limited to 'net/gaim-snapshot/Makefile')
-rw-r--r-- | net/gaim-snapshot/Makefile | 68 |
1 files changed, 37 insertions, 31 deletions
diff --git a/net/gaim-snapshot/Makefile b/net/gaim-snapshot/Makefile index 7a5e6e776000..7c6d698f0fab 100644 --- a/net/gaim-snapshot/Makefile +++ b/net/gaim-snapshot/Makefile @@ -5,44 +5,50 @@ # $FreeBSD$ # -PORTNAME= gaim -PORTVERSION= 0.10.1 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= ftp://ftp.marko.net/pub/gaim/ \ -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +PORTNAME= gaim +PORTVERSION= 0.10.1 +PORTREVISION= 1 +CATEGORIES= net +MASTER_SITES= ftp://ftp.marko.net/pub/gaim/ \ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= jim@FreeBSD.org +MAINTAINER= jim@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GTK= yes +WANT_ESOUND= yes +WANT_GNOME= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" -.if defined(WITH_GNOME) -LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs -.endif - -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +MAN1= gaim.1 -GNU_CONFIGURE= yes -USE_BZIP2= yes -USE_GMAKE= yes -USE_X_PREFIX= yes -CONFIGURE_ARGS= --disable-esd +.include <bsd.port.pre.mk> -.if defined(WITH_GNOME) -CONFIGURE_ARGS+= --enable-gnome +.if defined(HAVE_GNOME) +USE_GNOME= yes +CONFIGURE_ARGS+=--enable-gnome --enable-panel .else -CONFIGURE_ARGS+= --disable-gnome +CONFIGURE_ARGS+=--disable-gnome +.endif +.if defined(HAVE_ESOUND) +USE_ESOUND= yes +CONFIGURE_ARGS+=--enable-esd +.else +CONFIGURE_ARGS+=--disable-esd .endif -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \ - GLIB_CONFIG="${GLIB_CONFIG}" - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/src/gaim ${PREFIX}/bin - @${MKDIR} ${PREFIX}/share/gaim/pixmaps && ${CHMOD} a+rx ${PREFIX}/share/gaim/pixmaps - @${ECHO} "===> Installing pixmaps" - @${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${PREFIX}/share/gaim/pixmaps +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ + s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' -.include <bsd.port.mk> +.include <bsd.port.post.mk> |