Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2015 17:13:21 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398004 - head/www/sit
Message-ID:  <201509261713.t8QHDLOc085989@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Sep 26 17:13:20 2015
New Revision: 398004
URL: https://svnweb.freebsd.org/changeset/ports/398004

Log:
  Cleanup plist
  Use options helpers

Modified:
  head/www/sit/Makefile
  head/www/sit/pkg-plist

Modified: head/www/sit/Makefile
==============================================================================
--- head/www/sit/Makefile	Sat Sep 26 17:04:38 2015	(r398003)
+++ head/www/sit/Makefile	Sat Sep 26 17:13:20 2015	(r398004)
@@ -3,6 +3,7 @@
 
 PORTNAME=	sit
 PORTVERSION=	3.67
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	SF/sitracker/stable/${PORTVERSION}/
 DISTNAME=	sit_${PORTVERSION}p1
@@ -25,19 +26,9 @@ OPTIONS_DEFAULT=	IMAP MBSTRING
 IMAP_DESC=	Email Support
 MBSTRING_DESC=	Inbound email feature
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MIMAP}
-USE_PHP+=	imap
-.endif
-
-.if ${PORT_OPTIONS:MMBSTRING}
-USE_PHP+=	mbstring
-.endif
-
-.if ${PORT_OPTIONS:MLDAP}
-USE_PHP+=	ldap
-.endif
+IMAP_USE=	PHP=imap
+MBSTRING_USE=	PHP=mbstring
+LDAP_USE=	PHP=ldap
 
 do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}

Modified: head/www/sit/pkg-plist
==============================================================================
--- head/www/sit/pkg-plist	Sat Sep 26 17:04:38 2015	(r398003)
+++ head/www/sit/pkg-plist	Sat Sep 26 17:13:20 2015	(r398004)
@@ -34,9 +34,7 @@
 %%WWWDIR%%/calendar/week_planner.js.php
 %%WWWDIR%%/calendar/year.inc.php
 %%WWWDIR%%/chart.php
-@unexec if cmp -s %D/%%WWWDIR%%/config.inc.php %D/%%WWWDIR%%/config.inc-dist.php; then rm -f %D/%%WWWDIR%%/config.inc.php; fi
-%%WWWDIR%%/config.inc-dist.php
-@exec cp -n %D/%F %B/config.inc.php
+@sample %%WWWDIR%%/config.inc-dist.php %%WWWDIR%%/config.inc.php
 %%WWWDIR%%/config.php
 %%WWWDIR%%/contact_add.php
 %%WWWDIR%%/contact_delete.php
@@ -2005,142 +2003,3 @@
 %%WWWDIR%%/vendor_edit.php
 %%WWWDIR%%/view_tags.php
 %%WWWDIR%%/view_task.php
-@dirrm %%WWWDIR%%/styles/sit9
-@dirrm %%WWWDIR%%/styles/sit7
-@dirrm %%WWWDIR%%/styles/sit14
-@dirrm %%WWWDIR%%/styles/images
-@dirrm %%WWWDIR%%/styles
-@dirrm %%WWWDIR%%/scripts/scriptaculous
-@dirrm %%WWWDIR%%/scripts/prototype
-@dirrm %%WWWDIR%%/scripts/dojo/src/xml
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/vml
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/templates/images/TreeV3
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/templates/images/Tree
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/templates/images
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/templates/buttons
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/templates/Editor2/Dialog
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/templates/Editor2
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/templates
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/svg
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/nls/zh-cn
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/nls/ja
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/nls/fr
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/nls
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/html
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/demoEngine/templates/images
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/demoEngine/templates
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/demoEngine
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget/Editor2Plugin
-@dirrm %%WWWDIR%%/scripts/dojo/src/widget
-@dirrm %%WWWDIR%%/scripts/dojo/src/validate
-@dirrm %%WWWDIR%%/scripts/dojo/src/uuid
-@dirrm %%WWWDIR%%/scripts/dojo/src/uri
-@dirrm %%WWWDIR%%/scripts/dojo/src/undo
-@dirrm %%WWWDIR%%/scripts/dojo/src/text
-@dirrm %%WWWDIR%%/scripts/dojo/src/string
-@dirrm %%WWWDIR%%/scripts/dojo/src/storage/java
-@dirrm %%WWWDIR%%/scripts/dojo/src/storage
-@dirrm %%WWWDIR%%/scripts/dojo/src/selection
-@dirrm %%WWWDIR%%/scripts/dojo/src/rpc
-@dirrm %%WWWDIR%%/scripts/dojo/src/namespaces
-@dirrm %%WWWDIR%%/scripts/dojo/src/math
-@dirrm %%WWWDIR%%/scripts/dojo/src/logging
-@dirrm %%WWWDIR%%/scripts/dojo/src/lfx
-@dirrm %%WWWDIR%%/scripts/dojo/src/lang/timing
-@dirrm %%WWWDIR%%/scripts/dojo/src/lang
-@dirrm %%WWWDIR%%/scripts/dojo/src/io
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/currency/nls/ja
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/currency/nls/hi
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/currency/nls/en-us
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/currency/nls/en
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/currency/nls
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/currency
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/zh-tw
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/zh-hk
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/zh-cn
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/zh
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/sv
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/pt-br
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/pt
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/nl
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/ko
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/ja
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/it
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/hu
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/fr
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/fi
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/es
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/en
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls/de
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar/nls
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n/calendar
-@dirrm %%WWWDIR%%/scripts/dojo/src/i18n
-@dirrm %%WWWDIR%%/scripts/dojo/src/html/images
-@dirrm %%WWWDIR%%/scripts/dojo/src/html
-@dirrm %%WWWDIR%%/scripts/dojo/src/graphics/color
-@dirrm %%WWWDIR%%/scripts/dojo/src/graphics
-@dirrm %%WWWDIR%%/scripts/dojo/src/gfx/color
-@dirrm %%WWWDIR%%/scripts/dojo/src/gfx
-@dirrm %%WWWDIR%%/scripts/dojo/src/flash/flash8
-@dirrm %%WWWDIR%%/scripts/dojo/src/flash/flash6
-@dirrm %%WWWDIR%%/scripts/dojo/src/flash
-@dirrm %%WWWDIR%%/scripts/dojo/src/event
-@dirrm %%WWWDIR%%/scripts/dojo/src/dnd
-@dirrm %%WWWDIR%%/scripts/dojo/src/debug
-@dirrm %%WWWDIR%%/scripts/dojo/src/date
-@dirrm %%WWWDIR%%/scripts/dojo/src/data/old/provider
-@dirrm %%WWWDIR%%/scripts/dojo/src/data/old/format
-@dirrm %%WWWDIR%%/scripts/dojo/src/data/old
-@dirrm %%WWWDIR%%/scripts/dojo/src/data/core
-@dirrm %%WWWDIR%%/scripts/dojo/src/data
-@dirrm %%WWWDIR%%/scripts/dojo/src/crypto
-@dirrm %%WWWDIR%%/scripts/dojo/src/collections
-@dirrm %%WWWDIR%%/scripts/dojo/src/charting/vml
-@dirrm %%WWWDIR%%/scripts/dojo/src/charting/svg
-@dirrm %%WWWDIR%%/scripts/dojo/src/charting
-@dirrm %%WWWDIR%%/scripts/dojo/src/cal
-@dirrm %%WWWDIR%%/scripts/dojo/src/animation
-@dirrm %%WWWDIR%%/scripts/dojo/src
-@dirrm %%WWWDIR%%/scripts/dojo
-@dirrm %%WWWDIR%%/scripts
-@dirrm %%WWWDIR%%/portal
-@dirrm %%WWWDIR%%/plugins
-@dirrm %%WWWDIR%%/lib/nusoap
-@dirrm %%WWWDIR%%/lib/magpierss/htdocs
-@dirrm %%WWWDIR%%/lib/magpierss/extlib
-@dirrm %%WWWDIR%%/lib/magpierss
-@dirrm %%WWWDIR%%/lib
-@dirrm %%WWWDIR%%/inc
-@dirrm %%WWWDIR%%/images/icons/sit/32x32/mimetypes
-@dirrm %%WWWDIR%%/images/icons/sit/32x32
-@dirrm %%WWWDIR%%/images/icons/sit/16x16
-@dirrm %%WWWDIR%%/images/icons/sit/12x12
-@dirrm %%WWWDIR%%/images/icons/sit
-@dirrm %%WWWDIR%%/images/icons/oxygen/32x32/mimetypes
-@dirrm %%WWWDIR%%/images/icons/oxygen/32x32
-@dirrm %%WWWDIR%%/images/icons/oxygen/16x16
-@dirrm %%WWWDIR%%/images/icons/oxygen/12x12
-@dirrm %%WWWDIR%%/images/icons/oxygen
-@dirrm %%WWWDIR%%/images/icons/kdeclassic/32x32/mimetypes
-@dirrm %%WWWDIR%%/images/icons/kdeclassic/32x32
-@dirrm %%WWWDIR%%/images/icons/kdeclassic/16x16/mimetypes
-@dirrm %%WWWDIR%%/images/icons/kdeclassic/16x16/apps
-@dirrm %%WWWDIR%%/images/icons/kdeclassic/16x16/actions
-@dirrm %%WWWDIR%%/images/icons/kdeclassic/16x16
-@dirrm %%WWWDIR%%/images/icons/kdeclassic
-@dirrm %%WWWDIR%%/images/icons
-@dirrm %%WWWDIR%%/images/emoticons
-@dirrm %%WWWDIR%%/images
-@dirrm %%WWWDIR%%/i18n
-@dirrm %%WWWDIR%%/help/ru-RU
-@dirrm %%WWWDIR%%/help/it-IT
-@dirrm %%WWWDIR%%/help/es-MX
-@dirrm %%WWWDIR%%/help/en-US
-@dirrm %%WWWDIR%%/help/en-GB
-@dirrm %%WWWDIR%%/help/de-DE
-@dirrm %%WWWDIR%%/help/da-DK
-@dirrm %%WWWDIR%%/help/cy-GB
-@dirrm %%WWWDIR%%/help
-@dirrm %%WWWDIR%%/doc
-@dirrm %%WWWDIR%%/calendar
-@dirrm %%WWWDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509261713.t8QHDLOc085989>