40 lines
979 B
Makefile
40 lines
979 B
Makefile
# $OpenBSD: Makefile,v 1.57 2004/12/17 15:18:33 alek Exp $
|
|
|
|
COMMENT= "General Toolkit for X11 GUI"
|
|
|
|
DISTNAME= gtk+-1.2.10
|
|
PKGNAME= ${DISTNAME}p1
|
|
CATEGORIES= x11 devel
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/1.2/}
|
|
|
|
HOMEPAGE= http://www.gtk.org/
|
|
|
|
MODULES= devel/gettext
|
|
LIB_DEPENDS= glib.1.2,gmodule.1.2::devel/glib
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= X11 Xext Xi m
|
|
|
|
USE_X11= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --enable-static --with-xinput="xfree"
|
|
CONFIGURE_ARGS+= --disable-glibtest
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \
|
|
patch-*
|
|
|
|
post-extract:
|
|
@cd ${WRKSRC}/docs; rm -f gtk.info* gdk.info*
|
|
|
|
.include <bsd.port.mk>
|