mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
ff1369f7a1
PR: ports/156124 Submitted by: joel
39 lines
889 B
Makefile
39 lines
889 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: pcc
|
|
# Date created: Mon Sept 17, 2007
|
|
# Whom: David O'Brien (obrien@NUXI.org)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pcc
|
|
PORTVERSION= 1.0.0
|
|
PORTREVISION= 0
|
|
CATEGORIES= lang
|
|
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}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= joel@FreeBSD.org
|
|
COMMENT= The Portable C Compiler
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= YACC=${YACC}
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= ccom.1 cpp.1 pcc.1
|
|
PLIST_FILES= bin/pcc libexec/ccom libexec/cpp
|
|
|
|
pre-configure:
|
|
${MKDIR} ${WRKSRC}/os/freebsd
|
|
${CP} ${FILESDIR}/*.h ${WRKSRC}/os/freebsd
|
|
${REINPLACE_CMD} -e "s,%%OSVERMAJOR%%,${OSREL:R}," \
|
|
${WRKSRC}/os/freebsd/ccconfig.h
|
|
|
|
.include <bsd.port.mk>
|