2006-01-14 22:32:13 +00:00
|
|
|
# New ports collection Makefile for: stroq
|
|
|
|
# Date created: 13 Jan 2005
|
2006-12-21 20:41:33 +00:00
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2006-01-14 22:32:13 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= stroq
|
|
|
|
PORTVERSION= 0.2
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 6
|
2006-01-14 22:32:13 +00:00
|
|
|
CATEGORIES= games
|
2009-08-22 00:23:13 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20sources
|
2006-01-14 22:32:13 +00:00
|
|
|
|
2008-06-19 17:28:24 +00:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2006-01-14 22:32:13 +00:00
|
|
|
COMMENT= Flip tiles to make rows of the same color
|
|
|
|
|
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_QT_VER= 3
|
|
|
|
MAKE_ENV= QTDIR="${QT_PREFIX}"
|
2009-04-03 00:58:09 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2006-01-14 22:32:13 +00:00
|
|
|
|
|
|
|
QMAKE= qmake
|
|
|
|
QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
|
|
|
|
2009-04-03 00:58:09 +00:00
|
|
|
PLIST_FILES= bin/stroq
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2006-09-30 11:18:08 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|PlaySquare::||' ${WRKSRC}/playsquare.h
|
|
|
|
${REINPLACE_CMD} -e 's|Puzzle::||' ${WRKSRC}/puzzle.h
|
|
|
|
${REINPLACE_CMD} -e 's|Square::||' ${WRKSRC}/square.h
|
|
|
|
${REINPLACE_CMD} -e 's|SelectPuzzleDialog::||' ${WRKSRC}/selectpuzzledialog.h
|
|
|
|
|
2006-01-14 22:32:13 +00:00
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC}; \
|
|
|
|
${SETENV} ${MAKE_ENV} ${QMAKE} -project; \
|
|
|
|
${SETENV} ${MAKE_ENV} QMAKESPEC=${QMAKESPEC} ${QMAKE}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${PORTVERSION} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2007-10-04 01:02:44 +00:00
|
|
|
.include <bsd.port.mk>
|