Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 13:43:13 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/25434: Update port: mail/althea
Message-ID:  <200102272143.f1RLhDP46808@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25434
>Category:       ports
>Synopsis:       Update port: mail/althea
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 27 13:50:03 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support PREFIX/GTK_CONFIG properly
- Sort pkg-plist

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/mail/althea/Makefile mail/althea/Makefile
--- /usr/ports/mail/althea/Makefile	Tue Feb 27 06:05:19 2001
+++ mail/althea/Makefile	Wed Feb 28 01:20:40 2001
@@ -7,21 +7,22 @@
 
 PORTNAME=	althea
 PORTVERSION=	0.3.4
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports@freebsd.org
+MAINTAINER=	ports@FreeBSD.org
 
 USE_GTK=	yes
+MAKE_ENV=	MKDIR="${MKDIR}"
 MAKEFILE=	${FILESDIR}/Makefile.bsd
-MAKE_ARGS+=	-j 2
-MAKE_ENV+=	INSTALL_DATA="${INSTALL_DATA}" MKDIR="${MKDIR}"
 
 post-patch:
-	${PERL} -pi -e "s%/etc%${LOCALBASE}/etc%g" \
+	@${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" \
 		${WRKSRC}/Documentation/help.html \
+		${WRKSRC}/load_config.cpp \
 		${WRKSRC}/load_config.h
 
 .include <bsd.port.mk>
diff -urN /usr/ports/mail/althea/files/Makefile.bsd mail/althea/files/Makefile.bsd
--- /usr/ports/mail/althea/files/Makefile.bsd	Tue Feb 27 06:05:19 2001
+++ mail/althea/files/Makefile.bsd	Wed Feb 28 00:31:57 2001
@@ -4,20 +4,18 @@
 objs!=	${MAKE} -V OBJS -f ${.CURDIR}/Makefile
 SRCS:=	${objs:.o=.cpp} main.cpp
 
-BINDIR=${LOCALBASE}/bin
-DOCDIR=${LOCALBASE}/share/doc/${PROG}
-PIXDIR=${LOCALBASE}/share/${PROG}
+BINDIR=${PREFIX}/bin
+DOCDIR=${PREFIX}/share/doc/${PROG}
+PIXDIR=${PREFIX}/share/${PROG}
 
 # Compiled-in pathes:
 CXXFLAGS+=-DDOCDIR=\"${DOCDIR}\" -DPIXDIR=\"${PIXDIR}\"
 
 # Use the GTK's CFLAGS:
-CXXFLAGS+=-I${LOCALBASE}/include/gtk12 -I${LOCALBASE}/include/glib12 \
-	-I${LOCALBASE}/include -I${LOCALBASE}/include
+CXXFLAGS+=`${GTK_CONFIG} --cflags`
 
 # Use the GTK's libraries:
-LDADD+=	-L${LOCALBASE}/lib -L${X11BASE}/lib -lgtk12 -lgdk12 \
-	-Wl,-E -lgmodule12 -lglib12 -lintl -lxpg4 -lXext -lX11 -lm
+LDADD+=`${GTK_CONFIG} --libs`
 
 # A hack to ensure C++ is called to do the final linking:
 CC:=	${CXX}
@@ -26,9 +24,9 @@
 	${MKDIR} $@
 
 beforeinstall: ${DOCDIR}/images ${PIXDIR}
-	${INSTALL_DATA} ${.CURDIR}/Documentation/*.* ${DOCDIR}
-	${INSTALL_DATA} ${.CURDIR}/Documentation/images/*.* ${DOCDIR}/images
-	${INSTALL_DATA} ${.CURDIR}/pixmaps/*.* ${PIXDIR}
-	${INSTALL_DATA} ${.CURDIR}/althearc.example ${LOCALBASE}/etc/
+	${BSD_INSTALL_DATA} ${.CURDIR}/Documentation/*.* ${DOCDIR}
+	${BSD_INSTALL_DATA} ${.CURDIR}/Documentation/images/*.* ${DOCDIR}/images
+	${BSD_INSTALL_DATA} ${.CURDIR}/pixmaps/*.* ${PIXDIR}
+	${BSD_INSTALL_DATA} ${.CURDIR}/althearc.example ${PREFIX}/etc/
 
 .include <bsd.prog.mk>
diff -urN /usr/ports/mail/althea/pkg-descr mail/althea/pkg-descr
--- /usr/ports/mail/althea/pkg-descr	Tue Feb 27 06:05:19 2001
+++ mail/althea/pkg-descr	Wed Feb 28 01:19:23 2001
@@ -1,7 +1,7 @@
 The designers of Althea felt that there wasn't a stable, easy to
-use, GUI, IMAP (Internet  Message Access Protocol) e-mail client
-for X Windows.  The design goal was a stable  e-mail client with
-the  richness of  usability of  Microsoft's Outlook,  Qualcomm's
-Eudora, and Cyrusoft's Mulberry.
+use, GUI, IMAP (Internet Message Access Protocol) e-mail client
+for X/GTK+. The design goal was a stable  e-mail client with the
+richness of usability of Microsoft's Outlook, Qualcomm's Eudora,
+and Cyrusoft's Mulberry.
 
 WWW: http://althea.sourceforge.net/
diff -urN /usr/ports/mail/althea/pkg-plist mail/althea/pkg-plist
--- /usr/ports/mail/althea/pkg-plist	Tue Feb 27 06:05:19 2001
+++ mail/althea/pkg-plist	Wed Feb 28 00:37:10 2001
@@ -1,17 +1,5 @@
 bin/althea
 etc/althearc.example
-share/doc/althea/images/althea.png
-share/doc/althea/images/altheaRound.png
-share/doc/althea/images/fileMenu.png
-share/doc/althea/images/helpMenu.png
-share/doc/althea/images/messageMenu.png
-share/doc/althea/images/sf.gif
-share/doc/althea/images/toolbar.png
-share/doc/althea/images/typicalSession.png
-share/doc/althea/images/typicalSessionSmall.png
-@dirrm share/doc/althea/images
-share/doc/althea/help.html
-@dirrm share/doc/althea
 share/althea/address.xpm
 share/althea/althea.xpm
 share/althea/attach.xpm
@@ -26,4 +14,16 @@
 share/althea/save.xpm
 share/althea/send.xpm
 share/althea/server.xpm
+share/doc/althea/help.html
+share/doc/althea/images/althea.png
+share/doc/althea/images/altheaRound.png
+share/doc/althea/images/fileMenu.png
+share/doc/althea/images/helpMenu.png
+share/doc/althea/images/messageMenu.png
+share/doc/althea/images/sf.gif
+share/doc/althea/images/toolbar.png
+share/doc/althea/images/typicalSession.png
+share/doc/althea/images/typicalSessionSmall.png
+@dirrm share/doc/althea/images
+@dirrm share/doc/althea
 @dirrm share/althea

>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?200102272143.f1RLhDP46808>