mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
9250d94365
It brings bison as a build dependency in case it is set the following way: USES= bison or USES= bison:build it brings bison as a run dependency in case it is set the following way: USES= bison:run it brings bison both as a run and build dependency in case it the set the following way: USES= bison:both While here trim some headers Convert some USE_GNOME= gnomehack to USES= pathfix
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= flobopuyo
|
|
PORTVERSION= 0.20
|
|
PORTREVISION= 12
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.ios-software.com/flobopuyo/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Clone of the famous PuyoPuyo
|
|
|
|
USES= bison
|
|
USE_GMAKE= yes
|
|
USE_SDL= sdl mixer image
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
DESKTOP_ENTRIES="FloboPuyo" \
|
|
"Clone of the famous PuyoPuyo" \
|
|
"${DATADIR}/gfx/Neutral.png" \
|
|
"flobopuyo" \
|
|
"Game;BlocksGame;" \
|
|
false
|
|
|
|
post-extract:
|
|
@${FIND} ${WRKSRC} -name '._*' -delete
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|^DATADIR=.*$$|DATADIR=${DATADIR}|' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|^INSTALL_DATADIR=.*$$|INSTALL_DATADIR=${DATADIR}|' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|^INSTALL_BINDIR=.*$$|INSTALL_BINDIR=${PREFIX}/bin|' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|