2013-09-20 19:36:33 +02:00
|
|
|
# Created by: Leland Wang <llwang@infor.org>
|
2001-11-23 03:28:12 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= 54321
|
|
|
|
PORTVERSION= 1.0.2001.11.16
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 15
|
2001-11-23 03:28:12 +01:00
|
|
|
CATEGORIES= games
|
2014-10-24 19:00:22 +02:00
|
|
|
MASTER_SITES= http://old.nklein.com/products/54321/${PORTVERSION}/ \
|
2014-02-27 10:08:43 +01:00
|
|
|
http://www.sourcefiles.org/Games/Puzzle/
|
2001-11-23 03:28:12 +01:00
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
|
2013-12-18 11:38:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-02-27 10:08:43 +01:00
|
|
|
COMMENT= Five games in four-, three-, or two-dimensions for one player
|
2001-11-23 03:28:12 +01:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
2001-11-23 03:28:12 +01:00
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= gmake tar:tgz
|
2004-01-20 22:18:12 +01:00
|
|
|
USE_SDL= image sdl
|
2001-11-23 03:28:12 +01:00
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
|
|
|
|
post-extract:
|
2014-02-27 10:08:43 +01:00
|
|
|
@${MKDIR} ${WRKSRC}/archs/${OPSYS}
|
|
|
|
@${CP} ${FILESDIR}/variables.GNU ${WRKSRC}/archs/${OPSYS}
|
2001-11-23 03:28:12 +01:00
|
|
|
|
2004-08-22 14:15:01 +02:00
|
|
|
post-patch:
|
2014-02-27 10:08:43 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|ARCH|OPSYS| ; \
|
|
|
|
s|:= -O|+=|' ${WRKSRC}/GNUmakefile
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|SDL_main|main| ; \
|
|
|
|
s|../../data/|${DATADIR}/data/|' ${WRKSRC}/code/*.cpp
|
2001-11-23 03:28:12 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-02-27 10:08:43 +01:00
|
|
|
(cd ${WRKSRC}/Release/bin/${OPSYS} && ${INSTALL_PROGRAM} 54321 \
|
|
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/data
|
|
|
|
(cd ${WRKSRC}/Release/data && ${INSTALL_DATA} * \
|
|
|
|
${STAGEDIR}${DATADIR}/data)
|
2001-11-23 03:28:12 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|