1998-02-13 18:08:30 +00:00
|
|
|
# New ports collection makefile for: xlines
|
|
|
|
# Date created: 11 February 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1998-02-13 18:08:30 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= xlines
|
2000-07-12 22:47:22 +00:00
|
|
|
PORTVERSION= 1.1
|
1998-07-27 23:25:33 +00:00
|
|
|
CATEGORIES= games
|
2000-09-16 18:11:35 +00:00
|
|
|
MASTER_SITES= ftp://ftp.trolltech.com/contrib/
|
2000-04-14 12:28:40 +00:00
|
|
|
DISTNAME= ${PORTNAME}
|
1998-02-13 18:08:30 +00:00
|
|
|
|
2000-03-29 07:19:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-02-13 18:08:30 +00:00
|
|
|
|
1998-08-12 06:29:36 +00:00
|
|
|
USE_QT= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-07-11 00:39:29 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
1998-02-13 18:08:30 +00:00
|
|
|
|
2000-09-16 18:11:35 +00:00
|
|
|
pre-patch:
|
|
|
|
@find ${WRKSRC} -type f | xargs ${PERL} -pi -e "s|\r\n|\n|g"
|
|
|
|
|
2000-06-22 09:34:45 +00:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
|
1999-05-03 02:13:37 +00:00
|
|
|
|
2000-06-22 09:34:45 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xlines ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${PREFIX}/share/xlines
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/trolltech.gif ${PREFIX}/share/xlines
|
1998-07-11 00:39:29 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-06-22 09:34:45 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/xlines
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/readme.lines ${PREFIX}/share/doc/xlines
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/readme.qt ${PREFIX}/share/doc/xlines
|
1998-07-11 00:39:29 +00:00
|
|
|
.endif
|
1998-02-13 18:08:30 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|