mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
- upgrade 0.74a to 0.82
- add WITH_MSN to decide if want MSN support - add pkg-message to notice installed config files PR: 58798 Submitted by: Cheng-Lung Sung <clsung@dragon2.net> Approved by: maintainer
This commit is contained in:
parent
a110ceccb6
commit
147fc77aff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95667
@ -6,22 +6,36 @@
|
||||
#
|
||||
|
||||
PORTNAME= bitlbee
|
||||
PORTVERSION= 0.74a
|
||||
PORTVERSION= 0.82
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= http://www.lintux.cx/downloads/
|
||||
MASTER_SITES= http://get.bitlbee.org/src/
|
||||
|
||||
MAINTAINER= peter@dataloss.nl
|
||||
COMMENT= An IRC to other chat networks gateway
|
||||
|
||||
MAN8= bitlbee.8
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= glib12
|
||||
USE_GNOME= glib20
|
||||
|
||||
.if defined(WITH_MSN)
|
||||
LIB_DEPENDS= soup-2.0.0:${PORTSDIR}/devel/libsoup
|
||||
pre-configure:
|
||||
@${ECHO_CMD} "MSN support will be enabled."
|
||||
.else
|
||||
pre-configure:
|
||||
@${ECHO_CMD} "Type \"make -DWITH_MSN\" if you want enable MSN support."
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
@mkdir -p -m 700 ${PREFIX}/etc/bitlbee
|
||||
|
||||
post-install:
|
||||
@cp ${WRKSRC}/bitlbee.conf ${PREFIX}/etc/bitlbee/bitlbee.conf.orig
|
||||
@cp ${WRKSRC}/motd.txt ${PREFIX}/etc/bitlbee/motd.txt.orig
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (bitlbee-0.74a.tar.gz) = 03e59381091c4c41ca01e4547ae12be1
|
||||
MD5 (bitlbee-0.82.tar.gz) = fecb84a97e13a46b45989d71e7723b35
|
||||
|
11
irc/bitlbee-otr/files/patch-Makefile
Normal file
11
irc/bitlbee-otr/files/patch-Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.orig Sat Oct 25 06:33:13 2003
|
||||
+++ Makefile Sat Nov 1 17:09:09 2003
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
install: install-bin install-doc
|
||||
@if ! [ -d $(DESTDIR)$(CONFIG) ]; then echo -e '\n\nThe configuration directory $(DESTDIR)$(CONFIG) does not exist yet, don'\''t forget to create it!'; fi
|
||||
- @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\n\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi
|
||||
+# @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\n\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi
|
||||
@echo -e '\n'
|
||||
|
||||
.PHONY: install install-bin install-etc install-doc \
|
@ -1,25 +0,0 @@
|
||||
--- configure.orig Sat Apr 12 10:30:35 2003
|
||||
+++ configure Fri Aug 29 23:00:20 2003
|
||||
@@ -22,7 +22,7 @@
|
||||
cpu=`uname -m`
|
||||
|
||||
while [ -n "$1" ]; do
|
||||
- e="`expr "$1" : '--\(.*=.*\)'`"
|
||||
+ e="`EXPR_COMPAT=yes expr "$1" : '--\(.*=.*\)'`"
|
||||
if [ -z "$e" ]; then
|
||||
cat<<EOF
|
||||
BitlBee configure
|
||||
@@ -108,10 +108,10 @@
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
-if type glib-config > /dev/null 2> /dev/null; then
|
||||
+if type glib12-config > /dev/null 2> /dev/null; then
|
||||
cat<<EOF>>Makefile.settings
|
||||
-LFLAGS+=`glib-config --libs`
|
||||
-CFLAGS+=`glib-config --cflags`
|
||||
+LFLAGS+=`glib12-config --libs`
|
||||
+CFLAGS+=`glib12-config --cflags`
|
||||
EOF
|
||||
else
|
||||
echo 'Cannot find glib development libraries, aborting. (Install libglib-dev?)'
|
@ -1,5 +1,7 @@
|
||||
sbin/bitlbee
|
||||
share/bitlbee/help.txt
|
||||
@exec mkdir -p -m 700 %D/etc/bitlbee
|
||||
etc/bitlbee/bitlbee.conf.orig
|
||||
etc/bitlbee/motd.txt.orig
|
||||
@dirrm share/bitlbee
|
||||
@dirrm etc/bitlbee
|
||||
|
@ -6,22 +6,36 @@
|
||||
#
|
||||
|
||||
PORTNAME= bitlbee
|
||||
PORTVERSION= 0.74a
|
||||
PORTVERSION= 0.82
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= http://www.lintux.cx/downloads/
|
||||
MASTER_SITES= http://get.bitlbee.org/src/
|
||||
|
||||
MAINTAINER= peter@dataloss.nl
|
||||
COMMENT= An IRC to other chat networks gateway
|
||||
|
||||
MAN8= bitlbee.8
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= glib12
|
||||
USE_GNOME= glib20
|
||||
|
||||
.if defined(WITH_MSN)
|
||||
LIB_DEPENDS= soup-2.0.0:${PORTSDIR}/devel/libsoup
|
||||
pre-configure:
|
||||
@${ECHO_CMD} "MSN support will be enabled."
|
||||
.else
|
||||
pre-configure:
|
||||
@${ECHO_CMD} "Type \"make -DWITH_MSN\" if you want enable MSN support."
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
@mkdir -p -m 700 ${PREFIX}/etc/bitlbee
|
||||
|
||||
post-install:
|
||||
@cp ${WRKSRC}/bitlbee.conf ${PREFIX}/etc/bitlbee/bitlbee.conf.orig
|
||||
@cp ${WRKSRC}/motd.txt ${PREFIX}/etc/bitlbee/motd.txt.orig
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (bitlbee-0.74a.tar.gz) = 03e59381091c4c41ca01e4547ae12be1
|
||||
MD5 (bitlbee-0.82.tar.gz) = fecb84a97e13a46b45989d71e7723b35
|
||||
|
11
irc/bitlbee/files/patch-Makefile
Normal file
11
irc/bitlbee/files/patch-Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.orig Sat Oct 25 06:33:13 2003
|
||||
+++ Makefile Sat Nov 1 17:09:09 2003
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
install: install-bin install-doc
|
||||
@if ! [ -d $(DESTDIR)$(CONFIG) ]; then echo -e '\n\nThe configuration directory $(DESTDIR)$(CONFIG) does not exist yet, don'\''t forget to create it!'; fi
|
||||
- @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\n\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi
|
||||
+# @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\n\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi
|
||||
@echo -e '\n'
|
||||
|
||||
.PHONY: install install-bin install-etc install-doc \
|
@ -1,25 +0,0 @@
|
||||
--- configure.orig Sat Apr 12 10:30:35 2003
|
||||
+++ configure Fri Aug 29 23:00:20 2003
|
||||
@@ -22,7 +22,7 @@
|
||||
cpu=`uname -m`
|
||||
|
||||
while [ -n "$1" ]; do
|
||||
- e="`expr "$1" : '--\(.*=.*\)'`"
|
||||
+ e="`EXPR_COMPAT=yes expr "$1" : '--\(.*=.*\)'`"
|
||||
if [ -z "$e" ]; then
|
||||
cat<<EOF
|
||||
BitlBee configure
|
||||
@@ -108,10 +108,10 @@
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
-if type glib-config > /dev/null 2> /dev/null; then
|
||||
+if type glib12-config > /dev/null 2> /dev/null; then
|
||||
cat<<EOF>>Makefile.settings
|
||||
-LFLAGS+=`glib-config --libs`
|
||||
-CFLAGS+=`glib-config --cflags`
|
||||
+LFLAGS+=`glib12-config --libs`
|
||||
+CFLAGS+=`glib12-config --cflags`
|
||||
EOF
|
||||
else
|
||||
echo 'Cannot find glib development libraries, aborting. (Install libglib-dev?)'
|
@ -1,5 +1,7 @@
|
||||
sbin/bitlbee
|
||||
share/bitlbee/help.txt
|
||||
@exec mkdir -p -m 700 %D/etc/bitlbee
|
||||
etc/bitlbee/bitlbee.conf.orig
|
||||
etc/bitlbee/motd.txt.orig
|
||||
@dirrm share/bitlbee
|
||||
@dirrm etc/bitlbee
|
||||
|
Loading…
Reference in New Issue
Block a user