Tweak print/jabref version 3.3,1
[dports.git] / games / quadra / Makefile
1 # Created by: Karsten Brandt <kbrandt@sdf-eu.org>
2 # $FreeBSD$
3
4 PORTNAME=       quadra
5 PORTVERSION=    1.3.0
6 PORTREVISION=   6
7 CATEGORIES=     games
8 MASTER_SITES=   http://kbrandt.sdf-eu.org/FreeBSD/distfiles/ \
9                 ftp://ftp.bsdforen.de/pub/BSDForen/distfiles/ \
10                 http://bsd-geek.de/FreeBSD/distfiles/
11
12 MAINTAINER=     kbrandt@sdf-eu.org
13 COMMENT=        Tetris like game with multiplayer support
14
15 LIB_DEPENDS=    libpng.so:graphics/png
16
17 USES=           autoreconf gmake localbase tar:bzip2
18 USE_SDL=        sdl
19 USE_XORG=       x11 xau xdmcp
20 GNU_CONFIGURE=  yes
21
22 PLIST_FILES=    bin/${PORTNAME} \
23                 share/games/${PORTNAME}.res \
24                 share/pixmaps/${PORTNAME}.xpm
25
26 DESKTOP_ENTRIES=        "Quadra" "${COMMENT}" \
27                         "${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
28                         "${PORTNAME}" "BlocksGame;Game;" false
29
30 # maintainer relevant make target:
31 SVN_REV=        757
32 SVN_SRC=        http://quadra.googlecode.com/svn/trunk/quadra/
33
34 maint-gen-distfile:
35         @if [ -f ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ]; then \
36                 ${ECHO_CMD} "ERROR: the distfile already exists."; \
37                 ${FALSE}; \
38         fi
39         svn export -r${SVN_REV} ${SVN_SRC} ${PORTNAME}-${PORTVERSION}
40         ${TAR} cjf ${DISTDIR}/${DISTNAME}.tar.bz2 ${PORTNAME}-${PORTVERSION}
41         ${RM} -rf ${PORTNAME}-${PORTVERSION}
42
43 .include <bsd.port.mk>