aboutsummaryrefslogtreecommitdiffstats
path: root/games/six/Makefile
blob: 5c60380596e6163555b464749eedbd83bd744890 (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
# New ports collection Makefile for:    six
# Date created:             2003-0-1-26
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   six
PORTVERSION=    0.5.3
PORTREVISION=   6
CATEGORIES= games kde
MASTER_SITES=   http://six.retes.hu/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    KDE HEX clone

USE_KDELIBS_VER=3
USE_AUTOTOOLS=  libtool:22
USE_GETTEXT=    yes
INSTALLS_ICONS= yes

post-patch:
    @${REINPLACE_CMD} -e 's,-O2,,g ; \
         s,-pedantic,,g ; \
         s,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e \
        's,-lkdeprint$$,$$(LIB_KDEPRINT) $$(LIBPTHREAD),g' \
        ${WRKSRC}/six/Makefile.in
    @${REINPLACE_CMD} -e \
        's,<machine/limits.h>,<limits.h>,g' ${WRKSRC}/six/batch.h

.include <bsd.port.mk>