1999-03-09 02:13:40 +01:00
|
|
|
# New ports collection makefile for: gtk12
|
1997-12-03 22:17:36 +01:00
|
|
|
# Date Created: 28 Sep 1997
|
|
|
|
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
1997-10-15 18:07:05 +02:00
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
2006-10-14 10:54:54 +02:00
|
|
|
# $MCom: ports/x11-toolkits/gtk12/Makefile,v 1.3 2006/10/09 19:31:53 ahze Exp $
|
1997-10-15 18:07:05 +02:00
|
|
|
|
2000-04-10 03:11:24 +02:00
|
|
|
PORTNAME= gtk
|
2001-04-02 17:45:30 +02:00
|
|
|
PORTVERSION= 1.2.10
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 22
|
1998-08-08 01:08:39 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2009-02-02 02:36:16 +01:00
|
|
|
MASTER_SITES= GNOME
|
2002-09-20 19:07:51 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/gtk+/1.2
|
2000-04-10 03:11:24 +02:00
|
|
|
DISTNAME= gtk+-${PORTVERSION}
|
1997-10-15 18:07:05 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Gimp Toolkit for X11 GUI (previous stable version)
|
1997-10-15 18:07:05 +02:00
|
|
|
|
2010-04-29 03:37:28 +02:00
|
|
|
USE_PERL5_BUILD= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 ice xext sm inputproto xi
|
2002-07-04 19:19:38 +02:00
|
|
|
USE_GNOME= glib12
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_LDCONFIG= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2002-09-05 20:12:57 +02:00
|
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12 --with-native-locale \
|
|
|
|
--with-xinput=xfree
|
1999-01-31 17:55:07 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-05-29 05:49:46 +02:00
|
|
|
X_CFLAGS="-I${LOCALBASE}/include" \
|
1998-12-31 00:11:36 +01:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2004-03-02 07:07:54 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
1998-09-15 13:41:42 +02:00
|
|
|
|
2005-02-27 16:40:26 +01:00
|
|
|
INFO= gdk gtk
|
2002-11-20 21:11:27 +01:00
|
|
|
MAN1= gtk-config.1
|
1999-01-20 23:14:29 +01:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${RM} -rf ${WRKSRC}/docs/gtk.info*
|
|
|
|
|
2000-06-05 15:31:58 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/lib/gtk/themes/engines
|
2002-11-20 21:11:27 +01:00
|
|
|
@${LN} -sf ${PREFIX}/bin/gtk-config ${PREFIX}/bin/gtk12-config
|
2006-02-23 11:40:44 +01:00
|
|
|
.for lib in gdk gtk
|
|
|
|
@${RM} ${PREFIX}/lib/lib${lib}.la ${PREFIX}/lib/lib${lib}.so
|
|
|
|
@${MV} ${PREFIX}/lib/lib${lib}.a ${PREFIX}/lib/lib${lib}-12.a
|
|
|
|
.endfor
|
2000-06-05 15:31:58 +02:00
|
|
|
|
1999-01-20 23:14:29 +01:00
|
|
|
.include <bsd.port.mk>
|