summaryrefslogtreecommitdiff
path: root/lang/pcc
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2010-11-23 10:07:54 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2010-11-23 10:07:54 +0000
commit6ad42173ec3ca15c937e7bf7ca18e75e423586f8 (patch)
tree0cdb5b895cf6bb3ed3282d85d7cd68e3734162fd /lang/pcc
parent- Annotate conflict between math/surf and www/surf (diff)
- Variable twiddle
- Use = for CONFIGURE_ENV - Sort MAN1 PR: ports/152522 Submitted by: sunpoet (myself) Approved by: joel (maintainer)
Notes
Notes: svn path=/head/; revision=264988
Diffstat (limited to 'lang/pcc')
-rw-r--r--lang/pcc/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/lang/pcc/Makefile b/lang/pcc/Makefile
index 898b17e4a36a..3e5ce2e45cdd 100644
--- a/lang/pcc/Makefile
+++ b/lang/pcc/Makefile
@@ -7,36 +7,32 @@
#
PORTNAME= pcc
-PORTVERSION= 0.9.9.${DATESPEC}
+PORTVERSION= 0.9.9.101107
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}
+DISTNAME= pcc-${PORTVERSION:E}
EXTRACT_SUFX= .tgz
MAINTAINER= joel@FreeBSD.org
COMMENT= S.C.Johnson's Portable C Compiler brought into the C99 world
-DATESPEC= 101107
-
ONLY_FOR_ARCHS= i386 amd64
-WRKSRC= ${WRKDIR}/${PORTNAME}-${DATESPEC}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= YACC=${YACC}
+CONFIGURE_ENV= YACC=${YACC}
USE_GMAKE= yes
-MAN1= pcc.1 cpp.1 ccom.1
+MAN1= ccom.1 cpp.1 pcc.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}," \
+ ${REINPLACE_CMD} -e "s,%%OSVERMAJOR%%,${OSREL:R}," \
${WRKSRC}/os/freebsd/ccconfig.h
.include <bsd.port.mk>