openbsd-ports/games/monadius/Makefile

34 lines
784 B
Makefile

# $OpenBSD: Makefile,v 1.5 2010/07/17 13:54:30 kili Exp $
COMMENT = Gradius clone
DISTNAME = Monadius-0.93
PKGNAME = ${DISTNAME:L}
REVISION = 2
CATEGORIES = games
HOMEPAGE = http://www.geocities.jp/takascience/haskell/monadius_en.html
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = GL GLU ICE SM X11 Xi Xmu c glut gmp m pthread util
MODULES = lang/ghc converters/libiconv
MODGHC_BUILD = cabal hackage nort
LIB_DEPENDS = ::devel/gmp \
::graphics/freeglut
BUILD_DEPENDS = ::graphics/hs-GLUT \
:hs-OpenGL->=2.0:graphics/hs-OpenGL
USE_X11 = Yes
post-install:
mv ${PREFIX}/share/${DISTNAME}/* ${PREFIX}/share/doc/${DISTNAME}
rmdir ${PREFIX}/share/${DISTNAME}
.include <bsd.port.mk>