summaryrefslogtreecommitdiff
path: root/x11-toolkits/gal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gal/Makefile')
-rw-r--r--x11-toolkits/gal/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/x11-toolkits/gal/Makefile b/x11-toolkits/gal/Makefile
index 0fc3cffb98c9..7c76afcf8b45 100644
--- a/x11-toolkits/gal/Makefile
+++ b/x11-toolkits/gal/Makefile
@@ -15,29 +15,26 @@ DIST_SUBDIR= gnome
MAINTAINER?= gnome@FreeBSD.org
LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode \
- glade.4:${PORTSDIR}/devel/libglade \
iconv.3:${PORTSDIR}/converters/libiconv
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_PERL5= yes
USE_GMAKE= yes
-USE_GNOMECTRL= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomehack gnomeprefix gnomehier libglade gnomevfs
+GNOME_HTML_DIR= ${PREFIX}/share/doc/gal
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --enable-static --with-libiconv \
- --with-html-dir=${PREFIX}/share/doc/gal
+CONFIGURE_ARGS= --enable-static --with-libiconv
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
PLIST_SUB= VERSION=${PORTVERSION}
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
- 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
- s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>