diff --git a/games/quadra/Makefile b/games/quadra/Makefile index 6573e7a9cc81..3a7da5315d58 100644 --- a/games/quadra/Makefile +++ b/games/quadra/Makefile @@ -1,42 +1,45 @@ PORTNAME= quadra PORTVERSION= 1.3.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= http://kbrandt.sdf-eu.org/FreeBSD/distfiles/ \ ftp://ftp.bsdforen.de/pub/BSDForen/distfiles/ \ http://bsd-geek.de/FreeBSD/distfiles/ MAINTAINER= kbrandt@sdf-eu.org COMMENT= Tetris like game with multiplayer support WWW= https://code.google.com/p/quadra/ +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE + LIB_DEPENDS= libpng.so:graphics/png USES= autoreconf gmake localbase sdl tar:bzip2 xorg USE_SDL= sdl USE_XORG= x11 xau xdmcp GNU_CONFIGURE= yes PLIST_FILES= bin/${PORTNAME} \ share/games/${PORTNAME}.res \ share/pixmaps/${PORTNAME}.xpm DESKTOP_ENTRIES= "Quadra" "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \ "${PORTNAME}" "BlocksGame;Game;" false # maintainer relevant make target: # Note that googlecode.com is gone. SVN_REV= 757 SVN_SRC= http://quadra.googlecode.com/svn/trunk/quadra/ maint-gen-distfile: @if [ -f ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ]; then \ ${ECHO_CMD} "ERROR: the distfile already exists."; \ ${FALSE}; \ fi svn export -r${SVN_REV} ${SVN_SRC} ${PORTNAME}-${PORTVERSION} ${TAR} cjf ${DISTDIR}/${DISTNAME}.tar.bz2 ${PORTNAME}-${PORTVERSION} ${RM} -r ${PORTNAME}-${PORTVERSION} .include diff --git a/games/quadra/files/patch-source__rules.mk b/games/quadra/files/patch-source__rules.mk index e06522efadd5..ae74283075ea 100644 --- a/games/quadra/files/patch-source__rules.mk +++ b/games/quadra/files/patch-source__rules.mk @@ -1,13 +1,13 @@ --- source/rules.mk.orig 2008-12-20 08:14:57.000000000 +0100 +++ source/rules.mk 2012-02-19 18:04:11.000000000 +0100 @@ -18,7 +18,9 @@ # # $Id: rules.mk 684 2008-12-20 07:14:57Z pphaneuf $ -source/quadra: LDLIBS+=$(SDL_LIBS) -lpng -lz -+EXT_LIBS := -lcompat # needed in FBSD for the ftime function ++EXT_LIBS := -lcompat -lutil # needed in FBSD for the ftime function + +source/quadra: LDLIBS+=$(SDL_LIBS) -lpng -lz $(EXT_LIBS) source/quadra: $(QUADRA_OBJECTS) $(SDL_MAIN_OBJ) skelton/lib/libugs_s.a quadra.res: $(shell cat resources.txt) resources.txt skelton/tools/wadder/wadder