1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/games/xdeblock/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

33 lines
756 B
Makefile

# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
PORTNAME= xdeblock
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://ftp.vector.co.jp/03/94/1328/
DISTFILES= ${PORTNAME}.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Block action game
WRKSRC= ${WRKDIR}/xdeblo_v1.0
USES= imake:noman xorg
USE_XORG= xpm
CFLAGS+= -Wno-return-type
DESKTOP_ENTRIES="XDeBlock" "" "" "xdeblo" "" ""
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} xdeblo ${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf
(cd ${WRKSRC}/mapf && ${INSTALL_DATA} *.txt \
${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf)
.include <bsd.port.mk>