2013-05-06 08:41:15 +02:00
|
|
|
# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
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
|
2014-09-13 17:11:27 +02:00
|
|
|
PORTREVISION= 24
|
1998-08-08 01:08:39 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= GNOME/sources/gtk+/1.2
|
2014-09-13 17:11:27 +02:00
|
|
|
PKGNAMESUFFIX= 12
|
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
|
|
|
|
2014-09-13 17:11:27 +02:00
|
|
|
USES= libtool pathfix perl5
|
2013-09-12 19:55:41 +02:00
|
|
|
USE_PERL5= build
|
- 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
|
2014-09-13 17:11:27 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-native-locale \
|
2002-09-05 20:12:57 +02:00
|
|
|
--with-xinput=xfree
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2014-09-13 17:11:27 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2013-05-06 08:41:15 +02:00
|
|
|
|
|
|
|
INFO= gdk gtk
|
2014-09-13 17:11:27 +02:00
|
|
|
|
2013-05-06 08:41:15 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2004-03-02 07:07:54 +01:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
1998-09-15 13:41:42 +02:00
|
|
|
|
2014-09-13 17:11:27 +02:00
|
|
|
post-patch:
|
|
|
|
@${MV} ${WRKSRC}/gtk/gtkrc.zh_TW.big5 ${WRKSRC}/gtk/gtkrc.zh_TW.Big5
|
|
|
|
|
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:
|
2014-02-02 15:56:03 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk/themes/engines
|
2014-09-13 17:11:27 +02:00
|
|
|
@${LN} -sf gtk-config ${STAGEDIR}${PREFIX}/bin/gtk12-config
|
2000-06-05 15:31:58 +02:00
|
|
|
|
1999-01-20 23:14:29 +01:00
|
|
|
.include <bsd.port.mk>
|