aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cccc/Makefile
blob: 2a9b6b236139ba7fbcf4222896271a6f5d20903f (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
36
37
38
39
40
# New ports collection makefile for:    cccc
# Version required:         2.1.1
# Date created:             12 September 1997
# Whom:                 Andrey Zakhvatov
#
# $Id: Makefile,v 1.4 1998/10/12 15:54:23 jseger Exp $
#

DISTNAME=       cccc-2.1.1.src
PKGNAME=        cccc-2.1.1
CATEGORIES=     devel textproc www
MASTER_SITES=       ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= devel/lang/c++

MAINTAINER=     andy@icc.surw.chel.su

BUILD_DEPENDS=      antlr:${PORTSDIR}/devel/pccts \
            dlg:${PORTSDIR}/devel/pccts

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 300000
BROKEN=     signal.h:163: syntax error
.endif

WRKSRC=         ${WRKDIR}/usr/local/src/cccc-2.1.1
USE_GMAKE=      yes
MAKEFILE=       makefile
MAKE_ENV=       OSTYPE=FreeBSD

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/cccc ${PREFIX}/bin
    @ ${MKDIR} ${PREFIX}/share/cccc
.for file in cccc_inf.dat cccc_met.dat cccc_tmt.dat cccc_ug.htm
    @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/cccc
.endfor
    @ ${MKDIR} ${PREFIX}/share/doc/cccc
    @ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/cccc

.include <bsd.port.post.mk>