aboutsummaryrefslogtreecommitdiffstats
path: root/games/zoom/Makefile
blob: c67f91ffd1034bafca7e8a939708bc00c30b6694 (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
35
36
37
38
39
40
41
# New ports collection makefile for:    zoom
# Date created:             May 07 2003
# Whom:                 Jan Stocker <Jan.Stocker@t-online.de>
#
# $FreeBSD$
#

PORTNAME=   zoom
PORTVERSION=    1.0.1a
CATEGORIES= games
MASTER_SITES=   http://www.logicalshift.demon.co.uk/unix/${PORTNAME}/
DISTFILES=  ${DISTFILE_SRC} ${DISTFILE_PATCH}
EXTRACT_ONLY=   ${DISTFILE_SRC}

MAINTAINER= Jan.Stocker@t-online.de
COMMENT=    Z-Interpreter for X with full V6 support

LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png

NOT_FOR_ARCHS=  sparc64

USE_PERL5=  yes
USE_XLIB=   yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

DISTFILE_SRC=   ${PORTNAME}-1.0.1.tar.gz
DISTFILE_PATCH= zoom-1.0.1-1.0.1a.patch
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

CONFIGURE_ENV=  CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"

MAKE_ENV=   ${CONFIGURE_ENV}

post-extract:
    ${MV} ${WRKDIR}/${PORTNAME}-1.0.1 ${WRKSRC}
    @cd ${WRKDIR} && \
        ${PATCH} < ${DISTDIR}/${DISTFILE_PATCH}

.include <bsd.port.mk>