summaryrefslogtreecommitdiff
path: root/games/xcogitate/Makefile
blob: 5a6e77df4a181c0be20a6893a185bb8b20e9fd76 (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
# New ports collection makefile for:	xcogitate
# Version required:			1.02
# Date created:				15 March 1998
# Whom:					Andrey Zakhvatov
#
# $Id$
#

DISTNAME=	xcogs
PKGNAME=	xcogitate-1.02
CATEGORIES=	games x11
# Fetch truncates the file when retrieved from...
# MASTER_SITES=	http://www.pff-software.demon.nl/archive/
MASTER_SITES=	${MASTER_SITE_LOCAL}

MAINTAINER=	andy@icc.surw.chel.su

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

BROKEN=		Waiting for distfile to be moved to MASTER_SITE_LOCAL

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>