aboutsummaryrefslogtreecommitdiffstats
path: root/misc/alevt/Makefile
blob: 9216db6eb1815553f06dc37f1bc2942556716b36 (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
42
43
44
45
46
47
# New ports collection makefile for:    AleVT
# Date created:             Wed Aug 18 13:23:00 BST 1999
# Whom:                 Roger Hardiman <roger@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   alevt
PORTVERSION=    1.6.1
PORTREVISION=   2
CATEGORIES= misc
MASTER_SITES=   http://www.goron.de/~froese/alevt/

MAINTAINER= ports@FreeBSD.org
COMMENT=    X11 teletext decoding and display program

OPTIONS=    PNG     "Export pages as PNG image" on \
        SMALLFONT   "Use a smaller and thiner font" off

USE_X_PREFIX=   yes
MAN1=       alevt.1x alevt-date.1 alevt-cap.1

.include <bsd.port.pre.mk>

.if defined(WITH_PNG)
LIB_DEPENDS+=   png.5:${PORTSDIR}/graphics/png
MAKE_ARGS+= -DWITH_PNG
.endif

.if defined(WITH_SMALLFONT)
MAKE_ARGS+= -DWITH_SMALLFONT
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/alevt ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/alevt-date ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/alevt-cap ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/alevt.1x ${PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/alevt-date.1 ${PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/alevt-cap.1 ${PREFIX}/man/man1
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/contrib/mini-alevt.xpm ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/contrib/icon-old.xbm ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/contrib/icon48x48.xpm ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/contrib/icon54x60.xpm ${DATADIR}

.include <bsd.port.post.mk>