aboutsummaryrefslogtreecommitdiffstats
path: root/games/easysok/Makefile
blob: 7f531c1f5dbf9b01778874ab57bb4967a9b14216 (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
# New ports collection makefile for:    easysok
# Date created:             15 May 2003
# Whom:                 Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$

PORTNAME=   easysok
PORTVERSION=    0.3.5
PORTREVISION=   8
CATEGORIES= games kde
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION}-kde3

MAINTAINER= ports@FreeBSD.org
COMMENT=    A sokoban game for KDE3

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE=    2013-07-01

USE_BZIP2=  yes
USE_KDELIBS_VER=3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+=    -fPIC
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|-O2||g ; \
         s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
    @${REINPLACE_CMD} -e \
        's|-lkdeprint|$$(LIB_KDEPRINT) $$(LIBPTHREAD)|g' \
            ${WRKSRC}/src/Makefile.in

.include <bsd.port.post.mk>