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

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

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

WRKSRC=     ${WRKDIR}/${PORTNAME}

LIB_DEPENDS+=   jpeg.9:${PORTSDIR}/graphics/jpeg png.5:${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>