openbsd-ports/games/frozen-bubble/Makefile

71 lines
1.7 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.16 2012/09/02 20:52:35 sthen Exp $
SHARED_ONLY = Yes
COMMENT-main = bubble popping game, like puzzle bobble
COMMENT-server = server for the frozen-bubble bubble popping game
VER = 2.2.0
DISTNAME = frozen-bubble-${VER}
2010-09-24 11:29:20 -04:00
PKGNAME-main = ${DISTNAME}
REVISION-main = 7
2010-09-24 11:29:20 -04:00
PKGNAME-server = frozen-bubble-server-${VER}
REVISION-server = 4
CATEGORIES = games
HOMEPAGE = http://www.frozen-bubble.org
MAINTAINER = James Wright <jamesw@bsdhosting.co.za>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}/data/
EXTRACT_SUFX = .tar.bz2
USE_GMAKE = Yes
2010-11-08 10:54:53 -05:00
USE_GROFF = Yes
# No regress tests here
NO_REGRESS = Yes
MODULES = perl \
devel/gettext
2010-11-16 06:23:25 -05:00
BUILD_DEPENDS = devel/p5-SDL \
devel/sdl-pango \
devel/p5-Locale-gettext
2010-11-16 06:23:25 -05:00
RUN_DEPENDS-main = devel/p5-SDL \
devel/sdl-pango \
devel/p5-Locale-gettext \
${BASE_PKGPATH},-server
LIB_DEPENDS-main = ${MODGETTEXT_LIB_DEPENDS} \
2010-11-16 06:23:25 -05:00
devel/sdl-pango \
devel/sdl-mixer \
devel/glib2
LIB_DEPENDS-server = ${MODGETTEXT_LIB_DEPENDS} \
2010-11-16 06:23:25 -05:00
devel/glib2
2010-11-06 12:07:00 -04:00
WANTLIB-main = ${MODGETTEXT_WANTLIB} \
2010-11-08 10:54:53 -05:00
SDL X11 m pango-1.0 pthread pthread-stubs xcb \
SDL_Pango SDL_mixer glib-2.0 gmodule-2.0 \
gobject-2.0
2010-11-08 18:12:31 -05:00
WANTLIB-server = ${MODGETTEXT_WANTLIB} c glib-2.0
MULTI_PACKAGES = -main -server
post-configure:
${SUBST_CMD} -c ${FILESDIR}/wrapper.sh ${WRKDIR}/wrapper.sh
post-install:
mv ${PREFIX}/bin/frozen-bubble* ${PREFIX}/libexec/frozen-bubble/
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/frozen-bubble
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/frozen-bubble-editor
.include <bsd.port.mk>