3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# New ports collection makefile for: gtk12
|
|
# Date Created: 28 Sep 1997
|
|
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtk
|
|
PORTVERSION= 1.2.10
|
|
PORTREVISION= 11
|
|
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_X_PREFIX= yes
|
|
USE_PERL5= yes
|
|
USE_GNOME= glib12
|
|
USE_LIBTOOL_VER=13
|
|
INSTALLS_SHLIB= yes
|
|
LIBTOOLFLAGS= --disable-ltlibs --release-suffix
|
|
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
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|