summaryrefslogtreecommitdiff
path: root/devel/gide
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-06-19 00:51:25 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-06-19 00:51:25 +0000
commitc820c7f7457256a8ac67243ea8b7243775037caf (patch)
treef30783ea6356cf7961ed83eb251b2659fd7e7c64 /devel/gide
parentChase libORBit-2-cpp shlib version. (diff)
Make build possible when GNOME 2 dekstop is installed, convert
perl-isms to reinpalce-isms, and register some proper dependencies.
Notes
Notes: svn path=/head/; revision=83280
Diffstat (limited to 'devel/gide')
-rw-r--r--devel/gide/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/devel/gide/Makefile b/devel/gide/Makefile
index d4217578fb43..89449cdfa95e 100644
--- a/devel/gide/Makefile
+++ b/devel/gide/Makefile
@@ -22,7 +22,8 @@ LIB_DEPENDS= gdl.0:${PORTSDIR}/x11-toolkits/gdl \
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOME= gnomehack gnomeprefix gnomevfs bonobo
+USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -30,15 +31,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gide.1
-pre-patch:
- @${PERL} -pi -e \
- 's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
- s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/*.c
- @${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/src/*.c
+post-patch:
+ @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g; \
+ s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/src/*.c
pre-configure:
@${LN} -sf ${LOCALBASE}/share/xml-i18n-tools/*.in ${WRKSRC}