2007-09-18 04:48:52 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: pcc
|
|
|
|
# Date created: Mon Sept 17, 2007
|
|
|
|
# Whom: David O'Brien (obrien@NUXI.org)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pcc
|
2011-04-06 22:16:41 +02:00
|
|
|
PORTVERSION= 1.0.0
|
|
|
|
PORTREVISION= 0
|
2007-09-18 04:48:52 +02:00
|
|
|
CATEGORIES= lang
|
2011-04-06 22:16:41 +02:00
|
|
|
MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc-releases/ \
|
|
|
|
http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/ \
|
|
|
|
ftp://226.net120.skekraft.net/pcc-releases/
|
|
|
|
DISTNAME= pcc-${PORTVERSION}
|
2007-09-18 04:48:52 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2010-09-08 01:13:58 +02:00
|
|
|
MAINTAINER= joel@FreeBSD.org
|
2011-04-06 22:16:41 +02:00
|
|
|
COMMENT= The Portable C Compiler
|
2010-11-16 20:09:56 +01:00
|
|
|
|
2009-09-23 11:20:17 +02:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2007-09-18 04:48:52 +02:00
|
|
|
|
2011-04-06 22:16:41 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2007-09-19 15:23:36 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2010-11-23 11:07:54 +01:00
|
|
|
CONFIGURE_ENV= YACC=${YACC}
|
2007-09-19 15:23:36 +02:00
|
|
|
USE_GMAKE= yes
|
2007-09-18 04:48:52 +02:00
|
|
|
|
2010-11-23 11:07:54 +01:00
|
|
|
MAN1= ccom.1 cpp.1 pcc.1
|
2008-12-30 04:29:35 +01:00
|
|
|
PLIST_FILES= bin/pcc libexec/ccom libexec/cpp
|
|
|
|
|
2007-09-18 04:48:52 +02:00
|
|
|
pre-configure:
|
|
|
|
${MKDIR} ${WRKSRC}/os/freebsd
|
2008-12-30 04:29:35 +01:00
|
|
|
${CP} ${FILESDIR}/*.h ${WRKSRC}/os/freebsd
|
2010-11-23 11:07:54 +01:00
|
|
|
${REINPLACE_CMD} -e "s,%%OSVERMAJOR%%,${OSREL:R}," \
|
2008-12-30 04:29:35 +01:00
|
|
|
${WRKSRC}/os/freebsd/ccconfig.h
|
2007-09-18 04:48:52 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|