blob: e198d2423cf10d2e5140d82777673b78d4a946e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# New ports collection Makefile for: stroq
# Date created: 13 Jan 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
PORTNAME= stroq
PORTVERSION= 0.2
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= stroq
MAINTAINER= amdmi3@amdmi3.ru
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}"
QMAKE= qmake
QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
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
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
.include <bsd.port.mk>
|