Date: Sat, 9 Jun 2001 18:51:09 +0400 (MSD) From: osa@FreeBSD.org.ru To: FreeBSD-gnats-submit@freebsd.org Subject: ports/27989: mail/stuphead update to 0.5.3 (by maintainer) Message-ID: <20010609145109.F1A9E24B@freebsd.org.ru>
next in thread | raw e-mail | index | archive | help
>Number: 27989 >Category: ports >Synopsis: mail/stuphead update to 0.5.3 (by maintainer) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jun 09 08:00:04 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Sergey A. Osokin >Release: FreeBSD 4.3-STABLE i386 >Organization: Russian FreeBSD Team >Environment: System: FreeBSD hole.etrust.ru 4.3-STABLE FreeBSD 4.3-STABLE #0: Wed May 23 15:10:44 MSD 2001 root@hole.etrust.ru:/usr/src/sys/compile/SWEET i386 >Description: mail/stuphead update to 0.5.3 (by maintainer) >How-To-Repeat: >Fix: 1) Remove patch-Makefile.in and patch-src::stuphead 2) Apply following patch diff -ruN stuphead.old/Makefile stuphead/Makefile --- stuphead.old/Makefile Sat Jun 9 13:44:43 2001 +++ stuphead/Makefile Sat Jun 9 18:45:40 2001 @@ -6,12 +6,12 @@ # PORTNAME= stuphead -PORTVERSION= 0.5.2 +PORTVERSION= 0.5.3 CATEGORIES= mail gnome MASTER_SITES= http://stuphead.antex.ru/ PATCH_SITES= ${MASTER_SITES} -PATCHFILES= ${PORTNAME}-${PORTVERSION}.patch +PATCHFILES= ${PORTNAME}-${PORTVERSION}-1.patch MAINTAINER= ozz@FreeBSD.org.ru @@ -34,6 +34,7 @@ .if defined (WITH_GNOME) USE_GNOME= yes +PLIST= ${PKGDIR}/pkg-plist.gnome CONFIGURE_ARGS+= --enable-gnome .else CONFIGURE_ARGS+= --disable-imlib \ @@ -41,6 +42,7 @@ .endif .if defined (WITH_MOZILLA) +PLIST= ${PKGDIR}/pkg-plist.mozilla CONFIGURE_ARGS+= --enable-mozilla BUILD_DEPENDS+= ${PREFIX}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers RUN_DEPENDS+= ${PREFIX}/bin/mozilla:${PORTSDIR}/www/mozilla @@ -55,5 +57,19 @@ ${WRKSRC}/configure @${PERL} -pi -e 's#/usr/bin/gnome-config#$(PREFIX)/bin/gnome-config#g' \ ${WRKSRC}/configure + +do-install: +.if defined (WITH_MOZILLA) + @ ${INSTALL_SCRIPT} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + @ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}bin ${PREFIX}/bin +.else + @ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}bin ${PREFIX}/bin/${PORTNAME} +.endif + @ ${INSTALL_DATA} ${WRKSRC}/src/pixmaps/${PORTNAME}.xpm ${PREFIX}/share/pixmaps + @ ${INSTALL_DATA} ${WRKSRC}/po/fr.gmo ${PREFIX}/share/locale/fr/LC_MESSAGES/${PORTNAME}.mo + @ ${INSTALL_DATA} ${WRKSRC}/po/ru.gmo ${PREFIX}/share/locale/ru/LC_MESSAGES/${PORTNAME}.mo +.if defined (WITH_GNOME) + @ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/gnome/apps/Internet +.endif .include <bsd.port.mk> diff -ruN stuphead.old/distinfo stuphead/distinfo --- stuphead.old/distinfo Sat Jun 9 13:44:43 2001 +++ stuphead/distinfo Sat Jun 9 18:45:08 2001 @@ -1,2 +1,2 @@ -MD5 (stuphead-0.5.2.tar.bz2) = 1e4024b142f10a73a08da0035867c03a -MD5 (stuphead-0.5.2.patch) = aeb8d2ea39e7c00910ecdcb8fbc622b2 +MD5 (stuphead-0.5.3.tar.bz2) = dcec0ec7a18b2bfa54508638a18c9900 +MD5 (stuphead-0.5.3-1.patch) = a5e1f78175e10aeeed2c0a21ed807834 diff -ruN stuphead.old/files/patch-Makefile.in stuphead/files/patch-Makefile.in --- stuphead.old/files/patch-Makefile.in Sat Jun 9 13:44:43 2001 +++ stuphead/files/patch-Makefile.in Thu Jan 1 03:00:00 1970 @@ -1,17 +0,0 @@ ---- Makefile.in.orig Fri May 4 19:56:35 2001 -+++ Makefile.in Fri May 4 19:57:01 2001 -@@ -424,11 +424,11 @@ - -rm -rf $(distdir) - - install-data-local: -- @INSTALL@ -d -m755 $(GNOME_DATADIR)/gnome/apps/Internet -- @INSTALL@ -m644 stuphead.desktop $(GNOME_DATADIR)/gnome/apps/Internet -+ @INSTALL@ -d -m755 $(GNOME_DATADIR)/apps/Internet -+ @INSTALL@ -m644 stuphead.desktop $(GNOME_DATADIR)/apps/Internet - - uninstall-local: -- rm -f $(GNOME_DATADIR)/gnome/apps/Internet/stuphead.desktop -+ rm -f $(GNOME_DATADIR)/apps/Internet/stuphead.desktop - - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. diff -ruN stuphead.old/files/patch-src::stuphead stuphead/files/patch-src::stuphead --- stuphead.old/files/patch-src::stuphead Sat Jun 9 13:44:43 2001 +++ stuphead/files/patch-src::stuphead Thu Jan 1 03:00:00 1970 @@ -1,11 +0,0 @@ ---- src/stuphead.orig Fri May 4 19:12:38 2001 -+++ src/stuphead Fri May 4 19:13:57 2001 -@@ -15,6 +15,8 @@ - MOZILLA_HOME=/usr/local/lib/mozilla - elif [ -f ~/mozilla/libgtkembedmoz.so ]; then - MOZILLA_HOME=~/mozilla -+elif [ -f /usr/X11R6/lib/mozilla/libgtkembedmoz.so ]; then -+ MOZILLA_HOME=/usr/X11R6/lib/mozilla - fi - - LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH diff -ruN stuphead.old/pkg-plist stuphead/pkg-plist --- stuphead.old/pkg-plist Sat Jun 9 13:44:43 2001 +++ stuphead/pkg-plist Sat Jun 9 13:13:58 2001 @@ -1,6 +1,4 @@ bin/stuphead -bin/stupheadbin share/locale/fr/LC_MESSAGES/stuphead.mo share/locale/ru/LC_MESSAGES/stuphead.mo share/pixmaps/stuphead.xpm -share/gnome/apps/Internet/stuphead.desktop diff -ruN stuphead.old/pkg-plist.gnome stuphead/pkg-plist.gnome --- stuphead.old/pkg-plist.gnome Thu Jan 1 03:00:00 1970 +++ stuphead/pkg-plist.gnome Fri Jun 8 19:24:35 2001 @@ -0,0 +1,6 @@ +bin/stuphead +bin/stupheadbin +share/locale/fr/LC_MESSAGES/stuphead.mo +share/locale/ru/LC_MESSAGES/stuphead.mo +share/pixmaps/stuphead.xpm +share/gnome/apps/Internet/stuphead.desktop diff -ruN stuphead.old/pkg-plist.mozilla stuphead/pkg-plist.mozilla --- stuphead.old/pkg-plist.mozilla Thu Jan 1 03:00:00 1970 +++ stuphead/pkg-plist.mozilla Sat Jun 9 13:13:42 2001 @@ -0,0 +1,5 @@ +bin/stuphead +bin/stupheadbin +share/locale/fr/LC_MESSAGES/stuphead.mo +share/locale/ru/LC_MESSAGES/stuphead.mo +share/pixmaps/stuphead.xpm >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010609145109.F1A9E24B>