1998-09-06 06:34:19 +00:00
|
|
|
# New ports collection makefile for: gnomelibs
|
1999-01-07 10:45:13 +00:00
|
|
|
# Version required: 0.99.2
|
1998-09-06 06:34:19 +00:00
|
|
|
# Date created: 17 June 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
|
|
|
#
|
1999-01-12 16:51:33 +00:00
|
|
|
# $Id: Makefile,v 1.23 1999/01/07 10:45:06 vanilla Exp $
|
1998-09-06 06:34:19 +00:00
|
|
|
#
|
|
|
|
|
1999-01-07 10:45:13 +00:00
|
|
|
DISTNAME= gnome-libs-0.99.2
|
|
|
|
PKGNAME= gnomelibs-0.99.2
|
1998-09-06 06:34:19 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ftp://ftp.jimpick.com/pub/mirrors/gnome/sources/ \
|
1999-01-07 10:45:13 +00:00
|
|
|
ftp://ftp.geo.net/pub/gnome/sources/ \
|
|
|
|
ftp://gnomeftp.wgn.net/pub/gnome/sources/ \
|
1998-09-06 06:34:19 +00:00
|
|
|
ftp://ftp.gnome.org/pub/GNOME/sources/
|
|
|
|
|
1999-01-12 16:51:33 +00:00
|
|
|
MAINTAINER= nacai@iname.com
|
1998-09-06 06:34:19 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= gettext:${PORTSDIR}/devel/gettext
|
1999-01-04 08:43:09 +00:00
|
|
|
RUN_DEPENDS= gettext:${PORTSDIR}/devel/gettext
|
1999-01-01 02:47:12 +00:00
|
|
|
LIB_DEPENDS= gdk_imlib.1:${PORTSDIR}/graphics/imlib \
|
|
|
|
gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff34 \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
gif.3:${PORTSDIR}/graphics/giflib \
|
|
|
|
png.2:${PORTSDIR}/graphics/png \
|
|
|
|
Xpm.4:${PORTSDIR}/graphics/xpm \
|
1999-01-05 02:23:53 +00:00
|
|
|
ORBit.1:${PORTSDIR}/devel/ORBit \
|
|
|
|
esd.1:${PORTSDIR}/audio/esound
|
1998-09-06 06:34:19 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
1999-01-07 10:45:13 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} <= 300000
|
|
|
|
USE_PERL5= yes
|
|
|
|
.endif
|
1998-12-14 03:27:52 +00:00
|
|
|
USE_GMAKE= yes
|
1998-09-06 06:34:19 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-09-14 10:07:36 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
1999-01-01 02:47:12 +00:00
|
|
|
--datadir=${PREFIX}/share/gnome \
|
|
|
|
--disable-gnome-hello \
|
|
|
|
--disable-test-gnome
|
1998-09-30 13:51:46 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include \
|
|
|
|
-I${X11BASE}/include" \
|
1999-01-01 02:47:12 +00:00
|
|
|
GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
|
|
|
|
GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config" \
|
1998-09-30 13:51:46 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lxpg4"
|
1998-09-06 06:34:19 +00:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
( cd ${WRKSRC}/support; ${GMAKE} gnomesupport.h )
|
|
|
|
|
|
|
|
post-install:
|
1998-09-30 13:51:46 +00:00
|
|
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1998-09-06 06:34:19 +00:00
|
|
|
|
1999-01-07 10:45:13 +00:00
|
|
|
.include <bsd.port.post.mk>
|