diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-12-13 07:50:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-12-13 07:50:28 +0000 |
commit | afe3adc0af2251e025a069b4636adbf04fc14321 (patch) | |
tree | 752e3197cbb9aa95bc2ef735f45d4043cc120adf /games/hex-a-hop/Makefile | |
parent | 9324dfcd05515ff1ae290641583c327867355063 (diff) | |
download | ports-afe3adc0af2251e025a069b4636adbf04fc14321.tar.gz ports-afe3adc0af2251e025a069b4636adbf04fc14321.zip |
Notes
Diffstat (limited to 'games/hex-a-hop/Makefile')
-rw-r--r-- | games/hex-a-hop/Makefile | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/games/hex-a-hop/Makefile b/games/hex-a-hop/Makefile index af7f228140ee..b1fa5fc6caed 100644 --- a/games/hex-a-hop/Makefile +++ b/games/hex-a-hop/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: hex-a-hop -# Date created: 21 February 2006 -# Whom: jamie -# +# Created by: jamie # $FreeBSD$ -# PORTNAME= hex-a-hop PORTVERSION= 1.1.0 @@ -21,20 +17,22 @@ CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS= PANGO "Use sdl_pango instead of sdl_ttf" off \ - SOUND "Compile sound support" on +OPTIONS_DEFINE= PANGO SOUND NLS DEBUG +OPTIONS_DEFAULT= SOUND +PANGO_DESC= Use sdl_pango instead of sdl_ttf +SOUND_DESC= Sound support DESKTOP_ENTRIES="Hex-a-Hop" "A puzzle game based on hexagonal tiles" \ "${DATADIR}/icon.bmp" \ "hex-a-hop" "Application;LogicGame;Game;" false -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITH_DEBUG) +.if ! ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--disable-debug .endif -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes CONFIGURE_ENV+= ac_cv_header_libintl_h=yes LDFLAGS+= -lintl @@ -42,14 +40,14 @@ LDFLAGS+= -lintl CONFIGURE_ENV+= ac_cv_header_libintl_h=no .endif -.if !defined(WITHOUT_PANGO) +.if ${PORT_OPTIONS:MPANGO} USE_SDL+= pango CONFIGURE_ARGS+=--disable-sdlttf .else USE_SDL+= ttf .endif -.if !defined(WITHOUT_SOUND) +.if ${PORT_OPTIONS:MSOUND} USE_SDL+= mixer .else CONFIGURE_ARGS+=--disable-sound @@ -58,4 +56,4 @@ CONFIGURE_ARGS+=--disable-sound post-patch: .SILENT ${REINPLACE_CMD} -E '/CFLAGS|CXXFLAGS/s/-g//' ${WRKSRC}/configure -.include <bsd.port.post.mk> +.include <bsd.port.mk> |