9aba313eba
wrong. These are generated files that should be updated automagically by ports whenever GDK loaders or GTK immodules respectivly are added. As such, these files shouldn't live under /etc but under /var/db... and they should be generated on package install instead of through funky sed magic in the Makefile. So now they are. :) Oh and regen the PLIST, since, we're hacking the crap out of it anyway.
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2003/12/08 06:08:42 marcm Exp $
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
|
|
|
COMMENT= "multi-platform graphical toolkit"
|
|
COMMENT-docs= "gtk+-2 documentation"
|
|
|
|
VERSION= 2.2.4
|
|
DISTNAME= gtk+-${VERSION}
|
|
PKGNAME= gtk+2-${VERSION}
|
|
PKGNAME-docs= gtk+2-docs-${VERSION}
|
|
CATEGORIES= x11 devel
|
|
|
|
HOMEPAGE= http://www.gtk.org
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.2/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MULTI_PACKAGES= -docs
|
|
SUBPACKAGE?=
|
|
|
|
.if ${SUBPACKAGE} != "-docs"
|
|
LIB_DEPENDS= glib-2.0.0.8,gmodule-2.0.0.8,gobject-2.0.0.8::devel/glib2 \
|
|
pango-1.0.0.1,pangox-1.0.0.1,pangoxft-1.0.0.1::devel/pango \
|
|
atk-1.0.0.1::devel/atk \
|
|
tiff.35::graphics/tiff \
|
|
png.3::graphics/png \
|
|
jpeg.62::graphics/jpeg
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
|
.endif
|
|
|
|
# library versions (major:minor)
|
|
OBSD_LIB_VERSION= 0:14
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2/ -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
MAKE_ENV= OBSD_LIB_VERSION="${OBSD_LIB_VERSION}"
|
|
|
|
NO_SYSTRACE= "normalize_filename: filename too long"
|
|
|
|
.include <bsd.port.mk>
|