mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
b2898fe8d1
PR: 129980 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua>
43 lines
1017 B
Makefile
43 lines
1017 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
|
|
DATESPEC= 081227
|
|
PORTVERSION= 0.9.9.${DATESPEC}
|
|
PORTREVISION?= 0
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc/ \
|
|
http://pcc.ludd.ltu.se/ftp/pub/pcc/ \
|
|
ftp://226.net120.skekraft.net/pcc/
|
|
DISTNAME= pcc-${DATESPEC}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
COMMENT= S.C.Johnson's Portable C Compiler brought into the C99 world.
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DATESPEC}
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= YACC=${YACC}
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= pcc.1 cpp.1 ccom.1
|
|
PLIST_FILES= bin/pcc libexec/ccom libexec/cpp
|
|
|
|
OSVERMAJOR=${OSREL:C/\.[0-9.]*//}
|
|
|
|
pre-configure:
|
|
${MKDIR} ${WRKSRC}/os/freebsd
|
|
${CP} ${FILESDIR}/*.h ${WRKSRC}/os/freebsd
|
|
${REINPLACE_CMD} -e "s,%%OSVERMAJOR%%,${OSVERMAJOR}," \
|
|
${WRKSRC}/os/freebsd/ccconfig.h
|
|
|
|
.include <bsd.port.mk>
|