aboutsummaryrefslogtreecommitdiffstats
path: root/games/xlines/Makefile
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-09-17 02:11:35 +0800
committerade <ade@FreeBSD.org>2000-09-17 02:11:35 +0800
commitd7a5577f1427987aa2e367e7c287a895f5f667dd (patch)
treee599d5eed1a704dc90e2403bea313c55ec93201c /games/xlines/Makefile
parent41185b3a2c5820c12d6fde125d048a92c9b74a0b (diff)
downloadfreebsd-ports-gnome-d7a5577f1427987aa2e367e7c287a895f5f667dd.tar.gz
freebsd-ports-gnome-d7a5577f1427987aa2e367e7c287a895f5f667dd.tar.zst
freebsd-ports-gnome-d7a5577f1427987aa2e367e7c287a895f5f667dd.zip
Fix MASTER_SITES
Add procedure of converting return character PR: 21206 Submitted by: Ports Fury
Diffstat (limited to 'games/xlines/Makefile')
-rw-r--r--games/xlines/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/xlines/Makefile b/games/xlines/Makefile
index 01beb35f0508..32e110f05634 100644
--- a/games/xlines/Makefile
+++ b/games/xlines/Makefile
@@ -8,7 +8,7 @@
PORTNAME= xlines
PORTVERSION= 1.1
CATEGORIES= games
-#MASTER_SITES= ftp://ftp.trolltech.com/contrib/
+MASTER_SITES= ftp://ftp.trolltech.com/contrib/
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
@@ -17,6 +17,9 @@ USE_QT= yes
USE_X_PREFIX= yes
NO_WRKSUBDIR= yes
+pre-patch:
+ @find ${WRKSRC} -type f | xargs ${PERL} -pi -e "s|\r\n|\n|g"
+
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp