- Convert !defined(WITHOUT_MIMETEX) to ${PORT_OPTIONS:MIMETEX}

Thanks to:	jgh@

Feature safe:	yes
This commit is contained in:
Wen Heping 2012-12-05 08:17:44 +00:00
parent f7345394fe
commit ff20ac1c2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308318

View file

@ -75,7 +75,7 @@ do-install:
>> ${TMPPLIST}
${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}
@${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}' >> ${TMPPLIST}
.if !defined(WITHOUT_MIMETEX)
.if ${PORT_OPTIONS:MIMETEX}
${LN} -sf ${PREFIX}/www/mimetex/cgi-bin/mimetex.cgi ${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd
.endif