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/gicq | |
parent | c76cf46929051f9dd322487d888c82f104026e6d (diff) | |
download | ports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.tar.gz ports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.zip |
Notes
Diffstat (limited to 'net/gicq')
-rw-r--r-- | net/gicq/Makefile | 30 | ||||
-rw-r--r-- | net/gicq/files/patch-ac | 13 | ||||
-rw-r--r-- | net/gicq/pkg-plist | 10 |
3 files changed, 39 insertions, 14 deletions
diff --git a/net/gicq/Makefile b/net/gicq/Makefile index e51496425fda..c51c4e9ec43d 100644 --- a/net/gicq/Makefile +++ b/net/gicq/Makefile @@ -14,18 +14,30 @@ MASTER_SITE_SUBDIR= flathill MAINTAINER= flathill@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ - icq.0:${PORTSDIR}/net/libicq - -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +LIB_DEPENDS= icq.0:${PORTSDIR}/net/libicq USE_X_PREFIX= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-gnome --disable-nls +USE_GTK= yes +WANT_GNOME= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GLIB_CONFIG="${GLIB_CONFIG}" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(HAVE_GNOME) +USE_GNOME= yes +.else +CONFIGURE_ARGS+=--without-gnome +.endif + +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.post.mk> diff --git a/net/gicq/files/patch-ac b/net/gicq/files/patch-ac new file mode 100644 index 000000000000..92a26e88bd61 --- /dev/null +++ b/net/gicq/files/patch-ac @@ -0,0 +1,13 @@ +--- Makefile.in.orig Mon Sep 6 23:36:43 1999 ++++ Makefile.in Mon Sep 6 23:37:18 1999 +@@ -116,8 +116,10 @@ + + SUBDIRS = macros intl po pixmaps src doc + ++.ifdef HAVE_GNOME + sysdir = $(datadir)/apps/Applications + sys_DATA = gicq.desktop ++.endif + + EXTRA_DIST = gicq.desktop + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 diff --git a/net/gicq/pkg-plist b/net/gicq/pkg-plist index ec71b337f897..67b051623192 100644 --- a/net/gicq/pkg-plist +++ b/net/gicq/pkg-plist @@ -1,6 +1,6 @@ bin/gicq -share/gnome/apps/Applications/gicq.desktop -share/gnome/help/gicq/C/index.html -share/gnome/help/gicq/C/topic.dat -@dirrm share/gnome/help/gicq/C -@dirrm share/gnome/help/gicq +%%GNOME:%%share/gnome/apps/Applications/gicq.desktop +%%DATADIR%%/help/gicq/C/index.html +%%DATADIR%%/help/gicq/C/topic.dat +@dirrm %%DATADIR%%/help/gicq/C +@dirrm %%DATADIR%%/help/gicq |