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
42 lines
952 B
Makefile
42 lines
952 B
Makefile
# New ports collection makefile for: pongix
|
|
# Date created: 2006-04-01
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pongix
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 9
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.losersjuegos.com.ar/_media/juegos/pongix/descargas/
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Free pong-like game
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_SDL= sdl image net
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
@cd ${WRKSRC}/src && \
|
|
${INSTALL_PROGRAM} pongix ${PREFIX}/bin
|
|
@cd ${WRKSRC}/data && \
|
|
${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
|
|
${FIND} -E * -type f -iregex ".*\.(jpg|bmp)" \
|
|
-exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC} && \
|
|
${INSTALL_DATA} AUTHORS ChangeLog README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|