mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
7f6ea9306d
- Bump PORTREVISION - STAGE-clean here and there
69 lines
1.5 KiB
Makefile
69 lines
1.5 KiB
Makefile
# Created by: gena
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xfmail
|
|
PORTVERSION= 1.5.5
|
|
PORTREVISION= 12
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://xfmail.cfreeze.com/pub/xfmail/release/%SUBDIR%/ \
|
|
ftp://ftp.welcomes-you.com/pub/xfmail/release/%SUBDIR%/ \
|
|
ftp://xfmail.ufies.org/pub/xfmail/release/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}/source/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An X Window System application for receiving electronic mail
|
|
|
|
LIB_DEPENDS= libforms.so:${PORTSDIR}/x11-toolkits/xforms \
|
|
libgdbm.so:${PORTSDIR}/databases/gdbm
|
|
|
|
USES= gmake
|
|
USE_AUTOTOOLS= libtool
|
|
USE_BZIP2= yes
|
|
USE_GCC= yes
|
|
USE_GNOME= glib12
|
|
GNU_CONFIGURE= yes
|
|
USE_XORG= xpm
|
|
USE_LDCONFIG= yes
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
CONFIGURE_ARGS= --with-dbm-lib=gdbm
|
|
|
|
.if defined(WITH_ESOUND)
|
|
USE_GNOME+= esound
|
|
CONFIGURE_ARGS+= --with-esd-sound
|
|
.endif
|
|
|
|
.if defined(WITH_NAS)
|
|
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
|
|
CONFIGURE_ARGS+= --with-nas-sound
|
|
.endif
|
|
|
|
.if defined(WITH_FACES)
|
|
LIB_DEPENDS+= compface:${PORTSDIR}/mail/faces
|
|
CONFIGURE_ARGS+= --with-faces
|
|
.endif
|
|
|
|
MAN1= xfmail.1
|
|
|
|
pre-everything::
|
|
@echo
|
|
.ifndef(WITH_ESOUND)
|
|
@echo "To build with esound support, restart make and define WITH_ESOUND"
|
|
.endif
|
|
.ifndef(WITH_NAS)
|
|
@echo "To build with Network Audio System support, restart make and define WITH_NAS"
|
|
.endif
|
|
.ifndef(WITH_FACES)
|
|
@echo "To build with faces support, restart make and define WITH_FACES"
|
|
.endif
|
|
@echo
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/libeditor/libxfeditor/g' \
|
|
${WRKSRC}/src/editor/Makefile.* \
|
|
${WRKSRC}/src/ui/Makefile.*
|
|
|
|
.include <bsd.port.post.mk>
|