Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= ccache |
8 |
PORTNAME= ccache |
9 |
PORTVERSION= 3.1.4 |
9 |
PORTVERSION= 3.1.4 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= devel |
11 |
CATEGORIES= devel |
11 |
MASTER_SITES= http://samba.org/ftp/ccache/ CRITICAL |
12 |
MASTER_SITES= http://samba.org/ftp/ccache/ CRITICAL |
12 |
|
13 |
|
Lines 26-32
Link Here
|
26 |
.if !defined(WITHOUT_COMPILER_LINKS) |
27 |
.if !defined(WITHOUT_COMPILER_LINKS) |
27 |
HOWTO= ccache-howto-freebsd.txt |
28 |
HOWTO= ccache-howto-freebsd.txt |
28 |
CCLINKDIR= libexec/ccache |
29 |
CCLINKDIR= libexec/ccache |
29 |
PLIST_DIRS= ${CCLINKDIR} |
30 |
PLIST_DIRS= ${CCLINKDIR}/world ${CCLINKDIR} |
30 |
SUB_FILES= ${HOWTO} pkg-message |
31 |
SUB_FILES= ${HOWTO} pkg-message |
31 |
.endif |
32 |
.endif |
32 |
|
33 |
|
Lines 42-51
Link Here
|
42 |
.if defined(EXTRA_COMPILERS) |
43 |
.if defined(EXTRA_COMPILERS) |
43 |
CCACHE_COMPILERS+= ${EXTRA_COMPILERS} |
44 |
CCACHE_COMPILERS+= ${EXTRA_COMPILERS} |
44 |
.endif |
45 |
.endif |
45 |
WORLD_COMPILERS= world-cc world-c++ |
|
|
46 |
PLIST_FILES+= ${CCACHE_COMPILERS:S|^|${CCLINKDIR}/|} \ |
46 |
PLIST_FILES+= ${CCACHE_COMPILERS:S|^|${CCLINKDIR}/|} \ |
47 |
${WORLD_COMPILERS:S|^|${CCLINKDIR}/|} |
47 |
${CCACHE_COMPILERS:S|^|${CCLINKDIR}/world/|} \ |
48 |
SUB_FILES+= ${WORLD_COMPILERS} |
48 |
${CCLINKDIR}/world/ccache |
|
|
49 |
SUB_FILES+= world-ccache |
49 |
SUB_LIST+= CCACHE_COMPILERS="${CCACHE_COMPILERS}" \ |
50 |
SUB_LIST+= CCACHE_COMPILERS="${CCACHE_COMPILERS}" \ |
50 |
CCLINKDIR="${CCLINKDIR}" \ |
51 |
CCLINKDIR="${CCLINKDIR}" \ |
51 |
ICCPREFIX="${LOCALBASE}/intel_cc_80/bin" \ |
52 |
ICCPREFIX="${LOCALBASE}/intel_cc_80/bin" \ |
Lines 69-80
Link Here
|
69 |
${INSTALL_PROGRAM} ${WRKSRC}/ccache ${PREFIX}/bin |
70 |
${INSTALL_PROGRAM} ${WRKSRC}/ccache ${PREFIX}/bin |
70 |
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 |
71 |
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 |
71 |
.if !defined(WITHOUT_COMPILER_LINKS) |
72 |
.if !defined(WITHOUT_COMPILER_LINKS) |
72 |
@${MKDIR} ${PREFIX}/${CCLINKDIR} |
73 |
@${MKDIR} ${PREFIX}/${CCLINKDIR}/world |
|
|
74 |
${INSTALL_SCRIPT} ${WRKDIR}/world-ccache ${PREFIX}/${CCLINKDIR}/world/ccache |
73 |
.for link in ${CCACHE_COMPILERS} |
75 |
.for link in ${CCACHE_COMPILERS} |
74 |
${LN} -sf ${PREFIX}/bin/ccache ${PREFIX}/${CCLINKDIR}/${link} |
76 |
${LN} -sf ${PREFIX}/bin/ccache ${PREFIX}/${CCLINKDIR}/${link} |
75 |
.endfor |
77 |
${LN} -sf ccache ${PREFIX}/${CCLINKDIR}/world/${link} |
76 |
.for script in ${WORLD_COMPILERS} |
|
|
77 |
${INSTALL_SCRIPT} ${WRKDIR}/${script} ${PREFIX}/${CCLINKDIR} |
78 |
.endfor |
78 |
.endfor |
79 |
.endif |
79 |
.endif |
80 |
.if !defined(NOPORTDOCS) |
80 |
.if !defined(NOPORTDOCS) |