1999-03-09 02:13:40 +01:00
|
|
|
# New ports collection makefile for: gtk12
|
|
|
|
# Version required: 1.2.0
|
1997-12-03 22:17:36 +01:00
|
|
|
# Date Created: 28 Sep 1997
|
|
|
|
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
1997-10-15 18:07:05 +02:00
|
|
|
#
|
1999-03-06 19:19:23 +01:00
|
|
|
# $Id: Makefile,v 1.44 1999/02/18 04:49:25 vanilla Exp $
|
1997-10-15 18:07:05 +02:00
|
|
|
#
|
|
|
|
|
1999-03-09 02:13:40 +01:00
|
|
|
DISTNAME= gtk+-1.2.0
|
|
|
|
PKGNAME= gtk-1.2.0
|
1998-08-08 01:08:39 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
1999-03-09 02:13:40 +01:00
|
|
|
MASTER_SITES= ftp://ftp.gimp.org/pub/gtk/v1.2/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.2/ \
|
|
|
|
http://www.ameth.org/gimp/gtk/v1.2/
|
1997-10-15 18:07:05 +02:00
|
|
|
|
1998-06-01 06:24:01 +02:00
|
|
|
MAINTAINER= vanilla@FreeBSD.ORG
|
1997-10-15 18:07:05 +02:00
|
|
|
|
1998-12-28 14:57:36 +01:00
|
|
|
BUILD_DEPENDS= gettext:${PORTSDIR}/devel/gettext
|
1998-12-31 00:11:36 +01:00
|
|
|
RUN_DEPENDS= gettext:${PORTSDIR}/devel/gettext
|
1999-03-09 02:13:40 +01:00
|
|
|
LIB_DEPENDS= glib12.1:${PORTSDIR}/devel/glib12
|
1998-12-10 15:30:28 +01:00
|
|
|
|
1998-12-22 10:06:28 +01:00
|
|
|
USE_X_PREFIX= yes
|
1998-12-26 20:17:44 +01:00
|
|
|
USE_PERL5= yes
|
1998-08-14 13:16:49 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1999-03-09 02:13:40 +01:00
|
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12
|
1999-01-31 17:55:07 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-03-09 02:13:40 +01:00
|
|
|
GLIB_CONFIG="${LOCALBASE}/bin/glib12-config" \
|
1998-12-31 00:11:36 +01:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-09-15 13:41:42 +02:00
|
|
|
|
1999-03-09 02:13:40 +01:00
|
|
|
MAN1= gtk12-config.1
|
1999-01-20 23:14:29 +01:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${RM} -rf ${WRKSRC}/docs/gtk.info*
|
|
|
|
|
1998-01-21 13:26:52 +01:00
|
|
|
post-install:
|
1999-03-09 02:13:40 +01:00
|
|
|
@${MKDIR} ${PREFIX}/share/themes/engines
|
1999-01-20 23:14:29 +01:00
|
|
|
@if [ ! -f ${PREFIX}/share/info ]; then \
|
|
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
|
|
fi
|
1998-09-23 02:47:17 +02:00
|
|
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1999-03-09 02:13:40 +01:00
|
|
|
@${ECHO} '*********************************************************'
|
|
|
|
@${ECHO} '* *'
|
|
|
|
@${ECHO} '* If you want to use autoconf with gtk, *'
|
|
|
|
@${ECHO} '* Please copy gtk.m4 to /usr/local/share/aclocal *'
|
|
|
|
@${ECHO} '* by yourself, thanks. *'
|
|
|
|
@${ECHO} '* *'
|
|
|
|
@${ECHO} '*********************************************************'
|
1998-01-21 13:26:52 +01:00
|
|
|
|
1999-01-20 23:14:29 +01:00
|
|
|
.include <bsd.port.mk>
|