diff options
Diffstat (limited to 'mail/offlineimap/Makefile')
-rw-r--r-- | mail/offlineimap/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/mail/offlineimap/Makefile b/mail/offlineimap/Makefile index d601bcdfa2f0..50f8105dda83 100644 --- a/mail/offlineimap/Makefile +++ b/mail/offlineimap/Makefile @@ -6,7 +6,7 @@ # PORTNAME= offlineimap -PORTVERSION= 3.99.3 +PORTVERSION= 3.99.6 CATEGORIES= mail python MASTER_SITES= http://gopher.quux.org:70/devel/offlineimap/ DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -14,12 +14,16 @@ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= nbm@FreeBSD.org WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +PKGMESSAGE= ${WRKDIR}/pkg-message USE_PYTHON= yes USE_PYDISTUTILS=yes MAN1= offlineimap.1 DOCS= manual.html manual.pdf manual.ps manual.txt +EXAMPLES= offlineimap.conf offlineimap.conf.minimal + +DEFAULT_EXAMPLES_DIR=/usr/local/share/examples/offlineimap post-install: ${INSTALL_MAN} ${WRKSRC}/offlineimap.1 ${MANPREFIX}/man/man1/ @@ -29,8 +33,12 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/offlineimap.conf ${EXAMPLESDIR} - @${SED} -e 's!__EXAMPLESDIR__!${EXAMPLESDIR}!' ${PKGMESSAGE} + @${MKDIR} ${EXAMPLESDIR} +.for file in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR} +.endfor + @${SED} -e 's!${DEFAULT_EXAMPLES_DIR}!${EXAMPLESDIR}!' \ + ${MASTERDIR}/pkg-message > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |