freebsd-ports/mail/dkimap4/Makefile
Yen-Ming Lee d562e276af add USE_GCC=2.95 and unbreak this port.
replace pkg-plist with PORTDOCS and PLIST_FILES.
2004-02-08 08:29:07 +00:00

52 lines
1.3 KiB
Makefile

# New ports collection makefile for: dkimap4
# Date created: 18 June 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= dkimap4
PORTVERSION= 2.39
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.dbox.handshake.de/download/ \
http://www-2.cs.cmu.edu/~kroening/dbox/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= IMAP4rev1 and POP3 server from the DBOX BBS package
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GCC= 2.95
# dkimap will look for incoming mail folders (mbox format) here instead of
# the default from paths.h (/var/mail/) if you uncomment it:
#SPOOLDIR?= /var/mail/foo/
# dkimap message store:
DKIMAPSPOOL?= /var/spool/dkimap/
# remember to use a slash in the end of these directories
MAKE_ARGS+= BIN_DIR="${PREFIX}/bin" DKIMAPSPOOL="${DKIMAPSPOOL}"
.if defined(SPOOLDIR)
MAKE_ARGS+= SPOOLDIR="${SPOOLDIR}"
.endif
PORTDOCS= README
PLIST_FILES= bin/movemail libexec/dkimap4 libexec/dkpop3
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/movemail/movemail ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/dkimap4/dkimap4 ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/dkpop3/dkpop3 ${PREFIX}/libexec
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
.include <bsd.port.mk>