freebsd-ports/games/volleyball/Makefile
Dmitry Marakasov de3bf759fa - Support staging
- Convert USE_GMAKE to USES
2013-10-18 01:20:37 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= volleyball
PORTVERSION= 0.8.6
PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= http://www.losersjuegos.com.ar/_media/juegos/volleyball/descargas/ \
http://mirror.amdmi3.ru/distfiles/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A game similar to GNU Arcade Volleyball
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
USES= gettext gmake
LDFLAGS+= -L${LOCALBASE}/lib -lintl
CONFIGURE_ARGS= --mandir="${MANPREFIX}/man" --disable-nls # strangeness in nls support
PLIST_FILES= bin/${PORTNAME} \
man/man6/volleyball.6.gz
PORTDOCS= *
PORTDATA= *
DATAVERSION= 0.8.5
DESKTOP_ENTRIES="Pocket Volleyball" \
"A game similar to GNU Arcade Volleyball" \
"" \
"volleyball" \
"Game;SportsGame;ArcadeGame;" \
false
post-configure:
cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \
${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
post-install:
cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>