1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/games/pongix/Makefile
Tijl Coosemans ee97df16bd - Convert net/sdl_net to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip

Approved by:	portmgr (implicit, bump unstaged port)
2014-07-09 19:06:34 +00:00

34 lines
923 B
Makefile

# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
# $FreeBSD$
PORTNAME= pongix
PORTVERSION= 0.4
PORTREVISION= 11
CATEGORIES= games
MASTER_SITES= http://www.losersjuegos.com.ar/_media/juegos/pongix/descargas/
MAINTAINER= ports@FreeBSD.org
COMMENT= Free pong-like game
LICENSE= GPLv2
USES= gmake
USE_SDL= sdl image net
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lm -L${LOCALBASE}/lib ${PTHREAD}
PORTDOCS= AUTHORS ChangeLog README
do-install:
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/src && \
${INSTALL_PROGRAM} pongix ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}/data && ${FIND} * -type d \
-exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
${FIND} -E * -type f -iregex ".*\.(jpg|bmp)" \
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
cd ${WRKSRC} && ${INSTALL_DATA} \
AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>