aboutsummaryrefslogtreecommitdiff
path: root/print/ansiprint/Makefile
blob: 90177441f38c1a949b23e5c0182e7b13ee41b5b3 (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
# Created by: Stephen Fisher

PORTNAME=	ansiprint
PORTVERSION=	1.0
CATEGORIES=	print
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Prints through a terminal with ANSI escape sequences

USES=		tar:tgz
PLIST_FILES=	bin/${PORTNAME}
CXXFLAGS+=	-Wno-deprecated

post-extract:
	@${RM} ${WRKSRC}/Makefile

do-build:
	cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} ansiprint.cc

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>