mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
5bf81ff789
Approved by: portmgr
39 lines
893 B
Makefile
39 lines
893 B
Makefile
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pongix
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 10
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.losersjuegos.com.ar/_media/juegos/pongix/descargas/
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Free pong-like game
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= gmake
|
|
USE_SDL= sdl image net
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
|
|
|
|
NO_STAGE= yes
|
|
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>
|