blob: 16a9e66dd613cf7e3e8bc2ca80e32e9964fb5774 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Created by: 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
USES= dos2unix zip
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
NO_STAGE= yes
.include <bsd.port.mk>
|