mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: lbreakout2
|
|
# Date created: 12 June 2002
|
|
# Whom: verm@drunkmonk.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lbreakout2
|
|
PORTVERSION= 2.6
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/lgames/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= mmendez@gmail.com
|
|
COMMENT= The polished successor to LBreakout
|
|
|
|
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
|
|
|
|
USE_SDL= mixer net sdl
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-sdl-net \
|
|
--localstatedir=/var/games \
|
|
--disable-nls
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|== "-D|= "-D|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e \
|
|
's|client docs|client|g' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e \
|
|
's|: install-data-local|:|g' ${WRKSRC}/client/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/client/empty.hscr ${DATADIR}
|
|
@${CHOWN} root:games ${PREFIX}/bin/lbreakout2
|
|
@${CHMOD} g+s ${PREFIX}/bin/lbreakout2
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.jpg ${DOCSDIR}
|
|
.endif
|
|
@${SETENV} "PKG_PREFIX=${PREFIX}" \
|
|
${SH} ${.CURDIR}/pkg-install ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|