From 68dad4980b984b6c03859651af5eefb37c1c9d90 Mon Sep 17 00:00:00 2001 From: reg Date: Thu, 5 Oct 2000 07:17:31 +0000 Subject: Implement USE_GNOME, part 2. --- security/seahorse/Makefile | 19 ++++++++++++------- security/seahorse/pkg-plist | 17 +++++++++++++++++ 2 files changed, 29 insertions(+), 7 deletions(-) (limited to 'security') diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile index 73295781bf61..328b46ab1c27 100644 --- a/security/seahorse/Makefile +++ b/security/seahorse/Makefile @@ -13,17 +13,22 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= dave@mu.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - +USE_X_PREFIX= yes +USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + MAN1= seahorse.1 -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/seahorse ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/doc/seahorse.1 ${PREFIX}/man/man1 +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|datadir\`/gnome/|datadir\`/|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' .include diff --git a/security/seahorse/pkg-plist b/security/seahorse/pkg-plist index c3c50b736daa..f300bb1cd53a 100644 --- a/security/seahorse/pkg-plist +++ b/security/seahorse/pkg-plist @@ -1 +1,18 @@ bin/seahorse +share/gnome/gnome/apps/Applications/seahorse.desktop +share/gnome/gnome/help/seahorse/C/seahorse.html +share/gnome/gnome/help/seahorse/C/topic.dat +share/gnome/gnome/help/seahorse/ja/seahorse.html +share/gnome/gnome/help/seahorse/ja/topic.dat +share/gnome/pixmaps/seahorse/seahorse.png +share/locale/cs/LC_MESSAGES/seahorse.mo +share/locale/da/LC_MESSAGES/seahorse.mo +share/locale/de/LC_MESSAGES/seahorse.mo +share/locale/fi/LC_MESSAGES/seahorse.mo +share/locale/fr/LC_MESSAGES/seahorse.mo +share/locale/ja/LC_MESSAGES/seahorse.mo +share/locale/sv/LC_MESSAGES/seahorse.mo +@dirrm share/gnome/pixmaps/seahorse +@dirrm share/gnome/gnome/help/seahorse/ja +@dirrm share/gnome/gnome/help/seahorse/C +@dirrm share/gnome/gnome/help/seahorse -- cgit