diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:57:56 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:57:56 +0000 |
commit | bebd89314e57ff34ea47724c5605a0f32c425dcf (patch) | |
tree | d991da3f3e4ccc0cc8f9eab35d1891ca59b0fd9a /graphics/gview | |
parent | 3707e5b7408ecadb0bda141dd82ec9bbca5d0267 (diff) | |
download | ports-bebd89314e57ff34ea47724c5605a0f32c425dcf.tar.gz ports-bebd89314e57ff34ea47724c5605a0f32c425dcf.zip |
Implement WANT_IMLIB and USE_IMLIB.
Notes
Notes:
svn path=/head/; revision=33427
Diffstat (limited to 'graphics/gview')
-rw-r--r-- | graphics/gview/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/gview/Makefile b/graphics/gview/Makefile index 2191eb33fe7c..3bd835aa3255 100644 --- a/graphics/gview/Makefile +++ b/graphics/gview/Makefile @@ -14,15 +14,17 @@ MASTER_SITES= http://netpedia.net/hosting/gview/ \ MAINTAINER= cpiazza@FreeBSD.org -LIB_DEPENDS= gdk_imlib.5:${PORTSDIR}/graphics/imlib - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes +USE_IMLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" \ - GTK_CONFIG="${GTK_CONFIG}" + LIBS="-L${LOCALBASE}/lib" + +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}/configure post-install: .if !defined(NOPORTDOCS) |