1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/defendguin/Makefile
Marcus von Appen 6506e45d69 - Update devel/sdl12 to version 1.2.14.
- Update audio/sdl_mixer to version 1.2.11.
- Update graphics/sdl_gfx to version 2.0.20.
- Update graphics/sdl_image to version 1.2.10.
- Bump portrevisions for all ports depending on audio/sdl_mixer and
  graphics/sdl_image.
- Update Mk/bsd.sdl.mk accordingly for the new shared lib versions.

PR:		ports/142147 ports/142248 ports/142249
Approved by:	miwi (mentor implicit)
2010-01-30 09:43:31 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: defendguin
# Date created: 8 February 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= defendguin
PORTVERSION= 0.0.12
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ftp://ftp.billsgames.com/unix/x/defendguin/src/
MAINTAINER= glen.j.barber@gmail.com
COMMENT= Another shoot-the-Bill game
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_SDL= mixer sdl
PLIST_FILES= bin/defendguin
MAN6= defendguin.6
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -DDATA_PREFIX=\"${DATADIR}/\" \
`${SDL_CONFIG} --cflags` defendguin.c -o defendguin \
`${SDL_CONFIG} --libs` -lSDL_mixer
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/defendguin ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/defendguin.6 ${MAN6PREFIX}/man/man6
@${MKDIR} ${DATADIR}
${TAR} -C ${WRKSRC}/../data -cf - . | \
${TAR} -C ${DATADIR} --unlink -xf -
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
post-install:
@${FIND} ${DATADIR} ! -type d | ${SED} \
-e "s,${PREFIX}/,," >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | ${SED} \
-e "s,${PREFIX}/,@dirrm ," >> ${TMPPLIST}
.include <bsd.port.mk>