pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/php-contao-manager



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Aug 31 14:46:25 UTC 2025

Modified Files:
        pkgsrc/www/php-contao-manager: DESCR Makefile
Added Files:
        pkgsrc/www/php-contao-manager: options.mk

Log Message:
www/php-contao-manager: Add dependency

Add dependency to graphics/ImageMagick or graphics/GraphicsMagick.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/php-contao-manager/DESCR
cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/php-contao-manager/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/php-contao-manager/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/php-contao-manager/DESCR
diff -u pkgsrc/www/php-contao-manager/DESCR:1.1 pkgsrc/www/php-contao-manager/DESCR:1.2
--- pkgsrc/www/php-contao-manager/DESCR:1.1     Sun Feb  4 08:41:26 2024
+++ pkgsrc/www/php-contao-manager/DESCR Sun Aug 31 14:46:24 2025
@@ -6,3 +6,6 @@ install and mange Contao Open Source CMS
 For more information, please refer Installation guide for Contao:
 
        https://to.contao.org/quickstart
+
+This package intended to prepare runtime environment for Contao Open
+Source CMS, too.

Index: pkgsrc/www/php-contao-manager/Makefile
diff -u pkgsrc/www/php-contao-manager/Makefile:1.14 pkgsrc/www/php-contao-manager/Makefile:1.15
--- pkgsrc/www/php-contao-manager/Makefile:1.14 Sat Aug 23 15:55:52 2025
+++ pkgsrc/www/php-contao-manager/Makefile      Sun Aug 31 14:46:24 2025
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.14 2025/08/23 15:55:52 taca Exp $
+# $NetBSD: Makefile,v 1.15 2025/08/31 14:46:24 taca Exp $
 #
 
 DISTNAME=      ${CM_NAME}.phar
 PKGNAME=       ${PHP_PKG_PREFIX}-${CM_NAME}-${CM_VERSION}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  https://download.contao.org/contao-manager/stable/
 DIST_SUBDIR=   ${CM_NAME}/${CM_VERSION}
@@ -75,5 +76,6 @@ do-install:
        ${INSTALL_DATA} ${WRKDIR}/contao.conf ${DESTDIR}${PREFIX}/${CT_EGDIR}
        ${INSTALL_DATA} ${WRKDIR}/README ${DESTDIR}${PREFIX}/${CT_DOCDIR}
 
+.include "options.mk"
 .include "../../lang/php/phpversion.mk"
 .include "../../mk/bsd.pkg.mk"

Added files:

Index: pkgsrc/www/php-contao-manager/options.mk
diff -u /dev/null pkgsrc/www/php-contao-manager/options.mk:1.1
--- /dev/null   Sun Aug 31 14:46:25 2025
+++ pkgsrc/www/php-contao-manager/options.mk    Sun Aug 31 14:46:24 2025
@@ -0,0 +1,23 @@
+# $NetBSD: options.mk,v 1.1 2025/08/31 14:46:24 taca Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.contao
+
+PKG_OPTIONS_REQUIRED_GROUPS=   imaging
+PKG_OPTIONS_GROUP.imaging=     imagemagick graphicsmagick
+PKG_SUGGESTED_OPTIONS=         imagemagick
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Use ImageMagick
+###
+.if !empty(PKG_OPTIONS:Mimagemagick)
+DEPENDS+=      ImageMagick>=7.0.0:../../graphics/ImageMagick
+.endif
+
+###
+### Use GraphicsMagick
+###
+.if !empty(PKG_OPTIONS:Mgraphicsmagick)
+DEPENDS+=      GraphicsMagick>=1.3.0:../../graphics/GraphicsMagick
+.endif



Home | Main Index | Thread Index | Old Index