summaryrefslogtreecommitdiffstats
path: root/games/xglk/Makefile
blob: f08577920af72b46659c921d2ca724a91b7fd269 (plain)
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
# New ports collection makefile for:    xglk
# Date created:         4 February 2005
# Whom:                 Peter Pentchev <roam@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	xglk
PORTVERSION=	411
PORTREVISION=	5
CATEGORIES=	games
MASTER_SITES=	http://www.ifarchive.org/if-archive/programming/glk/implementations/
DISTNAME=	${PORTNAME}-0${PORTVERSION}
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	ports@FreeBSD.org
COMMENT=	X Windows Implementation of the Glk API

WRKSRC=		${WRKDIR}/${PORTNAME}

LIB_DEPENDS+=	jpeg.11:${PORTSDIR}/graphics/jpeg png15:${PORTSDIR}/graphics/png

USE_XORG=	x11

MAKE_ENV+=	AR=${AR} RANLIB=${RANLIB} ECHO=${ECHO} RM=${RM}

do-install:
		${MKDIR} ${PREFIX}/include/xglk
		${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/xglk/
		${INSTALL_DATA} ${WRKSRC}/libxglk.a ${PREFIX}/lib/
		${MKDIR} ${DATADIR}
		${INSTALL_DATA} ${WRKSRC}/Make.xglk ${DATADIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud