1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/mail/mailsync/Makefile
Pav Lucistnik d12909dc3e - Unset USE_GCC=2.95 and add patch to fix build with gcc 3.x
- Respect CFLAGS
- Portlint

PR:		ports/69022
Submitted by:	Andrey Slusar <vasallia@ukr.net>
2004-07-14 15:46:55 +00:00

46 lines
1.0 KiB
Makefile

# New ports collection makefile for: mailsync
# Date created: 03 Feb 2003
# Whom: Maxim Tulyuk <mt@primats.org.ua>
#
# $FreeBSD$
#
PORTNAME= mailsync
PORTVERSION= 4.4.4
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}-1
MAINTAINER= mt@primats.org.ua
COMMENT= Mailsync is a way of keeping a collection of mailboxes synchronized
LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
USE_REINPLACE= yes
ALL_TARGET= default
MAN1= mailsync.1
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
${WRKSRC}/examples/mailsync \
${WRKSRC}/mailsync.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mailsync ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mailsync.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/mailsync ${EXAMPLESDIR}
.include <bsd.port.mk>