aboutsummaryrefslogtreecommitdiffstats
path: root/misc/boxes/Makefile
blob: 672b9d8151f404d7fe17fbb761adc1f80f3f3417 (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
33
# New ports collection makefile for:    boxes
# Date created:             3 March 2000
# Whom:                 Patrick Seal (patseal@hyperhost.net)
#
# $FreeBSD$
#

PORTNAME=   boxes
PORTVERSION=    1.0.1
CATEGORIES= misc
MASTER_SITES=   http://boxes.thomasjensen.com/download/ \
        ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= utils/text
EXTRACT_SUFX=   .src.tar.gz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Draws ASCII-art configurable boxes around text or code

MAN1=       boxes.1
USE_GMAKE=  yes
USE_BISON=  yes
ALL_TARGET= boxes
MAKE_ARGS=  GLOBALCONF=${GLOBALCONF} CFLAGS_ADDTL="${CFLAGS}"

GLOBALCONF= ${PREFIX}/share/boxes/boxes-config

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/boxes ${PREFIX}/bin
    ${MKDIR} ${PREFIX}/share/boxes
    ${INSTALL_DATA} ${WRKSRC}/boxes-config ${PREFIX}/share/boxes
    ${INSTALL_MAN} ${WRKSRC}/doc/$(MAN1) ${PREFIX}/man/man1

.include <bsd.port.mk>