1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Support PREFIX/GTK_CONFIG properly

- Sort pkg-plist

PR: 25434
Submitted by: Ports Fury
This commit is contained in:
Kevin Lo 2001-02-28 15:51:02 +00:00
parent 2a1c3c4533
commit 4be94b91be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38899
4 changed files with 31 additions and 32 deletions

View File

@ -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>

View File

@ -4,20 +4,18 @@ NOMAN= forget it :(
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 @@ ${DOCDIR}/images ${PIXDIR}:
${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>

View File

@ -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/

View File

@ -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/reply.xpm
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