1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/quadra/Makefile
Vanilla I. Shu cca15b1fe2 Stagify.
Approved by:	portmgr@
2014-06-15 16:06:35 +00:00

49 lines
1.3 KiB
Makefile

# Created by: Karsten Brandt <kbrandt@sdf-eu.org>
# $FreeBSD$
PORTNAME= quadra
PORTVERSION= 1.3.0
PORTREVISION= 3
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
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
USES= gmake tar:bzip2
USE_SDL= sdl
USE_XORG= x11 xau xdmcp
USE_AUTOTOOLS= autoconf autoheader
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include/libpng15
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/${PORTNAME} \
share/games/${PORTNAME}.res \
share/pixmaps/${PORTNAME}.xpm
PLIST_DIRSTRY= share/games
DESKTOP_ENTRIES= "Quadra" "${COMMENT}" \
"${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
"${PORTNAME}" "BlocksGame;Game;" false
# maintainer relevant make target:
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} -rf ${PORTNAME}-${PORTVERSION}
.include <bsd.port.mk>