aboutsummaryrefslogtreecommitdiffstats
path: root/games/xlines/Makefile
blob: e2de4663b05fe4b2bf1b9450e6d2281fb9f53d50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    xlines
# Version required:         1.0
# Date created:             11 February 1998
# Whom:                 Andrey Zakhvatov
#
# $Id: Makefile,v 1.6 1998/08/12 06:29:28 asami Exp $
#

DISTNAME=   xlines
PKGNAME=    xlines-1.0
CATEGORIES= games
MASTER_SITES=   ftp://risq.belcaf.minsk.by/pub/genie/

MAINTAINER= andy@icc.surw.chel.su

USE_QT=     yes
USE_X_PREFIX=   yes
NO_WRKSUBDIR=   yes

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

post-install:
.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>