Sobomized.

This commit is contained in:
Maxim Sobolev 2000-08-04 15:29:09 +00:00
parent 0916dde144
commit 980135e8e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31315
2 changed files with 15 additions and 6 deletions

View File

@ -16,7 +16,7 @@ MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
glade.4:${PORTSDIR}/devel/libglade
RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
@ -25,6 +25,8 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
GTK_CONFIG="${GTK_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-lgnuregex -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome
USE_X_PREFIX= yes
USE_XPM= yes
@ -32,4 +34,11 @@ GNU_CONFIGURE= yes
MAN1= gnome-find.1
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|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>

View File

@ -1,9 +1,9 @@
bin/gnome-find
share/gnome-find/gnome-find.glade
share/gnome-find/gnome-find.xpm
share/gnome-find/multiple.xpm
share/gnome-find/shell.xpm
share/gnome/apps/Utilities/gnome-find.desktop
share/gnome/gnome-find/gnome-find.glade
share/gnome/gnome-find/gnome-find.xpm
share/gnome/gnome-find/multiple.xpm
share/gnome/gnome-find/shell.xpm
share/gnome/help/gnome-find/C/bugreport.html
share/gnome/help/gnome-find/C/contacting.html
share/gnome/help/gnome-find/C/copyright.html
@ -21,4 +21,4 @@ share/locale/ko/LC_MESSAGES/gnome-find.mo
share/locale/ru/LC_MESSAGES/gnome-find.mo
@dirrm share/gnome/help/gnome-find/C
@dirrm share/gnome/help/gnome-find
@dirrm share/gnome-find
@dirrm share/gnome/gnome-find