diff options
author | Joseph Koshy <jkoshy@FreeBSD.org> | 2006-08-05 13:00:16 +0000 |
---|---|---|
committer | Joseph Koshy <jkoshy@FreeBSD.org> | 2006-08-05 13:00:16 +0000 |
commit | c00baaf5b039e28f5a4822f31526894753d40203 (patch) | |
tree | 7f4713e1b0f7c552092596504041b544e9eef30f /devel/cil/Makefile | |
parent | 50eb8a5a9dc6b6045640b652759a3330352e7e27 (diff) | |
download | ports-c00baaf5b039e28f5a4822f31526894753d40203.tar.gz ports-c00baaf5b039e28f5a4822f31526894753d40203.zip |
Notes
Diffstat (limited to 'devel/cil/Makefile')
-rw-r--r-- | devel/cil/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/cil/Makefile b/devel/cil/Makefile index dbdb112e876b..07c1c79fbe7f 100644 --- a/devel/cil/Makefile +++ b/devel/cil/Makefile @@ -7,10 +7,11 @@ PORTNAME= cil PORTVERSION= 1.3.5 +PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://manju.cs.berkeley.edu/cil/distrib/ -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= jkoshy@FreeBSD.org COMMENT= Infrastructure for C Program Analysis and Transformation @@ -19,7 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/ocamlopt:${PORTSDIR}/lang/ocaml CONFLICTS= ccured-* -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 USE_PERL5= yes USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PORTNAME} @@ -38,6 +39,10 @@ IGNORE= does not work with perl < 5.6.1 post-patch: @${REINPLACE_CMD} -e 's:@CILHOME@/lib:${SITE_PERL}/CIL:g; s:\@CILHOME\@:${PREFIX}:g' ${WRKSRC}/bin/CilConfig.pm.in @${REINPLACE_CMD} -e 's|$$::cilhome|${PREFIX}|g; s|obj/$$::archos|libexec/cil|g' ${WRKSRC}/bin/cilly + @${REINPLACE_CMD} -e 's|^use Cilly;|use CIL::Cilly|' ${WRKSRC}/bin/cilly + @${REINPLACE_CMD} -e 's|^use KeptFile;|use CIL::KeptFile;|; s|^use OutputFile;|use CIL::OutputFile;|; s|^use TempFile;|use CIL::TempFile;|' ${WRKSRC}/lib/Cilly.pm + @${REINPLACE_CMD} -e 's|^use OutputFile;|use CIL::OutputFile;|' ${WRKSRC}/lib/KeptFile.pm + @${REINPLACE_CMD} -e 's|^use OutputFile;|use CIL::OutputFile;|' ${WRKSRC}/lib/TempFile.pm do-install: .if !defined(NOPORTDOCS) @@ -55,7 +60,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/bin/CilConfig.pm ${SITE_PERL}/ ${MKDIR} ${PREFIX}/libexec/cil .for f in ${EXECFILES} - ${INSTALL} ${WRKSRC}/obj/x86_LINUX/${f} ${PREFIX}/libexec/cil/ + ${INSTALL} ${WRKSRC}/obj/${ARCH}_FREEBSD/${f} ${PREFIX}/libexec/cil/ .endfor .include <bsd.port.post.mk> |