aboutsummaryrefslogtreecommitdiffstats
path: root/misc/biosfont-demos/Makefile
blob: 0318368f246e05b3f06541cf74253bce7583b740 (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: rene
# $FreeBSD$

PORTNAME=   biosfont-demos
PORTVERSION=    1.1
PORTREVISION=   2
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_LOCAL}
#MASTER_SITES+= ftp://rene-ladan.nl/pub/distfiles/
MASTER_SITE_SUBDIR=rene

MAINTAINER= rene@FreeBSD.org
COMMENT=    Demos for the biosfont kernel module

LICENSE=    BSD2CLAUSE

BUILD_DEPENDS=  ${LOCALBASE}/include/biosfont.h:${PORTSDIR}/sysutils/biosfont
RUN_DEPENDS=    /boot/modules/biosfont.ko:${PORTSDIR}/sysutils/biosfont

PLIST_FILES=    bin/show_char bin/showdati

do-build:
    ${CC} ${CFLAGS} ${WRKSRC}/showchar.c -o ${WRKSRC}/show_char -I${LOCALBASE}/include
    ${CC} ${CFLAGS} ${WRKSRC}/showdati.c -o ${WRKSRC}/showdati -I${LOCALBASE}/include -lcurses

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/show_char ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/showdati ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>