blob: b56b9872ee56e51ddb10cdf8fcb0b2f718302dda (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
# $FreeBSD$
# $MCom: ports/x11-toolkits/gtk12/Makefile,v 1.3 2006/10/09 19:31:53 ahze Exp $
PORTNAME= gtk
PORTVERSION= 1.2.10
PORTREVISION= 24
CATEGORIES= x11-toolkits
MASTER_SITES= GNOME/sources/gtk+/1.2
PKGNAMESUFFIX= 12
DISTNAME= gtk+-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gimp Toolkit for X11 GUI (previous stable version)
USES= libtool pathfix perl5
USE_PERL5= build
USE_XORG= x11 ice xext sm inputproto xi
USE_GNOME= glib12
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-native-locale \
--with-xinput=xfree
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
INFO= gdk gtk
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${MV} ${WRKSRC}/gtk/gtkrc.zh_TW.big5 ${WRKSRC}/gtk/gtkrc.zh_TW.Big5
pre-build:
${RM} -r ${WRKSRC}/docs/gtk.info*
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk/themes/engines
@${LN} -sf gtk-config ${STAGEDIR}${PREFIX}/bin/gtk12-config
.include <bsd.port.mk>
|