aboutsummaryrefslogtreecommitdiffstats
path: root/misc/boxes/Makefile
blob: 9747271d1a7a59501cf8eb0560853b4c6426cdf5 (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
34
35
# 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://www6.informatik.uni-erlangen.de/~tsjensen/software/boxes/download/ \
        ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= utils/text
EXTRACT_SUFX=   .src.tar.gz

MAINTAINER= patseal@hyperhost.net

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-patch:
    ${TOUCH} ${WRKSRC}/Makefile

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>