1999-03-09 01:13:40 +00:00
|
|
|
# New ports collection makefile for: gtk12
|
1999-05-02 05:21:27 +00:00
|
|
|
# Version required: 1.2.2
|
1997-12-03 21:17:36 +00:00
|
|
|
# Date Created: 28 Sep 1997
|
|
|
|
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
1997-10-15 16:07:05 +00:00
|
|
|
#
|
1999-05-02 05:21:27 +00:00
|
|
|
# $Id: Makefile,v 1.48 1999/03/27 00:00:16 flathill Exp $
|
1997-10-15 16:07:05 +00:00
|
|
|
#
|
|
|
|
|
1999-05-02 05:21:27 +00:00
|
|
|
DISTNAME= gtk+-1.2.2
|
|
|
|
PKGNAME= gtk-1.2.2
|
1998-08-07 23:08:39 +00:00
|
|
|
CATEGORIES= x11-toolkits
|
1999-03-09 01:13:40 +00: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 16:07:05 +00:00
|
|
|
|
1998-06-01 04:24:01 +00:00
|
|
|
MAINTAINER= vanilla@FreeBSD.ORG
|
1997-10-15 16:07:05 +00:00
|
|
|
|
1999-03-19 04:40:10 +00:00
|
|
|
LIB_DEPENDS= glib12.1:${PORTSDIR}/devel/glib12 \
|
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
1998-12-10 14:30:28 +00:00
|
|
|
|
1998-12-22 09:06:28 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-12-26 19:17:44 +00:00
|
|
|
USE_PERL5= yes
|
1998-08-14 11:16:49 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-03-09 01:13:40 +00:00
|
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12
|
1999-01-31 16:55:07 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-03-09 01:13:40 +00:00
|
|
|
GLIB_CONFIG="${LOCALBASE}/bin/glib12-config" \
|
1998-12-30 23:11:36 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-09-15 11:41:42 +00:00
|
|
|
|
1999-03-09 01:13:40 +00:00
|
|
|
MAN1= gtk12-config.1
|
1999-01-20 22:14:29 +00:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${RM} -rf ${WRKSRC}/docs/gtk.info*
|
|
|
|
|
1998-01-21 12:26:52 +00:00
|
|
|
post-install:
|
1999-03-09 01:13:40 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/themes/engines
|
1999-01-20 22:14:29 +00:00
|
|
|
@if [ ! -f ${PREFIX}/share/info ]; then \
|
|
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
|
|
fi
|
1998-09-23 00:47:17 +00:00
|
|
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1999-03-09 01:13:40 +00: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 12:26:52 +00:00
|
|
|
|
1999-01-20 22:14:29 +00:00
|
|
|
.include <bsd.port.mk>
|