aboutsummaryrefslogtreecommitdiff
path: root/games/cursive/Makefile
blob: d704a45efe4ee5671c1268ac1e31fdaa3f683880 (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
PORTNAME=	cursive
PORTVERSION=	0.11
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	games
MASTER_SITES=	https://www.unixpapa.com/software/
DISTNAME=	${PORTNAME}

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Create ASCII character cursive handwriting
WWW=		https://www.unixpapa.com/cursive.html

USES=		tar:tgz
NO_WRKSUBDIR=	yes

PLIST_FILES=	bin/cursive \
		share/man/man6/cursive.6.gz

do-build:
	${CC} ${CFLAGS} -c ${WRKSRC}/cursive.c -o ${WRKSRC}/cursive.o
	${CC} ${CFLAGS} -c ${WRKSRC}/font.c -o ${WRKSRC}/font.o
	${CC} ${CFLAGS} -o ${WRKSRC}/cursive ${WRKSRC}/cursive.o ${WRKSRC}/font.o

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/cursive ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/cursive.6 ${STAGEDIR}${PREFIX}/share/man/man6

.include <bsd.port.mk>