1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/games/xlines/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

39 lines
975 B
Makefile

# New ports collection makefile for: xlines
# Date created: 11 February 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= xlines
PORTVERSION= 1.1
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= ftp://ftp.trolltech.com/contrib/
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Remove as many balls from board as you can
USE_QT_VER= 3
NO_WRKSUBDIR= yes
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
pre-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s|`/usr/bin/printf '\r'`||g"
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xlines ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/xlines
${INSTALL_DATA} ${WRKSRC}/trolltech.gif ${PREFIX}/share/xlines
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/readme.lines ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/readme.qt ${DOCSDIR}
.endif
.include <bsd.port.mk>