freebsd-ports/games/easysok/Makefile
Kirill Ponomarev 61eeb92bf8 Fix build on amd64/ia64
PR:		ports/74729
Submitted by:	Ports Fury
2004-12-05 18:31:13 +00:00

35 lines
770 B
Makefile

# New ports collection makefile for: easysok
# Date created: 15 May 2003
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
PORTNAME= easysok
PORTVERSION= 0.3.4
CATEGORIES= games kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A sokoban game for KDE3
USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
.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>