1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/54321/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: 54321
# Date created: 22 November 2001
# Whom: Leland Wang <llwang@infor.org>
#
# $FreeBSD$
#
PORTNAME= 54321
PORTVERSION= 1.0.2001.11.16
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.nklein.com/products/54321/${PORTVERSION}/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= llwang@infor.org
COMMENT= 54321 is five games in four-, three-, or two-dimensions for one player
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_SDL= image sdl
USE_GMAKE= yes
MAKEFILE= GNUmakefile
ALL_TARGET= all size
post-extract:
@${MKDIR} ${WRKSRC}/archs/FreeBSD
@${CP} ${FILESDIR}/variables.GNU ${WRKSRC}/archs/FreeBSD
post-patch:
${REINPLACE_CMD} -e "s,ARCH,OPSYS," ${WRKSRC}/GNUmakefile
post-build:
@${SED} -e "s;@PREFIX@;${PREFIX};g" \
${FILESDIR}/54321.sh > ${WRKSRC}/54321
do-install:
@${MKDIR} ${PREFIX}/share/54321/bin/FreeBSD
@${MKDIR} ${PREFIX}/share/54321/data
@${CHMOD} -R 755 ${PREFIX}/share/54321
@${INSTALL_PROGRAM} ${WRKSRC}/Release/bin/FreeBSD/54321 ${PREFIX}/share/54321/bin/FreeBSD
@${INSTALL_DATA} ${WRKSRC}/Release/data/* ${PREFIX}/share/54321/data
@${INSTALL_SCRIPT} ${WRKSRC}/54321 ${PREFIX}/bin
.include <bsd.port.mk>