aboutsummaryrefslogtreecommitdiffstats
path: root/games/sol/Makefile
blob: ca8dc2c21754b7f659dda520af23757c35a0ea79 (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
36
37
38
39
40
# New ports collection makefile for:    sol
# Version required:         1.0.6
# Date created:             12 April 1998
# Whom:                 Andrey Zakhvatov
#
# $Id: Makefile,v 1.1.1.1 1999/05/01 02:02:40 taoka Exp $
#

DISTNAME=   sol-1.0.6
CATEGORIES= games
MASTER_SITES=   http://home.sol.no/~sverrehu/pub-unix/files/

MAINTAINER= andy@icc.surw.chel.su

LIB_DEPENDS=    Xpm.4:${PORTSDIR}/graphics/xpm \
        shhopt.1:${PORTSDIR}/devel/libshhopt \
        shhmsg.1:${PORTSDIR}/devel/libshhmsg \
        xalloc.1:${PORTSDIR}/devel/libxalloc \
        shhcards.1:${PORTSDIR}/games/libshhcards

USE_GMAKE=  yes
USE_X_PREFIX=   yes

MAN6=       sol.6

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/sol ${PREFIX}/bin
    @ ${MKDIR} ${PREFIX}/share/sol
    @ ${INSTALL_DATA} ${WRKSRC}/sol.score ${PREFIX}/share/sol
    @ ${INSTALL_MAN} ${WRKSRC}/sol.6 ${PREFIX}/man/man6
    @ ${MKDIR} ${PREFIX}/share/doc/sol
    @ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/sol
    @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sol
    @ ${CHOWN} games:games ${PREFIX}/bin/sol
    @ ${CHOWN} games:games ${PREFIX}/share/sol/sol.score
    @ ${CHMOD} 6755 ${PREFIX}/bin/sol
    @ ${CHMOD} 770 ${PREFIX}/share/sol
    @ ${CHMOD} 660 ${PREFIX}/share/sol/sol.score

.include <bsd.port.mk>