aboutsummaryrefslogtreecommitdiff
path: root/games/xlines/Makefile
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/Makefile
parent4b2153bbb8c72c22cb9f43ec6e817f7b1289772d (diff)
Notes
Diffstat (limited to 'games/xlines/Makefile')
-rw-r--r--games/xlines/Makefile11
1 files changed, 6 insertions, 5 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>