mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support staging
- USES -> gmake - New LIB_DEPENDS definition - Define EXAMPLES option - Define DOCS option
This commit is contained in:
parent
6f23ee2fee
commit
4ccab87c55
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348458
@ -11,32 +11,28 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Mailsync is a way of keeping a collection of mailboxes synchronized
|
||||
|
||||
LIB_DEPENDS= c-client4.9:${PORTSDIR}/mail/cclient
|
||||
LIB_DEPENDS= libc-client4.so:${PORTSDIR}/mail/cclient
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
USE_GMAKE= yes
|
||||
USES= gmake
|
||||
USE_OPENSSL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-c-client=${LOCALBASE}
|
||||
|
||||
MAN1= mailsync.1
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/src/mailsync ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/mailsync.1 ${PREFIX}/man/man1
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/mailsync ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/mailsync.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING NEWS README \
|
||||
THANKS TODO ${DOCSDIR}
|
||||
THANKS TODO ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${INSTALL_DATA} ABSTRACT HACKING \
|
||||
mail_open_close_flowchart.dia \
|
||||
mail_open_close_flowchart.svg \
|
||||
mail_open_close_flowchart2.svg ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/examples/mailsync ${EXAMPLESDIR}
|
||||
.endif
|
||||
mail_open_close_flowchart2.svg ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/examples/mailsync ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/mailsync
|
||||
man/man1/mailsync.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ABSTRACT
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user