1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- update to 0.23

- support staging

while here:
- move manpages to packing-list
- remove MAKE_JOBS_UNSAFE - builds fine here
- install docs and examples to stage area unconditionally
- remove redundant inclusion of bsd.port.options.mk

PR:		186667
Submitted by:	Jose Garcia Juanino <jjuanino@gmail.com> (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov 2014-02-12 10:16:07 +00:00
parent 14091d922b
commit 36de9ba19d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343883
2 changed files with 13 additions and 21 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mairix
PORTVERSION= 0.22
PORTVERSION= 0.23
CATEGORIES= mail
MASTER_SITES= SF
@ -14,11 +14,11 @@ LICENSE= GPLv2
USES= bison gmake
HAS_CONFIGURE= yes
MAN1= mairix.1
MAN5= mairixrc.5
PORTDOCS= NEWS README
PORTEXAMPLES= dotmairixrc.eg
PLIST_FILES= bin/mairix
PLIST_FILES= bin/mairix \
man/man1/mairix.1.gz \
man/man5/mairixrc.5.gz
OPTIONS_DEFINE= GZIP BZIP2 EXAMPLES DOCS
GZIP_DESC= gzip compressed mbox support
@ -27,26 +27,18 @@ BZIP2_DESC= bzip2 compressed mbox support
GZIP_CONFIGURE_ENABLE= gzip-mbox
BZIP2_CONFIGURE_ENABLE= bzip-mbox
MAKE_JOBS_UNSAFE= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
# Do not hardcode make(1) binary name
post-patch:
@${REINPLACE_CMD} -E 's|cd (.+) ; make|$$(MAKE) -C \1|' \
${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mairix ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mairix.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/mairixrc.5 ${MANPREFIX}/man/man5
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/README ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/dotmairixrc.eg ${EXAMPLESDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/mairix ${STAGEDIR}/${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mairix.1 ${STAGEDIR}/${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/mairixrc.5 ${STAGEDIR}/${MANPREFIX}/man/man5
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR}
@${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/dotmairixrc.eg ${STAGEDIR}/${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (mairix-0.22.tar.gz) = 141fb273ef9f77562e609a9f6d2f783b680cc4e04be0f9ca8d682f8bc6c19d4f
SIZE (mairix-0.22.tar.gz) = 161843
SHA256 (mairix-0.23.tar.gz) = 804e235b183c3350071a28cdda8eb465bcf447092a8206f40486191875bdf2fb
SIZE (mairix-0.23.tar.gz) = 193726