1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/devel/cccc/Makefile
Satoshi Asami dbc8aa6cc1 Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
1998-11-11 05:37:39 +00:00

41 lines
1.0 KiB
Makefile

# 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>