aboutsummaryrefslogtreecommitdiffstats
path: root/misc/biosfont-demos/Makefile
blob: eece03828a34a3ea05355bdcc0ffa826d814b783 (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
# New ports collection makefile for:    biosfont-demos
# Date created:             30 June 2006
# Whom:                 Rene Ladan <r.c.ladan@gmail.com>
#
# $FreeBSD$
#

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

MAINTAINER= r.c.ladan@gmail.com
COMMENT=    Demos for the biosfont kernel module

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

PLIST_FILES=    bin/showchar bin/showdati

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>