2003-10-09 03:44:07 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: ggz-client-libs
|
|
|
|
# Date created: Oct 8, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ggz-client-libs
|
2005-01-28 10:56:50 +01:00
|
|
|
PORTVERSION= 0.0.10
|
2005-02-06 14:37:10 +01:00
|
|
|
PORTREVISION= 1
|
2003-10-09 03:44:07 +02:00
|
|
|
CATEGORIES= games
|
2004-07-19 19:59:50 +02:00
|
|
|
MASTER_SITES= http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/
|
2004-02-14 14:20:06 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
2003-10-09 03:44:07 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= The GGZ Gaming Zone - Core Client Libraries
|
|
|
|
|
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
|
2005-01-28 10:56:50 +01:00
|
|
|
ggz.3:${PORTSDIR}/games/libggz \
|
2004-03-14 08:58:26 +01:00
|
|
|
expat.5:${PORTSDIR}/textproc/expat2
|
2003-10-09 03:44:07 +02:00
|
|
|
|
2004-02-14 14:20:06 +01:00
|
|
|
USE_GNOME= gnometarget
|
2005-01-28 10:56:50 +01:00
|
|
|
USE_GETOPT_LONG= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_REINPLACE= yes
|
2004-07-19 19:59:50 +02:00
|
|
|
USE_LIBTOOL_VER= 15
|
2004-02-14 14:20:06 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-10-09 03:44:07 +02:00
|
|
|
CONFIGURE_ARGS= --disable-debug
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
MAN3= ggzcore_h.3 ggzmod_h.3
|
|
|
|
MAN5= ggz.modules.5
|
2005-01-28 10:56:50 +01:00
|
|
|
MAN6= ggz-config.6 ggz-wrapper.6
|
2003-10-09 03:44:07 +02:00
|
|
|
|
2004-02-14 14:20:06 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
|
2005-01-28 10:56:50 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|LIBGGZ_INCLUDES=.*$$|LIBGGZ_INCLUDES=|g ; \
|
2005-02-06 14:37:10 +01:00
|
|
|
s|LIBGGZ_LDFLAGS=.*$$|LIBGGZ_LDFLAGS=|g ; \
|
|
|
|
s|libggz.la|libggz.so|g' ${WRKSRC}/configure
|
2005-01-28 10:56:50 +01:00
|
|
|
|
2003-10-09 03:44:07 +02:00
|
|
|
.include <bsd.port.mk>
|