diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2010-11-23 18:07:54 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2010-11-23 18:07:54 +0800 |
commit | e64a44c5140c77119a6efabf23885593fc8824b6 (patch) | |
tree | 1c29bc38301ac8625d74653de54b5fba73171bf8 | |
parent | 4b8b7d2a5efa86573b81f6d5acea8119474e6d80 (diff) | |
download | freebsd-ports-gnome-e64a44c5140c77119a6efabf23885593fc8824b6.tar.gz freebsd-ports-gnome-e64a44c5140c77119a6efabf23885593fc8824b6.tar.zst freebsd-ports-gnome-e64a44c5140c77119a6efabf23885593fc8824b6.zip |
- Variable twiddle
- Use = for CONFIGURE_ENV
- Sort MAN1
PR: ports/152522
Submitted by: sunpoet (myself)
Approved by: joel (maintainer)
-rw-r--r-- | lang/pcc/Makefile | 16 |
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> |