aboutsummaryrefslogtreecommitdiffstats
path: root/misc/alevt/Makefile
blob: f3ecdac9b3b8575140fa14abaa8d40d4e57204cd (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=   1
CATEGORIES= misc
MASTER_SITES=   http://www.goron.de/~froese/alevt/

MAINTAINER= ports@FreeBSD.org
COMMENT=    X11 Teletext decoding and display program. (reads from /dev/vbi)

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} $(PREFIX)/share/alevt
    ${INSTALL_DATA} ${WRKSRC}/contrib/mini-alevt.xpm $(PREFIX)/share/alevt
    ${INSTALL_DATA} ${WRKSRC}/contrib/icon-old.xbm $(PREFIX)/share/alevt
    ${INSTALL_DATA} ${WRKSRC}/contrib/icon48x48.xpm $(PREFIX)/share/alevt
    ${INSTALL_DATA} ${WRKSRC}/contrib/icon54x60.xpm $(PREFIX)/share/alevt

.include <bsd.port.post.mk>