openbsd-ports/games/tutris/Makefile

28 lines
669 B
Makefile

# $OpenBSD: Makefile,v 1.7 2007/09/15 18:01:03 simon Exp $
COMMENT= graphical tetris clone
DISTNAME= Tutris-1.0.1
PKGNAME= ${DISTNAME:L}p0
CATEGORIES= games x11
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= SDL X11 Xext c m pthread stdc++ usbhid
LIB_DEPENDS= SDL_image::devel/sdl-image
USE_X11= Yes
CONFIGURE_STYLE=gnu
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/{doc/tutris,tutris}
${INSTALL_PROGRAM} ${WRKSRC}/src/tutris ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tutris
${INSTALL_DATA} ${WRKSRC}/data/*.png ${PREFIX}/share/tutris
.include <bsd.port.mk>