aboutsummaryrefslogtreecommitdiff
path: root/www/sams
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-01-18 11:23:39 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-01-18 11:23:39 +0000
commit713ffaeef7bc81d2970c6bcef682804cd5dd1974 (patch)
tree308ab14f918492f5b11dc79699401b47692e9eb9 /www/sams
parent97f8ae2f6fc31d1d91fb70d548991d0451f47ed9 (diff)
downloadports-713ffaeef7bc81d2970c6bcef682804cd5dd1974.tar.gz
ports-713ffaeef7bc81d2970c6bcef682804cd5dd1974.zip
Notes
Diffstat (limited to 'www/sams')
-rw-r--r--www/sams/Makefile24
-rw-r--r--www/sams/distinfo6
-rw-r--r--www/sams/pkg-plist3
3 files changed, 17 insertions, 16 deletions
diff --git a/www/sams/Makefile b/www/sams/Makefile
index 31c43833e229..9559e3109f1c 100644
--- a/www/sams/Makefile
+++ b/www/sams/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sams
-DISTVERSION= 1.0.3
-PORTREVISION= 1
+DISTVERSION= 1.0.4
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://sams.perm.ru/download/ \
@@ -22,30 +21,35 @@ LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
USE_RC_SUBR= sams.sh
OPTIONS= NTLM "NTLM autorization/ActiveDirectory support" off \
- APACHE2 "Use apache version 2" on
+ APACHE22 "Use apache version 2.2" on \
+ PHP5GD "Enable constructing graphs" on
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
-USE_PHP= gd mysql ldap
+USE_PHP= mysql
USE_MYSQL= 5.0
CONFIGURE_ARGS= --with-configfile=${LOCALBASE}/etc/sams.conf \
- --with-rcd-locations=${LOCALBASE}/etc/rc.d/ \
- --with-httpd-locations=${DOCUMENT_ROOT}
+ --with-rcd-locations=${LOCALBASE}/etc/rc.d/
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if defined(WITH_NTLM)
-RUN_DEPENDS= ${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/net/samba3
+RUN_DEPENDS= ${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/net/samba3
+RUN_DEPENDS+= ${LOCALBASE}/include/php/ext/ldap/php_ldap.h:${PORTSDIR}/net/php5-ldap/
.endif
-.if defined(WITH_APACHE2)
-RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
-.else
+.if defined(WITH_PHP5GD)
+RUN_DEPENDS+= ${LOCALBASE}/include/php/ext/gd/php_gd.h:${PORTSDIR}/graphics/php5-gd/
+.endif
+
+.if defined(WITH_APACHE22)
RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache22
+.else
+RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
.endif
post-extract:
diff --git a/www/sams/distinfo b/www/sams/distinfo
index 9fefa096db9e..01a8a9214331 100644
--- a/www/sams/distinfo
+++ b/www/sams/distinfo
@@ -1,3 +1,3 @@
-MD5 (sams-1.0.3.tar.bz2) = 78782acf45dc8d69976f23f5a9de816f
-SHA256 (sams-1.0.3.tar.bz2) = 0369e1397eccb2e32f6132069b8a45638d8507214ebd935084d0a871ca1ad05d
-SIZE (sams-1.0.3.tar.bz2) = 1561538
+MD5 (sams-1.0.4.tar.bz2) = e0aad64098968bd4159687d2d569dcea
+SHA256 (sams-1.0.4.tar.bz2) = 6f770008cb910418011118198f0a6d211588cc24e9d567a2dee49f78f29681ec
+SIZE (sams-1.0.4.tar.bz2) = 1561524
diff --git a/www/sams/pkg-plist b/www/sams/pkg-plist
index 568b46a454f1..7ab97b2b82b5 100644
--- a/www/sams/pkg-plist
+++ b/www/sams/pkg-plist
@@ -33,7 +33,6 @@ etc/sams.conf.sample
%%DATADIR%%/doc/RU/script.html
%%DATADIR%%/doc/RU/settings.html
%%DATADIR%%/doc/RU/samba.html
-%%DATADIR%%/doc/RU/weather.php
%%DATADIR%%/doc/RU/apache.html
%%DATADIR%%/doc/RU/groups.html
%%DATADIR%%/doc/RU/users.html
@@ -478,7 +477,6 @@ etc/sams.conf.sample
%%DATADIR%%/install.php
%%DATADIR%%/lang/koi8r-2-utf8
%%DATADIR%%/lang/koi8r-2-win1251
-%%DATADIR%%/lang/koi8r-2-win1251.php
%%DATADIR%%/lang/lang.EN
%%DATADIR%%/lang/lang.KOI8-R
%%DATADIR%%/lang/lang.UTF8
@@ -616,7 +614,6 @@ etc/sams.conf.sample
%%DATADIR%%/src/newgrpbuttom_1_adldap.php
%%DATADIR%%/src/newgrpbuttom_5_addgroup.php
%%DATADIR%%/src/newgrptray.php
-%%DATADIR%%/src/newshablon.php
%%DATADIR%%/src/proxybuttom_1_down.php
%%DATADIR%%/src/proxytray.php
%%DATADIR%%/src/redirbuttom_1_loadlist.php