1999-03-09 01:13:40 +00:00
|
|
|
# New ports collection makefile for: glib12
|
1998-07-28 15:22:17 +00:00
|
|
|
# Date Created: 28 July 1998
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
|
1998-07-28 15:22:17 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-07-28 15:22:17 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= glib
|
2001-03-19 17:42:52 +00:00
|
|
|
PORTVERSION= 1.2.10
|
2004-05-30 07:57:34 +00:00
|
|
|
PORTREVISION= 11
|
1998-07-28 15:22:17 +00:00
|
|
|
CATEGORIES= devel
|
2001-03-20 00:12:49 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2002-09-20 17:07:51 +00:00
|
|
|
MASTER_SITE_SUBDIR= sources/glib/1.2
|
1998-07-28 15:22:17 +00:00
|
|
|
|
2001-05-11 16:36:50 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Some useful routines of C programming (previous stable version)
|
1998-07-28 15:22:17 +00:00
|
|
|
|
2003-06-16 20:52:58 +00:00
|
|
|
USE_GNOME= pkgconfig
|
2004-07-09 17:43:11 +00:00
|
|
|
USE_INC_LIBTOOL_VER= 13
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-05-30 07:57:34 +00:00
|
|
|
USE_REINPLACE= yes
|
1999-09-11 01:06:13 +00:00
|
|
|
LIBTOOLFLAGS= --disable-ltlibs --release-suffix
|
1999-03-09 01:13:40 +00:00
|
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/glib12
|
2001-03-30 13:18:05 +00:00
|
|
|
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
1999-01-20 21:59:44 +00:00
|
|
|
|
2002-11-20 20:11:27 +00:00
|
|
|
MAN1= glib-config.1
|
2003-08-17 04:14:30 +00:00
|
|
|
INFO= glib
|
2002-11-20 20:11:27 +00:00
|
|
|
|
2004-05-30 07:57:34 +00:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
|
|
s|-lc_r|${PTHREAD_LIBS}|g'
|
|
|
|
|
2002-11-20 20:11:27 +00:00
|
|
|
post-install:
|
|
|
|
${LN} -sf ${PREFIX}/bin/glib-config ${PREFIX}/bin/glib12-config
|
1998-07-28 15:22:17 +00:00
|
|
|
|
1999-01-21 19:18:21 +00:00
|
|
|
.include <bsd.port.mk>
|