mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
9d50625beb
conflict which kept the mailsync port from compiling. Resolve it.
46 lines
1.0 KiB
Makefile
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
|
|
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
|
|
USE_GCC= 2.95
|
|
|
|
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>
|