freebsd-ports/print/ansiprint/Makefile
Pawel Pekala 91721fd606 - Fix build with clang [1]
- Support stage

PR:		ports/182043 [1]
Submitted by:	maintainer
MFH:		2014Q1
2014-02-04 19:10:51 +00:00

26 lines
534 B
Makefile

# Created by: Stephen Fisher
# $FreeBSD$
PORTNAME= ansiprint
PORTVERSION= 1.0
CATEGORIES= print
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= stephenfisher@outlook.com
COMMENT= Prints through a terminal with ANSI escape sequences
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>