1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/games/ggz-client-libs/Makefile
Dmitry Marakasov 747c3070c3 - Remove NLS option, doesn't build with it disabled
- Drop @dirrm* from plist
2014-12-03 13:38:23 +00:00

35 lines
855 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= ggz-client-libs
PORTVERSION= ${GGZ_VERSION}
PORTREVISION= 5
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
COMMENT= The GGZ Gaming Zone - Core Client Libraries
LIB_DEPENDS= libexpat.so:${PORTSDIR}/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>