1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix LIB_DEPENDS, support USE_REINPLACE, move modules to lib/everybuddy.

While I'm here, nuke the empty patches that were still lying around.

PR:		40118
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Jim Mock 2002-07-02 23:05:55 +00:00
parent e80d40b536
commit fb9dec8734
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62367
24 changed files with 204 additions and 279 deletions

View File

@ -7,22 +7,48 @@
PORTNAME= everybuddy
PORTVERSION= 0.4.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.everybuddy.com/files/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
MAINTAINER= jim@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile \
iconv.3:${PORTSDIR}/converters/libiconv
USE_X_PREFIX= yes
USE_GTK= yes
WANT_ESOUND= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -laudiofile"
CONFIGURE_ARGS= --disable-arts
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
MAN1= everybuddy.1
# no idea why config.h isn't created, but an empty one seems to work OK
post-patch:
touch ${WRKSRC}/config.h
.include <bsd.port.pre.mk>
.include <bsd.port.mk>
.if defined(HAVE_ESOUND)
USE_ESOUND= yes
.else
CONFIGURE_ARGS+= --disable-esd
.endif
pre-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
s|-D_REENTRANT -Wall -g|-D_REENTRANT ${PTHREAD_CFLAGS}|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|share/everybuddy/modules|/lib/everybuddy/modules|g' \
${WRKSRC}/src/config.sh.in
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|^Utilitiesdir|#Utilitiesdir|g; \
s|^Utilities_DATA|#Utilities_DATA|g; \
s|[(]datadir[)]/everybuddy|(prefix)/lib/everybuddy|g; \
s|-module|-module -avoid-version|g'
.include <bsd.port.post.mk>

View File

@ -1,11 +0,0 @@
--- configure.old Wed May 29 19:50:21 2002
+++ configure Wed May 29 19:50:29 2002
@@ -9178,7 +9178,7 @@
CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include"
EB_CFLAGS="$CFLAGS -I../"
-EB_LIBS="$LIBS -L../libproxy -lproxy"
+EB_LIBS="$LIBS -L../libproxy -lproxy -lintl"
EB_LDADD="$LDADD"
EB_CFLAGS="$EB_CFLAGS -D_REENTRANT -Wall -g "

View File

@ -0,0 +1,10 @@
--- configure.orig Fri May 17 09:04:56 2002
+++ configure Thu May 30 01:12:46 2002
@@ -5451,6 +5451,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View File

@ -1 +1 @@
A "chat" program that combines AIM, ICQ, Yahoo, MSN, Jabber and IRC into one
A "chat" program that combines AIM, ICQ, and Yahoo! Chat into one

View File

@ -1,78 +1,28 @@
bin/contact-update.pl
bin/everybuddy
bin/update.pl
bin/contact-update.pl
lib/charset.alias
share/pixmaps/ebicon.png
lib/everybuddy/modules/aim-toc.so
lib/everybuddy/modules/autotrans.so
lib/everybuddy/modules/icq.so
lib/everybuddy/modules/import_gaim.so
lib/everybuddy/modules/import_gnomeicu.so
lib/everybuddy/modules/importicq.so
lib/everybuddy/modules/importlicq.so
lib/everybuddy/modules/irc.so
lib/everybuddy/modules/jabber.so
lib/everybuddy/modules/middle.so
lib/everybuddy/modules/msn2.so
lib/everybuddy/modules/notes.so
lib/everybuddy/modules/rainbow.so
lib/everybuddy/modules/smileys2.so
lib/everybuddy/modules/smileysc.so
lib/everybuddy/modules/yahoo2.so
share/locale/fr/LC_MESSAGES/everybuddy.mo
share/locale/locale.alias
share/sounds/everybuddy/BuddyArrive.au
share/sounds/everybuddy/BuddyLeave.au
share/sounds/everybuddy/Send.au
share/sounds/everybuddy/Receive.au
share/everybuddy/modules/aim-toc.so.0
share/everybuddy/modules/aim-toc.so
share/everybuddy/modules/aim-toc.la
share/everybuddy/modules/aim-toc.a
share/everybuddy/modules/icq.so.0
share/everybuddy/modules/icq.so
share/everybuddy/modules/icq.la
share/everybuddy/modules/icq.a
share/everybuddy/modules/irc.so.0
share/everybuddy/modules/irc.so
share/everybuddy/modules/irc.la
share/everybuddy/modules/irc.a
share/everybuddy/modules/jabber.so.0
share/everybuddy/modules/jabber.so
share/everybuddy/modules/jabber.la
share/everybuddy/modules/jabber.a
share/everybuddy/modules/msn2.so.0
share/everybuddy/modules/msn2.so
share/everybuddy/modules/msn2.la
share/everybuddy/modules/msn2.a
share/everybuddy/modules/yahoo2.so.0
share/everybuddy/modules/yahoo2.so
share/everybuddy/modules/yahoo2.la
share/everybuddy/modules/yahoo2.a
share/everybuddy/modules/import_gaim.so.0
share/everybuddy/modules/import_gaim.so
share/everybuddy/modules/import_gaim.la
share/everybuddy/modules/import_gaim.a
share/everybuddy/modules/import_gnomeicu.so.0
share/everybuddy/modules/import_gnomeicu.so
share/everybuddy/modules/import_gnomeicu.la
share/everybuddy/modules/import_gnomeicu.a
share/everybuddy/modules/importlicq.so.0
share/everybuddy/modules/importlicq.so
share/everybuddy/modules/importlicq.la
share/everybuddy/modules/importlicq.a
share/everybuddy/modules/importicq.so.0
share/everybuddy/modules/importicq.so
share/everybuddy/modules/importicq.la
share/everybuddy/modules/importicq.a
share/everybuddy/modules/smileys2.so.0
share/everybuddy/modules/smileys2.so
share/everybuddy/modules/smileys2.la
share/everybuddy/modules/smileys2.a
share/everybuddy/modules/smileysc.so.0
share/everybuddy/modules/smileysc.so
share/everybuddy/modules/smileysc.la
share/everybuddy/modules/smileysc.a
share/everybuddy/modules/notes.so.0
share/everybuddy/modules/notes.so
share/everybuddy/modules/notes.la
share/everybuddy/modules/notes.a
share/everybuddy/modules/middle.so.0
share/everybuddy/modules/middle.so
share/everybuddy/modules/middle.la
share/everybuddy/modules/middle.a
share/everybuddy/modules/rainbow.so.0
share/everybuddy/modules/rainbow.so
share/everybuddy/modules/rainbow.la
share/everybuddy/modules/rainbow.a
share/everybuddy/modules/autotrans.so.0
share/everybuddy/modules/autotrans.so
share/everybuddy/modules/autotrans.la
share/everybuddy/modules/autotrans.a
share/sounds/everybuddy/Send.au
@dirrm share/sounds/everybuddy
@dirrm share/everybuddy/modules
@dirrm share/everybuddy
@unexec rmdir %D/share/sounds 2>/dev/null || true
@dirrm lib/everybuddy/modules
@dirrm lib/everybuddy

View File

@ -7,22 +7,48 @@
PORTNAME= everybuddy
PORTVERSION= 0.4.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.everybuddy.com/files/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
MAINTAINER= jim@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile \
iconv.3:${PORTSDIR}/converters/libiconv
USE_X_PREFIX= yes
USE_GTK= yes
WANT_ESOUND= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -laudiofile"
CONFIGURE_ARGS= --disable-arts
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
MAN1= everybuddy.1
# no idea why config.h isn't created, but an empty one seems to work OK
post-patch:
touch ${WRKSRC}/config.h
.include <bsd.port.pre.mk>
.include <bsd.port.mk>
.if defined(HAVE_ESOUND)
USE_ESOUND= yes
.else
CONFIGURE_ARGS+= --disable-esd
.endif
pre-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
s|-D_REENTRANT -Wall -g|-D_REENTRANT ${PTHREAD_CFLAGS}|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|share/everybuddy/modules|/lib/everybuddy/modules|g' \
${WRKSRC}/src/config.sh.in
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|^Utilitiesdir|#Utilitiesdir|g; \
s|^Utilities_DATA|#Utilities_DATA|g; \
s|[(]datadir[)]/everybuddy|(prefix)/lib/everybuddy|g; \
s|-module|-module -avoid-version|g'
.include <bsd.port.post.mk>

View File

@ -1,11 +0,0 @@
--- configure.old Wed May 29 19:50:21 2002
+++ configure Wed May 29 19:50:29 2002
@@ -9178,7 +9178,7 @@
CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include"
EB_CFLAGS="$CFLAGS -I../"
-EB_LIBS="$LIBS -L../libproxy -lproxy"
+EB_LIBS="$LIBS -L../libproxy -lproxy -lintl"
EB_LDADD="$LDADD"
EB_CFLAGS="$EB_CFLAGS -D_REENTRANT -Wall -g "

View File

@ -0,0 +1,10 @@
--- configure.orig Fri May 17 09:04:56 2002
+++ configure Thu May 30 01:12:46 2002
@@ -5451,6 +5451,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View File

@ -1 +1 @@
A "chat" program that combines AIM, ICQ, Yahoo, MSN, Jabber and IRC into one
A "chat" program that combines AIM, ICQ, and Yahoo! Chat into one

View File

@ -1,78 +1,28 @@
bin/contact-update.pl
bin/everybuddy
bin/update.pl
bin/contact-update.pl
lib/charset.alias
share/pixmaps/ebicon.png
lib/everybuddy/modules/aim-toc.so
lib/everybuddy/modules/autotrans.so
lib/everybuddy/modules/icq.so
lib/everybuddy/modules/import_gaim.so
lib/everybuddy/modules/import_gnomeicu.so
lib/everybuddy/modules/importicq.so
lib/everybuddy/modules/importlicq.so
lib/everybuddy/modules/irc.so
lib/everybuddy/modules/jabber.so
lib/everybuddy/modules/middle.so
lib/everybuddy/modules/msn2.so
lib/everybuddy/modules/notes.so
lib/everybuddy/modules/rainbow.so
lib/everybuddy/modules/smileys2.so
lib/everybuddy/modules/smileysc.so
lib/everybuddy/modules/yahoo2.so
share/locale/fr/LC_MESSAGES/everybuddy.mo
share/locale/locale.alias
share/sounds/everybuddy/BuddyArrive.au
share/sounds/everybuddy/BuddyLeave.au
share/sounds/everybuddy/Send.au
share/sounds/everybuddy/Receive.au
share/everybuddy/modules/aim-toc.so.0
share/everybuddy/modules/aim-toc.so
share/everybuddy/modules/aim-toc.la
share/everybuddy/modules/aim-toc.a
share/everybuddy/modules/icq.so.0
share/everybuddy/modules/icq.so
share/everybuddy/modules/icq.la
share/everybuddy/modules/icq.a
share/everybuddy/modules/irc.so.0
share/everybuddy/modules/irc.so
share/everybuddy/modules/irc.la
share/everybuddy/modules/irc.a
share/everybuddy/modules/jabber.so.0
share/everybuddy/modules/jabber.so
share/everybuddy/modules/jabber.la
share/everybuddy/modules/jabber.a
share/everybuddy/modules/msn2.so.0
share/everybuddy/modules/msn2.so
share/everybuddy/modules/msn2.la
share/everybuddy/modules/msn2.a
share/everybuddy/modules/yahoo2.so.0
share/everybuddy/modules/yahoo2.so
share/everybuddy/modules/yahoo2.la
share/everybuddy/modules/yahoo2.a
share/everybuddy/modules/import_gaim.so.0
share/everybuddy/modules/import_gaim.so
share/everybuddy/modules/import_gaim.la
share/everybuddy/modules/import_gaim.a
share/everybuddy/modules/import_gnomeicu.so.0
share/everybuddy/modules/import_gnomeicu.so
share/everybuddy/modules/import_gnomeicu.la
share/everybuddy/modules/import_gnomeicu.a
share/everybuddy/modules/importlicq.so.0
share/everybuddy/modules/importlicq.so
share/everybuddy/modules/importlicq.la
share/everybuddy/modules/importlicq.a
share/everybuddy/modules/importicq.so.0
share/everybuddy/modules/importicq.so
share/everybuddy/modules/importicq.la
share/everybuddy/modules/importicq.a
share/everybuddy/modules/smileys2.so.0
share/everybuddy/modules/smileys2.so
share/everybuddy/modules/smileys2.la
share/everybuddy/modules/smileys2.a
share/everybuddy/modules/smileysc.so.0
share/everybuddy/modules/smileysc.so
share/everybuddy/modules/smileysc.la
share/everybuddy/modules/smileysc.a
share/everybuddy/modules/notes.so.0
share/everybuddy/modules/notes.so
share/everybuddy/modules/notes.la
share/everybuddy/modules/notes.a
share/everybuddy/modules/middle.so.0
share/everybuddy/modules/middle.so
share/everybuddy/modules/middle.la
share/everybuddy/modules/middle.a
share/everybuddy/modules/rainbow.so.0
share/everybuddy/modules/rainbow.so
share/everybuddy/modules/rainbow.la
share/everybuddy/modules/rainbow.a
share/everybuddy/modules/autotrans.so.0
share/everybuddy/modules/autotrans.so
share/everybuddy/modules/autotrans.la
share/everybuddy/modules/autotrans.a
share/sounds/everybuddy/Send.au
@dirrm share/sounds/everybuddy
@dirrm share/everybuddy/modules
@dirrm share/everybuddy
@unexec rmdir %D/share/sounds 2>/dev/null || true
@dirrm lib/everybuddy/modules
@dirrm lib/everybuddy

View File

@ -7,22 +7,48 @@
PORTNAME= everybuddy
PORTVERSION= 0.4.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.everybuddy.com/files/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
MAINTAINER= jim@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile \
iconv.3:${PORTSDIR}/converters/libiconv
USE_X_PREFIX= yes
USE_GTK= yes
WANT_ESOUND= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -laudiofile"
CONFIGURE_ARGS= --disable-arts
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
MAN1= everybuddy.1
# no idea why config.h isn't created, but an empty one seems to work OK
post-patch:
touch ${WRKSRC}/config.h
.include <bsd.port.pre.mk>
.include <bsd.port.mk>
.if defined(HAVE_ESOUND)
USE_ESOUND= yes
.else
CONFIGURE_ARGS+= --disable-esd
.endif
pre-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
s|-D_REENTRANT -Wall -g|-D_REENTRANT ${PTHREAD_CFLAGS}|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|share/everybuddy/modules|/lib/everybuddy/modules|g' \
${WRKSRC}/src/config.sh.in
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|^Utilitiesdir|#Utilitiesdir|g; \
s|^Utilities_DATA|#Utilities_DATA|g; \
s|[(]datadir[)]/everybuddy|(prefix)/lib/everybuddy|g; \
s|-module|-module -avoid-version|g'
.include <bsd.port.post.mk>

View File

@ -1,11 +0,0 @@
--- configure.old Wed May 29 19:50:21 2002
+++ configure Wed May 29 19:50:29 2002
@@ -9178,7 +9178,7 @@
CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include"
EB_CFLAGS="$CFLAGS -I../"
-EB_LIBS="$LIBS -L../libproxy -lproxy"
+EB_LIBS="$LIBS -L../libproxy -lproxy -lintl"
EB_LDADD="$LDADD"
EB_CFLAGS="$EB_CFLAGS -D_REENTRANT -Wall -g "

View File

@ -0,0 +1,10 @@
--- configure.orig Fri May 17 09:04:56 2002
+++ configure Thu May 30 01:12:46 2002
@@ -5451,6 +5451,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View File

@ -1 +1 @@
A "chat" program that combines AIM, ICQ, Yahoo, MSN, Jabber and IRC into one
A "chat" program that combines AIM, ICQ, and Yahoo! Chat into one

View File

@ -1,78 +1,28 @@
bin/contact-update.pl
bin/everybuddy
bin/update.pl
bin/contact-update.pl
lib/charset.alias
share/pixmaps/ebicon.png
lib/everybuddy/modules/aim-toc.so
lib/everybuddy/modules/autotrans.so
lib/everybuddy/modules/icq.so
lib/everybuddy/modules/import_gaim.so
lib/everybuddy/modules/import_gnomeicu.so
lib/everybuddy/modules/importicq.so
lib/everybuddy/modules/importlicq.so
lib/everybuddy/modules/irc.so
lib/everybuddy/modules/jabber.so
lib/everybuddy/modules/middle.so
lib/everybuddy/modules/msn2.so
lib/everybuddy/modules/notes.so
lib/everybuddy/modules/rainbow.so
lib/everybuddy/modules/smileys2.so
lib/everybuddy/modules/smileysc.so
lib/everybuddy/modules/yahoo2.so
share/locale/fr/LC_MESSAGES/everybuddy.mo
share/locale/locale.alias
share/sounds/everybuddy/BuddyArrive.au
share/sounds/everybuddy/BuddyLeave.au
share/sounds/everybuddy/Send.au
share/sounds/everybuddy/Receive.au
share/everybuddy/modules/aim-toc.so.0
share/everybuddy/modules/aim-toc.so
share/everybuddy/modules/aim-toc.la
share/everybuddy/modules/aim-toc.a
share/everybuddy/modules/icq.so.0
share/everybuddy/modules/icq.so
share/everybuddy/modules/icq.la
share/everybuddy/modules/icq.a
share/everybuddy/modules/irc.so.0
share/everybuddy/modules/irc.so
share/everybuddy/modules/irc.la
share/everybuddy/modules/irc.a
share/everybuddy/modules/jabber.so.0
share/everybuddy/modules/jabber.so
share/everybuddy/modules/jabber.la
share/everybuddy/modules/jabber.a
share/everybuddy/modules/msn2.so.0
share/everybuddy/modules/msn2.so
share/everybuddy/modules/msn2.la
share/everybuddy/modules/msn2.a
share/everybuddy/modules/yahoo2.so.0
share/everybuddy/modules/yahoo2.so
share/everybuddy/modules/yahoo2.la
share/everybuddy/modules/yahoo2.a
share/everybuddy/modules/import_gaim.so.0
share/everybuddy/modules/import_gaim.so
share/everybuddy/modules/import_gaim.la
share/everybuddy/modules/import_gaim.a
share/everybuddy/modules/import_gnomeicu.so.0
share/everybuddy/modules/import_gnomeicu.so
share/everybuddy/modules/import_gnomeicu.la
share/everybuddy/modules/import_gnomeicu.a
share/everybuddy/modules/importlicq.so.0
share/everybuddy/modules/importlicq.so
share/everybuddy/modules/importlicq.la
share/everybuddy/modules/importlicq.a
share/everybuddy/modules/importicq.so.0
share/everybuddy/modules/importicq.so
share/everybuddy/modules/importicq.la
share/everybuddy/modules/importicq.a
share/everybuddy/modules/smileys2.so.0
share/everybuddy/modules/smileys2.so
share/everybuddy/modules/smileys2.la
share/everybuddy/modules/smileys2.a
share/everybuddy/modules/smileysc.so.0
share/everybuddy/modules/smileysc.so
share/everybuddy/modules/smileysc.la
share/everybuddy/modules/smileysc.a
share/everybuddy/modules/notes.so.0
share/everybuddy/modules/notes.so
share/everybuddy/modules/notes.la
share/everybuddy/modules/notes.a
share/everybuddy/modules/middle.so.0
share/everybuddy/modules/middle.so
share/everybuddy/modules/middle.la
share/everybuddy/modules/middle.a
share/everybuddy/modules/rainbow.so.0
share/everybuddy/modules/rainbow.so
share/everybuddy/modules/rainbow.la
share/everybuddy/modules/rainbow.a
share/everybuddy/modules/autotrans.so.0
share/everybuddy/modules/autotrans.so
share/everybuddy/modules/autotrans.la
share/everybuddy/modules/autotrans.a
share/sounds/everybuddy/Send.au
@dirrm share/sounds/everybuddy
@dirrm share/everybuddy/modules
@dirrm share/everybuddy
@unexec rmdir %D/share/sounds 2>/dev/null || true
@dirrm lib/everybuddy/modules
@dirrm lib/everybuddy