diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 15:17:31 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 15:17:31 +0800 |
commit | 68dad4980b984b6c03859651af5eefb37c1c9d90 (patch) | |
tree | a1b402b639681e7623529a2295404459e0d45edf /security | |
parent | 30fb8569371544b140cbfbe9d8d545a551b7a815 (diff) | |
download | freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.gz freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.zst freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.zip |
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 |