diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-18 06:51:43 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-18 06:51:43 +0000 |
commit | 0fe9f1edfe0049a85d77211aaf65a851ef125469 (patch) | |
tree | d4e3d220e272f85006dfe72910291d2313506b2b /x11-fm/gentoo | |
parent | 2edc8c1966209816d7ebdc5bc567520fdb9b057b (diff) | |
download | ports-0fe9f1edfe0049a85d77211aaf65a851ef125469.tar.gz ports-0fe9f1edfe0049a85d77211aaf65a851ef125469.zip |
Notes
Diffstat (limited to 'x11-fm/gentoo')
-rw-r--r-- | x11-fm/gentoo/Makefile | 12 | ||||
-rw-r--r-- | x11-fm/gentoo/pkg-plist | 24 |
2 files changed, 24 insertions, 12 deletions
diff --git a/x11-fm/gentoo/Makefile b/x11-fm/gentoo/Makefile index ac6ce4d117f2..f75db5b51eb2 100644 --- a/x11-fm/gentoo/Makefile +++ b/x11-fm/gentoo/Makefile @@ -7,6 +7,7 @@ PORTNAME= gentoo PORTVERSION= 0.11.48 +PORTREVISION= 1 CATEGORIES= x11-fm MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,14 +16,25 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Gtk+ based, file manager inspired by DirectoryOpus USE_GNOME= gtk12 +USE_ICONV= yes USE_REINPLACE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" MAN1= gentoo.1 MYPORTDOCS= BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS \ README.gtkrc TODO +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's|icons|${DATADIR}/icons|g' ${WRKSRC}/gentoorc.in @${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|g' ${WRKSRC}/configure diff --git a/x11-fm/gentoo/pkg-plist b/x11-fm/gentoo/pkg-plist index 342dbc489849..2fdc9475b6d0 100644 --- a/x11-fm/gentoo/pkg-plist +++ b/x11-fm/gentoo/pkg-plist @@ -1,7 +1,6 @@ bin/gentoo etc/gentoogtkrc etc/gentoorc -lib/charset.alias %%PORTDOCS%%%%DOCSDIR%%/BUGS %%PORTDOCS%%%%DOCSDIR%%/CONFIG-CHANGES %%PORTDOCS%%%%DOCSDIR%%/CREDITS @@ -213,19 +212,20 @@ share/gentoo/icons/xbm2.xpm share/gentoo/icons/xcf.xpm share/gentoo/icons/xpm.xpm share/gentoo/icons/xpm2.xpm -share/locale/de/LC_MESSAGES/gentoo.mo -share/locale/fr/LC_MESSAGES/gentoo.mo -share/locale/locale.alias -share/locale/pl/LC_MESSAGES/gentoo.mo -share/locale/sv/LC_MESSAGES/gentoo.mo -share/locale/ru_RU.CP1251/LC_MESSAGES/gentoo.mo -share/locale/ru_RU.KOI8-R/LC_MESSAGES/gentoo.mo -share/locale/ru_RU.UTF-8/LC_MESSAGES/gentoo.mo -share/locale/ru_RU.cp1251/LC_MESSAGES/gentoo.mo -share/locale/ru_RU.koi8r/LC_MESSAGES/gentoo.mo -share/locale/ru_RU.utf8/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/de/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/fr/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/pl/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/sv/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/ru_RU.CP1251/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/ru_RU.KOI8-R/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/ru_RU.UTF-8/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/ru_RU.cp1251/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/ru_RU.koi8r/LC_MESSAGES/gentoo.mo +%%NLS%%share/locale/ru_RU.utf8/LC_MESSAGES/gentoo.mo @dirrm share/gentoo/icons @dirrm share/gentoo +@unexec rmdir %D/share/locale/de/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/de 2> /dev/null || true @unexec rmdir %D/share/locale/fr/LC_MESSAGES 2> /dev/null || true @unexec rmdir %D/share/locale/fr 2> /dev/null || true @unexec rmdir %D/share/locale/pl/LC_MESSAGES 2> /dev/null || true |