mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Remove pecl-imagick support, because pecl-imagick is deprecated and will be
removed from the ports tree soon. - Add patch that gd is enabled by default PR: ports/102482 Submitted by: Beat Gätzi <beat(at)chruetertee.ch> (maintainer) Approved by: krion (mentor)
This commit is contained in:
parent
2aec8fbcda
commit
a340706a6c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171508
@ -23,10 +23,9 @@ PLIST_SUB= INSTALLDIR=${FLUXCMSDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
||||
SUB_FILES= pkg-deinstall pkg-message
|
||||
SUB_LIST= INSTALLDIR=${INSTALLDIR}
|
||||
|
||||
OPTIONS= GD "Use GD support instead of ImageMagick" on \
|
||||
TIDY "Configure with tidy support" off
|
||||
OPTIONS= TIDY "Configure with tidy support" off
|
||||
|
||||
USE_PHP= dom xml simplexml iconv mysql xsl session pcre
|
||||
USE_PHP= dom xml simplexml iconv mysql xsl session pcre gd
|
||||
|
||||
IGNORE_WITH_PHP= 4
|
||||
DEFAULT_PHP_VER= 5
|
||||
@ -35,16 +34,13 @@ PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_GD)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS}
|
||||
.else
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/${imagick_DEPENDS}
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TIDY)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/tidy.so:${PORTSDIR}/${tidy_DEPENDS}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/install/dist/conf/config.xml.orig
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${INSTALLDIR}
|
||||
@${CP} -R ${WRKSRC}/* ${INSTALLDIR}
|
||||
|
11
www/fluxcms/files/patch-install-dist-conf-config.xml
Normal file
11
www/fluxcms/files/patch-install-dist-conf-config.xml
Normal file
@ -0,0 +1,11 @@
|
||||
--- install/dist/conf/config.xml.orig Thu Aug 24 16:42:47 2006
|
||||
+++ install/dist/conf/config.xml Thu Aug 24 16:48:03 2006
|
||||
@@ -112,7 +112,7 @@
|
||||
resizing to a certain size, it works.
|
||||
-->
|
||||
|
||||
- <useGD>false</useGD>
|
||||
+ <useGD>true</useGD>
|
||||
|
||||
<!--
|
||||
unccomment the following if want versioning.
|
Loading…
Reference in New Issue
Block a user