mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# New ports collection makefile for: gtk12
|
|
# Date Created: 28 Sep 1997
|
|
# Whom: 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= 20
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= sources/gtk+/1.2
|
|
DISTNAME= gtk+-${PORTVERSION}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Gimp Toolkit for X11 GUI (previous stable version)
|
|
|
|
USE_PERL5= yes
|
|
USE_XORG= x11 ice xext sm inputproto xi
|
|
USE_GNOME= glib12
|
|
USE_LDCONFIG= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12 --with-native-locale \
|
|
--with-xinput=xfree
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
X_CFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
INFO= gdk gtk
|
|
MAN1= gtk-config.1
|
|
|
|
pre-build:
|
|
${RM} -rf ${WRKSRC}/docs/gtk.info*
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/lib/gtk/themes/engines
|
|
@${LN} -sf ${PREFIX}/bin/gtk-config ${PREFIX}/bin/gtk12-config
|
|
.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
|
|
|
|
.include <bsd.port.mk>
|