diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:17:31 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:17:31 +0000 |
commit | c76cf46929051f9dd322487d888c82f104026e6d (patch) | |
tree | f415aeddadc6782b1474ebd88710bfa86cf08711 /security | |
parent | Implement USE_GNOME, part 1. (diff) |
Implement USE_GNOME, part 2.
Diffstat (limited to 'security')
-rw-r--r-- | security/seahorse/Makefile | 19 | ||||
-rw-r--r-- | security/seahorse/pkg-plist | 17 |
2 files changed, 29 insertions, 7 deletions
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 <bsd.port.mk> 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 |