openbsd-ports/games/meandmyshadow/Makefile
2013-03-11 11:02:49 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2013/03/11 11:07:39 espie Exp $
COMMENT = puzzle/platform game
DISTNAME = meandmyshadow-0.4-src
CATEGORIES = games
PKGNAME = ${DISTNAME:S/-src//}
HOMEPAGE = http://meandmyshadow.sourceforge.net/
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=meandmyshadow/}
# GPLv3 (some fonts/data CCY-BY-SA/OFL)
PERMIT_PACKAGE_CDROM = Yes
WRKDIST = ${WRKDIR}/${DISTNAME:S/-src//}
MODULES = devel/cmake
LIB_DEPENDS = net/curl \
devel/sdl-gfx \
devel/sdl-mixer \
devel/sdl-image \
devel/sdl-mixer \
devel/sdl-ttf \
archivers/libarchive
WANTLIB += SDL SDL_gfx SDL_image SDL_mixer SDL_ttf archive c crypto
WANTLIB += curl m pthread ssl stdc++ GL GLU ICE SM X11 Xext
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+2,-guic
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/meandmyshadow.desktop \
${PREFIX}/share/applications
.for i in 16x16 32x32 48x48 64x64
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/${i}/apps
${INSTALL_DATA} ${WRKSRC}/icons/${i}/meandmyshadow.png \
${PREFIX}/share/icons/hicolor/${i}/apps/
.endfor
.include <bsd.port.mk>