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

PORTNAME=   biosfont-demos
PORTVERSION=    1.1
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   ftp://rene-ladan.nl/pub/distfiles/

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

LICENSE=    BSD

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

PLIST_FILES=    bin/showchar bin/showdati

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

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

.include <bsd.port.mk>