1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/xpired/Makefile
Dmitry Marakasov 85653b409d - Add LICENSE
- Add .desktop entry
- Respect CFLAGS/LDFLAGS
2017-04-17 19:21:37 +00:00

38 lines
958 B
Makefile

# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$
PORTNAME= xpired
PORTVERSION= 1.22
PORTREVISION= 23
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-linux/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-linux_source
MAINTAINER= ports@FreeBSD.org
COMMENT= Action-puzzle maze escape game
LICENSE= GPLv2+
USE_SDL= gfx image mixer sdl
WRKSRC= ${WRKDIR}/src
DESKTOP_ENTRIES="Xpired" \
"" \
"${DATADIR}/img/icon.bmp" \
"${PORTNAME}" \
"Game;LogicGame;ActionGame;" \
""
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xpired ${WRKSRC}/xpiredit \
${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}/img
@${MKDIR} ${STAGEDIR}${DATADIR}/snd
.for files in xpired.lvl xpired.cfg bgimages.txt readme.txt xpired.dmo
${INSTALL_DATA} ${WRKSRC}/${files} ${STAGEDIR}${DATADIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/img/* ${STAGEDIR}${DATADIR}/img
${INSTALL_DATA} ${WRKSRC}/snd/* ${STAGEDIR}${DATADIR}/snd
.include <bsd.port.mk>