aboutsummaryrefslogtreecommitdiffstats
path: root/games/xglk/Makefile
blob: da5ca877bd6e2a791a05349d18da290ca547bbe5 (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
# Created by: Peter Pentchev <roam@FreeBSD.org>
# $FreeBSD$

PORTNAME=   xglk
PORTVERSION=    411
PORTREVISION=   6
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

LIB_DEPENDS+=   libpng.so:graphics/png

WRKSRC=     ${WRKDIR}/${PORTNAME}

USES=       jpeg
USE_XORG=   x11
MAKE_ENV+=  AR=${AR} RANLIB=${RANLIB} ECHO=${ECHO} RM=${RM:Q}

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

.include <bsd.port.mk>