freebsd-ports/games/ggz-client-libs/Makefile
Tijl Coosemans eb96de0656 Remove libexpat.so.6 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 17:40:41 +00:00

34 lines
843 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= ggz-client-libs
PORTVERSION= ${GGZ_VERSION}
PORTREVISION= 6
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
COMMENT= The GGZ Gaming Zone - Core Client Libraries
LIB_DEPENDS= libexpat.so:textproc/expat2
USES= gettext libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug --with-libggz-dir="${LOCALBASE}"
USE_LDCONFIG= yes
USE_GGZ= core
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread -lexpat
post-patch:
@${REINPLACE_CMD} -e 's|libggz.la|libggz.so|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' \
${WRKSRC}/ggz-wrapper/ggz
@${REINPLACE_CMD} -e \
's|@LIB_GGZ@|@LIB_GGZ@ ../ggzcore/.libs/libggzcore.so|' \
${WRKSRC}/ggzwrap/Makefile.in
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
.include <bsd.port.mk>