diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 14:36:23 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 14:36:23 +0800 |
commit | 97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (patch) | |
tree | a059ae14b97a6e427c4c5a801e98bb245e73742e /graphics/xsane | |
parent | 38d35e3db9111f42b79313f05731c75e6e55d7e8 (diff) | |
download | freebsd-ports-gnome-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.tar.gz freebsd-ports-gnome-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.tar.zst freebsd-ports-gnome-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.zip |
Implement USE_GTK, part 1.
Diffstat (limited to 'graphics/xsane')
-rw-r--r-- | graphics/xsane/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile index a2000a58bad1..b143ade1b448 100644 --- a/graphics/xsane/Makefile +++ b/graphics/xsane/Makefile @@ -14,24 +14,28 @@ MASTER_SITES= http://www.wolfsburg.de/~rauch/sane/ \ MAINTAINER= domi@saargate.de -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \ sane.1:${PORTSDIR}/graphics/sane \ jpeg.9:${PORTSDIR}/graphics/jpeg \ tiff.4:${PORTSDIR}/graphics/tiff \ png.4:${PORTSDIR}/graphics/png -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_GMAKE= yes USE_X_PREFIX= yes +USE_GTK= yes USE_AUTOCONF= yes +CONFIGURE_ARGS= --enable-intl-patch CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --enable-intl-patch MAN1= xsane.1 +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/aclocal.m4 + post-install: @${CAT} ${PKGMESSAGE} |