cd1489e639
the old xxx-config files, remove the "12" suffix. This will allow people building Glib and GTK+ ports by hand to do so without a lot of extra hacking. Since these ports are so heavily used, the xxx12-config files aren't removed completely, but rather symlinked to their xxx-config counterparts. PR: 39417
42 lines
981 B
Makefile
42 lines
981 B
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= 9
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= sources/gtk+/1.2
|
|
DISTNAME= gtk+-${PORTVERSION}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_PERL5= yes
|
|
USE_GNOMENG= yes
|
|
USE_GNOME= glib12
|
|
USE_LIBTOOL= yes
|
|
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"
|
|
|
|
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>
|