aboutsummaryrefslogtreecommitdiffstats
path: root/games/xlines/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-22 17:34:45 +0800
committersobomax <sobomax@FreeBSD.org>2000-06-22 17:34:45 +0800
commit4c391d45da8eb16e6a37a331daa4d688b9d1fa23 (patch)
treeca3a84478cfaadf1c906cfe843e0615604b69c9d /games/xlines/Makefile
parent45f3d4f1291adfa2113fce83a662880027948b61 (diff)
downloadfreebsd-ports-gnome-4c391d45da8eb16e6a37a331daa4d688b9d1fa23.tar.gz
freebsd-ports-gnome-4c391d45da8eb16e6a37a331daa4d688b9d1fa23.tar.zst
freebsd-ports-gnome-4c391d45da8eb16e6a37a331daa4d688b9d1fa23.zip
- Fix MASTER_SITES
- Support PREFIX properly PR: 19223 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'games/xlines/Makefile')
-rw-r--r--games/xlines/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/games/xlines/Makefile b/games/xlines/Makefile
index c1696ceb0369..433b21cdb28e 100644
--- a/games/xlines/Makefile
+++ b/games/xlines/Makefile
@@ -8,7 +8,7 @@
PORTNAME= xlines
PORTVERSION= 1.0
CATEGORIES= games
-MASTER_SITES= ftp://risq.belcaf.minsk.by/pub/genie/
+MASTER_SITES= ftp://ftp.trolltech.com/contrib/
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
@@ -17,19 +17,20 @@ USE_QT= yes
USE_X_PREFIX= yes
NO_WRKSUBDIR= yes
-pre-build:
- @ ${RM} ${WRKSRC}/lines.moc
+post-extract:
+ @${RM} ${WRKSRC}/lines.moc
-do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/xlines ${PREFIX}/bin
- @ ${MKDIR} ${PREFIX}/share/xlines
- @ ${INSTALL_DATA} ${WRKSRC}/trolltech.gif ${PREFIX}/share/xlines
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
-post-install:
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xlines ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/share/xlines
+ ${INSTALL_DATA} ${WRKSRC}/trolltech.gif ${PREFIX}/share/xlines
.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/xlines
- @ ${INSTALL_DATA} ${WRKSRC}/readme.lines ${PREFIX}/share/doc/xlines
- @ ${INSTALL_DATA} ${WRKSRC}/readme.qt ${PREFIX}/share/doc/xlines
+ @${MKDIR} ${PREFIX}/share/doc/xlines
+ ${INSTALL_DATA} ${WRKSRC}/readme.lines ${PREFIX}/share/doc/xlines
+ ${INSTALL_DATA} ${WRKSRC}/readme.qt ${PREFIX}/share/doc/xlines
.endif
.include <bsd.port.mk>