2013-09-20 17:36:33 +00:00
|
|
|
# Created by: Leland Wang <llwang@infor.org>
|
2001-11-23 02:28:12 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= 54321
|
|
|
|
PORTVERSION= 1.0.2001.11.16
|
2014-02-27 09:08:43 +00:00
|
|
|
PORTREVISION= 12
|
2001-11-23 02:28:12 +00:00
|
|
|
CATEGORIES= games
|
2014-02-27 09:08:43 +00:00
|
|
|
MASTER_SITES= http://old.nklein.com/products/54321/%SUBDIR%/ \
|
|
|
|
http://www.sourcefiles.org/Games/Puzzle/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
2001-11-23 02:28:12 +00:00
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
|
2013-12-18 10:38:33 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-02-27 09:08:43 +00:00
|
|
|
COMMENT= Five games in four-, three-, or two-dimensions for one player
|
2001-11-23 02:28:12 +00:00
|
|
|
|
2014-02-27 09:08:43 +00:00
|
|
|
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
|
2001-11-23 02:28:12 +00:00
|
|
|
|
2014-07-29 19:11:51 +00:00
|
|
|
USES= gmake tar:tgz
|
2004-01-20 21:18:12 +00:00
|
|
|
USE_SDL= image sdl
|
2001-11-23 02:28:12 +00:00
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
|
|
|
|
post-extract:
|
2014-02-27 09:08:43 +00:00
|
|
|
@${MKDIR} ${WRKSRC}/archs/${OPSYS}
|
|
|
|
@${CP} ${FILESDIR}/variables.GNU ${WRKSRC}/archs/${OPSYS}
|
2001-11-23 02:28:12 +00:00
|
|
|
|
2004-08-22 12:15:01 +00:00
|
|
|
post-patch:
|
2014-02-27 09:08:43 +00: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 02:28:12 +00:00
|
|
|
|
|
|
|
do-install:
|
2014-02-27 09:08:43 +00: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 02:28:12 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|