summaryrefslogtreecommitdiff
path: root/x11/wxGTK/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-07-24 21:14:51 +0000
committerwiz <wiz@pkgsrc.org>2005-07-24 21:14:51 +0000
commitf8ba2181fc72a0df4c9c649fc07bede61404cc10 (patch)
treeaee9493e631131cae9254bf4e52ac63094e1e764 /x11/wxGTK/Makefile
parentea77b5e9e1e3a9da20600d56595ff73898103750 (diff)
downloadpkgsrc-f8ba2181fc72a0df4c9c649fc07bede61404cc10.tar.gz
Split out some variables into Makefile.common for wxGTK-contrib package.
Add patch-ah and modify patch-ac for wxGTK-contrib. Fix directory handling in PLIST.
Diffstat (limited to 'x11/wxGTK/Makefile')
-rw-r--r--x11/wxGTK/Makefile49
1 files changed, 3 insertions, 46 deletions
diff --git a/x11/wxGTK/Makefile b/x11/wxGTK/Makefile
index 9c3608ca303..0e45fe697ce 100644
--- a/x11/wxGTK/Makefile
+++ b/x11/wxGTK/Makefile
@@ -1,57 +1,14 @@
-# $NetBSD: Makefile,v 1.41 2005/07/21 16:30:01 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2005/07/24 21:14:51 wiz Exp $
#
-DISTNAME= wxGTK-2.4.2
-PKGREVISION= 5
-CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxwindows/}
-EXTRACT_SUFX= .tar.bz2
+.include "Makefile.common"
-MAINTAINER= tsarna@NetBSD.org
-HOMEPAGE= http://www.wxwidgets.org/
+PKGREVISION= 5
COMMENT= GTK-based implementation of the wxWidgets GUI library
-USE_PKGLOCALEDIR= YES
-USE_LIBTOOL= YES
-USE_LANGUAGES= c c++
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --with-opengl
-CONFIGURE_ARGS+= --with-libjpeg=sys
-CONFIGURE_ARGS+= --with-zlib=sys
-CONFIGURE_ARGS+= --with-libpng=sys
-CONFIGURE_ARGS+= --with-libtiff=sys
-CONFIGURE_ENV+= BUILDLINK_DIR=${BUILDLINK_DIR}
-
-CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this
-
-DOCDIR= ${PREFIX}/share/doc/wx/gtk
-
-.include "../../mk/bsd.prefs.mk"
-
-# This is needed for gtk1 and gtk2 on some platforms and
-# it doesn't hurt on those which don't need it
-CONFIGURE_ARGS+= --with-gtk
-
-.if !empty(WXGTK_USE_GTK1:M[Yy][Ee][Ss])
-PLIST_SUBST+= GTKVER=
-.include "../../x11/gtk/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --enable-gtk2
-PLIST_SUBST+= GTKVER=2
-.include "../../x11/gtk2/buildlink3.mk"
-.endif
-
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DOCDIR}/LICENSE
-.include "../../devel/pkg-config/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
-.include "../../graphics/jpeg/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../graphics/tiff/buildlink3.mk"
-
-.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"