1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/games/defendguin/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +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= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.billsgames.com/unix/x/defendguin/src/
MAINTAINER= ports@FreeBSD.org
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>