openbsd-ports/games/tong/Makefile
bcallah 1c54e1f2e7 Import games/tong. Tong is an arcade-style game in which you must play
Tetris and Pong at the same time on the same playing field.
ok landry@
2013-11-30 18:39:42 +00:00

41 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/11/30 18:39:42 bcallah Exp $
COMMENT = Tetris and Pong played simultaneously on one playing field
DISTNAME = tong-1.2
CATEGORIES = games x11
HOMEPAGE = http://www.nongnu.org/tong/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += SDL SDL_image SDL_mixer c m pthread stdc++
MASTER_SITES = http://www.nongnu.org/tong/
LIB_DEPENDS = devel/sdl-image \
devel/sdl-mixer
USE_GMAKE = Yes
MAKE_FLAGS = CC="${CXX} ${CXXFLAGS}" \
GAME_DATA_DIR="${TRUEPREFIX}/share/tong"
NO_TEST = Yes
WRKDIST = ${WRKDIR}/tong
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tong ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tong
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tong
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/media/tong.png ${PREFIX}/share/pixmaps
${INSTALL_DATA_DIR} ${PREFIX}/share/tong
${INSTALL_DATA} ${WRKSRC}/*.png ${PREFIX}/share/tong
${INSTALL_DATA_DIR} ${PREFIX}/share/tong/media
${INSTALL_DATA} ${WRKSRC}/media/*.{png,xcf,ogg,ico} ${PREFIX}/share/tong/media
.include <bsd.port.mk>