mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
a151b7a0ad
PR: ports/161943 Submitted by: Nali Toja <nalitoja@gmail.com>
34 lines
716 B
Makefile
34 lines
716 B
Makefile
# New ports collection makefile for: ucc
|
|
# Date created: 15 August 2008
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ucc
|
|
PORTVERSION= 1.6.0
|
|
CATEGORIES= lang
|
|
MASTER_SITES= SF/${PORTNAME}/OldFiles
|
|
DISTNAME= ucc160
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= C Compiler Which Implements the ANSI C89 Standard
|
|
|
|
USE_ZIP= yes
|
|
USE_DOS2UNIX= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch: .SILENT
|
|
${REINPLACE_CMD} 's/make/$$(MAKE)/' \
|
|
${WRKSRC}/Makefile
|
|
${REINPLACE_CMD} -e '/^CC[[:blank:]]*=/d' \
|
|
-e '/^CFLAGS/ { s/=/+=/; s/-g//; }' \
|
|
-e '/:[[:blank:]]/s/\.c/.o/g' \
|
|
-e 's/$$^/$$>/g' \
|
|
${WRKSRC}/driver/Makefile \
|
|
${WRKSRC}/ucl/Makefile
|
|
|
|
.include <bsd.port.mk>
|