summaryrefslogtreecommitdiff
path: root/x11/wxGTK/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-29 08:53:17 +0000
committerjlam <jlam@pkgsrc.org>2001-06-29 08:53:17 +0000
commite71604329eb11e1d85090e8f673a222f3d27b530 (patch)
tree7df982d7189bf560a6d36097a0f7e0479624aeac /x11/wxGTK/Makefile
parent816881549b5587165453c03e0523f4e0d13f48e3 (diff)
downloadpkgsrc-e71604329eb11e1d85090e8f673a222f3d27b530.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Put locale files under ${PKGLOCALEDIR}.
Diffstat (limited to 'x11/wxGTK/Makefile')
-rw-r--r--x11/wxGTK/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/x11/wxGTK/Makefile b/x11/wxGTK/Makefile
index 46ffc7ae3d3..6cc71743d1a 100644
--- a/x11/wxGTK/Makefile
+++ b/x11/wxGTK/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/06/15 16:53:27 drochner Exp $
+# $NetBSD: Makefile,v 1.11 2001/06/29 08:53:17 jlam Exp $
#
DISTNAME= wxGTK-2.2.7
@@ -9,10 +9,8 @@ MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.freiburg.linux.de/~wxxt/
COMMENT= GTK-based implementation of the wxWindows GUI library
-DEPENDS+= gtk+>=1.2.7:../../x11/gtk
-DEPENDS+= jpeg-6b:../../graphics/jpeg
-DEPENDS+= png>=1.0.11:../../graphics/png
-DEPENDS+= tiff>=3.5.2:../../graphics/tiff
+USE_BUILDLINK_ONLY= # defined
+REPLACE_BUILDLINK= wxgtk-config
USE_GMAKE= # defined
USE_LIBTOOL= # defined
@@ -24,7 +22,8 @@ CONFIGURE_ARGS+= --with-libpng=sys
CONFIGURE_ARGS+= --with-libtiff=sys
CONFIGURE_ARGS+= --disable-threads
-CPPFLAGS+= -I${LOCALBASE}/include
+MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
+CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this
DOCDIR= ${PREFIX}/share/doc/wx/gtk
@@ -33,4 +32,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DOCDIR}/LICENSE
${INSTALL_DATA} ${WRKSRC}/SYMBOLS.txt ${DOCDIR}/SYMBOLS
+.include "../../graphics/jpeg/buildlink.mk"
+.include "../../graphics/png/buildlink.mk"
+.include "../../graphics/tiff/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"