mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Enable mimeTeX functionality
PR: ports/122178 Submitted by: Hiroto Kagotani <hiroto.kagotani@gmail.com> Approved by: Javier Martín Rueda <jmrueda@diatel.upm.es> (maintainer)
This commit is contained in:
parent
c291820c82
commit
806b71e83b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210457
@ -22,7 +22,8 @@ OPTIONS= MYSQL "Add support for a MySQL database server" Off \
|
||||
MSSQL "Add support for a MS SQL Server" Off \
|
||||
ZLIB "Add zip/unzip functionality" On \
|
||||
NETWORK "Add Moodle Network functionality" Off \
|
||||
LDAP "Add LDAP authentication functionality" Off
|
||||
LDAP "Add LDAP authentication functionality" Off \
|
||||
MIMETEX "Add mimeTeX filter functionality" On
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -64,6 +65,10 @@ USE_PHP+= openssl
|
||||
USE_PHP+= ldap
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MIMETEX)
|
||||
RUN_DEPENDS+= ${PREFIX}/www/cgi-bin/mimetex.cgi:${PORTSDIR}/www/mimetex
|
||||
.endif
|
||||
|
||||
NO_BUILD= yes
|
||||
PLIST= ${WRKDIR}/plist
|
||||
SUB_FILES= pkg-message
|
||||
@ -92,6 +97,9 @@ do-install:
|
||||
>> ${TMPPLIST}
|
||||
${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}
|
||||
@${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}' >> ${TMPPLIST}
|
||||
.if !defined(WITHOUT_MIMETEX)
|
||||
${LN} -sf ${PREFIX}/www/cgi-bin/mimetex.cgi ${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
@ -22,7 +22,8 @@ OPTIONS= MYSQL "Add support for a MySQL database server" Off \
|
||||
MSSQL "Add support for a MS SQL Server" Off \
|
||||
ZLIB "Add zip/unzip functionality" On \
|
||||
NETWORK "Add Moodle Network functionality" Off \
|
||||
LDAP "Add LDAP authentication functionality" Off
|
||||
LDAP "Add LDAP authentication functionality" Off \
|
||||
MIMETEX "Add mimeTeX filter functionality" On
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -64,6 +65,10 @@ USE_PHP+= openssl
|
||||
USE_PHP+= ldap
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MIMETEX)
|
||||
RUN_DEPENDS+= ${PREFIX}/www/cgi-bin/mimetex.cgi:${PORTSDIR}/www/mimetex
|
||||
.endif
|
||||
|
||||
NO_BUILD= yes
|
||||
PLIST= ${WRKDIR}/plist
|
||||
SUB_FILES= pkg-message
|
||||
@ -92,6 +97,9 @@ do-install:
|
||||
>> ${TMPPLIST}
|
||||
${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}
|
||||
@${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}' >> ${TMPPLIST}
|
||||
.if !defined(WITHOUT_MIMETEX)
|
||||
${LN} -sf ${PREFIX}/www/cgi-bin/mimetex.cgi ${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
Loading…
Reference in New Issue
Block a user