aboutsummaryrefslogtreecommitdiffstats
path: root/print/ansiprint/Makefile
blob: d38cad6389433c0d947fbcbadf9cfafdd4b8735c (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
30
31
32
# New ports collection makefile for:   ansiprint
# Date created:             28 May 2006
# Whom:                 stephentfisher@yahoo.com
#
# $FreeBSD$
#

PORTNAME=       ansiprint
PORTVERSION=        1.0
CATEGORIES=     print
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=       ${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=       .tgz

MAINTAINER=     stephentfisher@yahoo.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} ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>