aboutsummaryrefslogtreecommitdiffstats
path: root/games/xcogitate/Makefile
blob: 86141b6c511dc0fc22b0d6352fe237011b250d3e (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
# New ports collection makefile for:    xcogitate
# Date created:             15 March 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   xcogitate
PORTVERSION=    1.02
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= mph

MAINTAINER= ports@FreeBSD.org
COMMENT=    A logic game with board and stones

PLIST_FILES=    bin/xcogitate
USE_X_PREFIX=   yes
USE_XPM=    yes
WRKSRC=     ${WRKDIR}/XCOGITATE_SOURCE

do-build:
    cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include -o xcogitate xcogitate.c -L${X11BASE}/lib -lX11 -lXpm

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/xcogitate ${PREFIX}/bin

.include <bsd.port.mk>