aboutsummaryrefslogtreecommitdiffstats
path: root/games/xcogitate/Makefile
blob: 6f87906cd99aa782f0d3b5dc912a26fc123daa80 (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
# New ports collection makefile for:    xcogitate
# Version required:         1.02
# Date created:             15 March 1998
# Whom:                 Andrey Zakhvatov
#
# $Id: Makefile,v 1.1.1.1 1998/04/27 14:34:05 mph Exp $
#

DISTNAME=   xcogitate-1.02
CATEGORIES= games x11
MASTER_SITES=   http://www.freebsd.org/~mph/distfiles/

MAINTAINER= andy@icc.surw.chel.su

LIB_DEPENDS=    Xpm\\.4\\.:${PORTSDIR}/graphics/xpm

USE_X11=    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>