summaryrefslogtreecommitdiff
path: root/games/xlines
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-07-11 00:39:29 +0000
committerSteve Price <steve@FreeBSD.org>1998-07-11 00:39:29 +0000
commitc19c25bc81867d203c05423ce6cc0ace460fe649 (patch)
treec513637b2bc7b9a3779a49dc18e77db696e18a52 /games/xlines
parentMake this port ${PREFIX}-friendly and have it install its (diff)
Misc. updates/cleanup from maintainer.
PR: 7179 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=11819
Diffstat (limited to 'games/xlines')
-rw-r--r--games/xlines/Makefile11
-rw-r--r--games/xlines/distinfo2
-rw-r--r--games/xlines/files/patch-aa24
3 files changed, 17 insertions, 20 deletions
diff --git a/games/xlines/Makefile b/games/xlines/Makefile
index a0cd6517170a..04ec4371b7c2 100644
--- a/games/xlines/Makefile
+++ b/games/xlines/Makefile
@@ -3,7 +3,7 @@
# Date created: 11 February 1998
# Whom: Andrey Zakhvatov
#
-# $Id:$
+# $Id: Makefile,v 1.1.1.1 1998/02/13 18:08:28 vanilla Exp $
#
DISTNAME= xlines
@@ -17,18 +17,19 @@ LIB_DEPENDS= qt\\.1\\.:${PORTSDIR}/x11/qt
BUILD_DEPENDS= moc:${PORTSDIR}/x11/qt
USE_X11= yes
-WRKSRC= ${WRKDIR}
+NO_WRKSUBDIR= yes
-pre-patch:
- @ ${TR} -d "\015" < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.new
- @ ${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile
+pre-build:
+ @ ${RM} ${WRKSRC}/lines.moc
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
+.endif
.include <bsd.port.mk>
diff --git a/games/xlines/distinfo b/games/xlines/distinfo
index e49bed33b515..87bb1a6bc833 100644
--- a/games/xlines/distinfo
+++ b/games/xlines/distinfo
@@ -1 +1 @@
-MD5 (xlines.tar.gz) = 9e456bb7419b8cda6bc44ac9940913e4
+MD5 (xlines.tar.gz) = dd7ca76975023a5923e3adbfa8136995
diff --git a/games/xlines/files/patch-aa b/games/xlines/files/patch-aa
index 903d308c3f11..b2af4347e014 100644
--- a/games/xlines/files/patch-aa
+++ b/games/xlines/files/patch-aa
@@ -1,20 +1,16 @@
---- Makefile.orig Fri Feb 13 23:57:06 1998
-+++ Makefile Fri Feb 13 23:57:30 1998
+--- Makefile Mon Apr 27 21:47:35 1998
++++ /home/andy/tmp/wrk/Makefile Mon Jul 6 11:56:02 1998
@@ -1,8 +1,8 @@
-INCDIR=/usr/local/qt/include
--CFLAGS=-O2 -I/usr/X11/include
+-CFLAGS=-O2 -I/usr/X11/include -DSHOW_NEXT_COLORS
-LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11
-+INCDIR=/usr/X11R6/include/X11/qt
-+CFLAGS=-O2 -m486 -pipe -I/usr/X11R6/include
-+LFLAGS=-L/usr/X11R6/lib -lX11 -lqt
- CC=gcc
+-CC=gcc
-MOC=/usr/local/qt/bin/moc
-+MOC=/usr/X11R6/bin/moc
++INCDIR=${X11BASE}/include/X11/qt
++CFLAGS+=-I${X11BASE}/include -DSHOW_NEXT_COLORS
++LFLAGS=-L${X11BASE}/lib -lqt -lX11
++#CC=gcc
++MOC=${X11BASE}/bin/moc
SRC=lines.cpp lines.moc
- OBJECTS=lines.o
-@@ -23,3 +23,4 @@
-
- lines.moc: lines.h
- $(MOC) lines.h -o lines.moc
-+
+ OBJECTS=lines.o