aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-03-22 15:40:07 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-03-22 15:40:07 +0000
commit8da4df5b889a8cd55124e2ec8b73eb3bcaec32a2 (patch)
tree959642239e7bd6e37a86335ad6359e6278043ca7 /net-im
parent755c293dc37ac6a6538d47c4e79d2d397b151d8e (diff)
downloadports-8da4df5b889a8cd55124e2ec8b73eb3bcaec32a2.tar.gz
ports-8da4df5b889a8cd55124e2ec8b73eb3bcaec32a2.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/msn-proxy/Makefile39
-rw-r--r--net-im/msn-proxy/distinfo9
-rw-r--r--net-im/msn-proxy/pkg-plist37
3 files changed, 25 insertions, 60 deletions
diff --git a/net-im/msn-proxy/Makefile b/net-im/msn-proxy/Makefile
index 3c70d08e847c..fc511225b6b8 100644
--- a/net-im/msn-proxy/Makefile
+++ b/net-im/msn-proxy/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= msn-proxy
-PORTVERSION= 0.6.3
+PORTVERSION= 0.7
CATEGORIES= net-im
MASTER_SITES= SF
@@ -15,50 +15,27 @@ COMMENT= Messenger proxy/control daemon
LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
-OPTIONS+= MYSQL "Use MySQL database version" off
-OPTIONS+= PGSQL "Use Postgresql (pgsql) database version" on
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DOCS= INSTALL
-MSNPROXYWWW= ajax.inc.php al.inc.php bl.inc.php chat-to.php chat.php \
- conf.php default.array.cmd.inc.php default.array.option.inc.php \
+MSNPROXYWWW= js.inc.php lists.inc.php chat-to.php chat.php conf.php \
+ default.array.cmd.inc.php default.array.option.inc.php \
default.array.status.inc.php fl.inc.php group.inc.php \
header.inc.php index.php save_contact_op.php save_default_op.php \
save_msg.php save_user_op.php user.php view-to.php view.php \
- user.inc.php
+ user.inc.php mysql.inc.php class.ctl.php .htaccess
MSNPROXYIMG= ausente.gif block.gif notinlist.png ocupado.gif offline.gif \
online.gif send_im.gif webcam.png
+SUB_FILES= pkg-message-mysql
WANT_PHP_WEB= yes
-USE_PHP= session sockets
+USE_PHP= mysql session sockets
+USE_MYSQL= yes
MAKE_ARGS= SYSCONFDIR=$(DESTDIR)${PREFIX}/etc/msn-proxy \
BINDIR=$(DESTDIR)${PREFIX}/bin
.include <bsd.port.pre.mk>
-.if defined(WITH_PGSQL)
-DISTVERSIONSUFFIX= -pgsql
-MSNPROXYWWW+= pgsql.inc.php
-SUB_FILES= pkg-message-pgsql
-USE_PGSQL= yes
-USE_PHP+= pgsql
-PLIST_SUB+= PGSQL=""
-.else
-PLIST_SUB+= PGSQL="@comment "
-.endif
-
-.if defined(WITH_MYSQL)
-DISTVERSIONSUFFIX= -mysql
-MSNPROXYWWW+= mysql.inc.php
-SUB_FILES= pkg-message-mysql
-USE_MYSQL= yes
-USE_PHP+= mysql
-PLIST_SUB+= MYSQL=""
-.else
-PLIST_SUB+= MYSQL="@comment "
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/config.h
diff --git a/net-im/msn-proxy/distinfo b/net-im/msn-proxy/distinfo
index 6a448f4c4511..e3593445045d 100644
--- a/net-im/msn-proxy/distinfo
+++ b/net-im/msn-proxy/distinfo
@@ -1,6 +1,3 @@
-MD5 (msn-proxy-0.6.3-mysql.tar.gz) = 1b143133d3462b3a6fdc22dc77e3df5a
-SHA256 (msn-proxy-0.6.3-mysql.tar.gz) = 6a56785e527625ef409deb34b7872627d5c7073e7f159d7035a37d0d8b01b572
-SIZE (msn-proxy-0.6.3-mysql.tar.gz) = 83567
-MD5 (msn-proxy-0.6.3-pgsql.tar.gz) = 536d7c764e94708f6b839a9852a2a2b1
-SHA256 (msn-proxy-0.6.3-pgsql.tar.gz) = 1a96e749ee23d3464432f454c2948d8468d57f6a44c3ddbce769b7b13150c646
-SIZE (msn-proxy-0.6.3-pgsql.tar.gz) = 83405
+MD5 (msn-proxy-0.7.tar.gz) = 11faa72c70c36874685ca1b0ed382dcc
+SHA256 (msn-proxy-0.7.tar.gz) = 0752c7f13f0e57fd71239dc0ff33f1ab94cebb5ffc0fe6e4c87c12e70a6dae83
+SIZE (msn-proxy-0.7.tar.gz) = 87480
diff --git a/net-im/msn-proxy/pkg-plist b/net-im/msn-proxy/pkg-plist
index cb7502f7b626..4a555f822c25 100644
--- a/net-im/msn-proxy/pkg-plist
+++ b/net-im/msn-proxy/pkg-plist
@@ -1,11 +1,12 @@
bin/msn-proxy
%%ETCDIR%%/msn-proxy.conf
-%%WWWDIR%%/ajax.inc.php
-%%WWWDIR%%/al.inc.php
-%%WWWDIR%%/bl.inc.php
+%%WWWDIR%%/.htaccess
+%%WWWDIR%%/js.inc.php
+%%WWWDIR%%/lists.inc.php
%%WWWDIR%%/chat-to.php
%%WWWDIR%%/chat.php
%%WWWDIR%%/conf.php
+%%WWWDIR%%/class.ctl.php
%%WWWDIR%%/default.array.cmd.inc.php
%%WWWDIR%%/default.array.option.inc.php
%%WWWDIR%%/default.array.status.inc.php
@@ -31,26 +32,16 @@ bin/msn-proxy
%%WWWDIR%%/imagens/webcam.png
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PGSQL%%%%ETCDIR%%/pgsql/conf
-%%PGSQL%%%%ETCDIR%%/pgsql/tables/sb
-%%PGSQL%%%%ETCDIR%%/pgsql/tables/log
-%%PGSQL%%%%ETCDIR%%/pgsql/tables/users
-%%PGSQL%%%%ETCDIR%%/pgsql/tables/contacts
-%%PGSQL%%%%ETCDIR%%/pgsql/tables/defaults
-%%PGSQL%%%%ETCDIR%%/pgsql/tables/contact_groups
-%%PGSQL%%%%WWWDIR%%/pgsql.inc.php
-%%MYSQL%%%%ETCDIR%%/mysql/conf
-%%MYSQL%%%%ETCDIR%%/mysql/tables/sb
-%%MYSQL%%%%ETCDIR%%/mysql/tables/log
-%%MYSQL%%%%ETCDIR%%/mysql/tables/users
-%%MYSQL%%%%ETCDIR%%/mysql/tables/contacts
-%%MYSQL%%%%ETCDIR%%/mysql/tables/defaults
-%%MYSQL%%%%ETCDIR%%/mysql/tables/contact_groups
-%%MYSQL%%%%WWWDIR%%/mysql.inc.php
-%%PGSQL%%@dirrmtry %%ETCDIR%%/pgsql/tables
-%%PGSQL%%@dirrmtry %%ETCDIR%%/pgsql
-%%MYSQL%%@dirrmtry %%ETCDIR%%/mysql/tables
-%%MYSQL%%@dirrmtry %%ETCDIR%%/mysql
+%%ETCDIR%%/mysql/conf
+%%ETCDIR%%/mysql/tables/sb
+%%ETCDIR%%/mysql/tables/log
+%%ETCDIR%%/mysql/tables/users
+%%ETCDIR%%/mysql/tables/contacts
+%%ETCDIR%%/mysql/tables/defaults
+%%ETCDIR%%/mysql/tables/contact_groups
+%%WWWDIR%%/mysql.inc.php
+@dirrmtry %%ETCDIR%%/mysql/tables
+@dirrmtry %%ETCDIR%%/mysql
@dirrmtry %%ETCDIR%%
@dirrmtry %%WWWDIR%%/imagens
@dirrmtry %%WWWDIR%%