freebsd-ports/games/pongix/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

42 lines
1.1 KiB
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= 2
CATEGORIES= games
MASTER_SITES= http://www.losersjuegos.com.ar/juegos/pongix/descargas/
MAINTAINER= acm@FreeBSD.org
COMMENT= Free pong-like game
USE_X_PREFIX= yes
USE_SDL= sdl image net
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
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>