freebsd-ports/devel/bennugd-modules/Makefile
Jan Beich 32d56ae68a Assume "pkg-config zlib" works after 9.x reached EOL
Many ports passed ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-L/usr/lib -lz"
which is unsafe at least with lang/gcc* that override some system headers
and have newer libgcc_s.so that our old version in base may not be
forward-compatible with.
2017-01-03 17:06:49 +00:00

36 lines
890 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= modules
PORTVERSION= svn20130912
PORTREVISION= 4
CATEGORIES= devel games
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
PKGNAMEPREFIX= bennugd-
DISTNAME= bennugd-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= High level open source game development suite, modules
LIB_DEPENDS= libbgdrtm.so:devel/bennugd-core \
libpng.so:graphics/png
USES= tar:bzip2 dos2unix pkgconfig libtool
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --libdir="${PREFIX}/lib/bennugd"
DOS2UNIX_GLOB= *.c
INSTALL_TARGET= install-strip
WRKSRC= ${WRKDIR}/bennugd/${PORTNAME}
post-extract:
@${CHMOD} a+x ${WRKSRC}/configure ${WRKSRC}/install-sh
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/configure
.include <bsd.port.mk>