diff options
author | adamw <adamw@FreeBSD.org> | 2003-06-19 08:51:25 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2003-06-19 08:51:25 +0800 |
commit | 9f42d45375ff1251d2987aa2df120cac719e113b (patch) | |
tree | 9ea263d9b3e0c68addfae70bdd0ef76daa2f214d /devel | |
parent | 860dcfe0ebe43c9220ffea42c473f712d691a1a1 (diff) | |
download | freebsd-ports-gnome-9f42d45375ff1251d2987aa2df120cac719e113b.tar.gz freebsd-ports-gnome-9f42d45375ff1251d2987aa2df120cac719e113b.tar.zst freebsd-ports-gnome-9f42d45375ff1251d2987aa2df120cac719e113b.zip |
Make build possible when GNOME 2 dekstop is installed, convert
perl-isms to reinpalce-isms, and register some proper dependencies.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gide/Makefile | 15 |
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} |