diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/burgerspace/Makefile | 9 | ||||
-rw-r--r-- | games/heroes/Makefile | 10 | ||||
-rw-r--r-- | games/nethack33/Makefile | 8 | ||||
-rw-r--r-- | games/nethack33/files/patch-ad | 2 |
4 files changed, 17 insertions, 12 deletions
diff --git a/games/burgerspace/Makefile b/games/burgerspace/Makefile index 0bfa4e1692da..a66e64d91c4c 100644 --- a/games/burgerspace/Makefile +++ b/games/burgerspace/Makefile @@ -7,18 +7,21 @@ PORTNAME= burgerspace PORTVERSION= 1.6.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/ MAINTAINER= markp@FreeBSD.org COMMENT= A BurgerTime clone -LIB_DEPENDS= gengameng.4:${PORTSDIR}/devel/gengameng \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +LIB_DEPENDS= gengameng.4:${PORTSDIR}/devel/gengameng +USE_GETOPT_LONG=yes GNU_CONFIGURE= yes SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt" +CPPFLAGS= -I${X11BASE}/include -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib +CCONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS+= --with-gengameng-prefix="${X11BASE}" MAN6= burgerspace.6 diff --git a/games/heroes/Makefile b/games/heroes/Makefile index bbb509086a2c..df7c436bb169 100644 --- a/games/heroes/Makefile +++ b/games/heroes/Makefile @@ -7,6 +7,7 @@ PORTNAME= heroes PORTVERSION= 0.21 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -21,7 +22,6 @@ MAINTAINER= sobomax@FreeBSD.org COMMENT= A game of yore similar to the "Tron" and "Nibbles" LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ iconv.3:${PORTSDIR}/converters/libiconv DATAVERSION= 1.5 @@ -37,13 +37,15 @@ INSTPREFIX= ${PREFIX}/share/heroes SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config +USE_GETOPT_LONG=yes USE_X_PREFIX= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-sdl_mixer=${LOCALBASE} -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt ${PTHREAD_LIBS} -lsmpeg" \ - CPPFLAGS="-I${LOCALBASE}/include" +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lsmpeg +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ + SDL_CONFIG="${SDL_CONFIG}" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} MAN6= heroes.6 heroeslvl.6 diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile index 2a4b2e21cf2d..83b6faa656cb 100644 --- a/games/nethack33/Makefile +++ b/games/nethack33/Makefile @@ -7,7 +7,7 @@ PORTNAME= nethack PORTVERSION= 3.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= nethack @@ -23,14 +23,14 @@ NO_LATEST_LINK= yes USE_GMAKE= yes USE_REINPLACE= yes -MAKE_ENV= CXX="${CXX}" GRAPHICS="${GRAPHICS}" +MAKE_ENV= CXX="${CXX}" GRAPHICS="${GRAPHICS}" LDFLAGS="${LDFLAGS}" MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6 .if defined(WITH_GNOME_GRAPHICS) CATEGORIES= games gnome PKGNAMESUFFIX= -gnome -LIB_DEPENDS+= gnugetopt:${PORTSDIR}/devel/libgnugetopt +USE_GETOPT_LONG=yes USE_GNOME= yes GRAPHICS= GNOME_GRAPHICS .elif defined(WITH_QT_GRAPHICS) @@ -49,7 +49,7 @@ GRAPHICS= X11_GRAPHICS .include <bsd.port.pre.mk> .if defined(WITH_QT_GRAPHICS) && ${OSVERSION} >= 500113 -BROKEN= "Does not build" +BROKEN= "Does not build" .endif pre-everything:: diff --git a/games/nethack33/files/patch-ad b/games/nethack33/files/patch-ad index 51e4a09f5a54..2053453e3489 100644 --- a/games/nethack33/files/patch-ad +++ b/games/nethack33/files/patch-ad @@ -79,7 +79,7 @@ # # libraries for Gnome -WINGNOMELIB = -lgnomeui -lgnome -lart_lgpl -lgtk -lgdk -lpopt -+WINGNOMELIB = $(shell ${GNOME_CONFIG} --libs gnomeui) -lgnugetopt ++WINGNOMELIB = $(shell ${GNOME_CONFIG} --libs gnomeui) ${LDFLAGS} # # libraries for Gem port WINGEMLIB = -le_gem -lgem |