1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-01-09 13:36:10 +00:00
parent 664c716461
commit 547559a424
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339232

View File

@ -10,6 +10,8 @@ MASTER_SITES= SF/fix-mime-chr/${PORTNAME}/${PORTVERSION}
MAINTAINER= chip-set@mail.ru
COMMENT= Fix incorrect Content-Type MIME headers of e-mail messages
OPTIONS_DEFINE= DOCS
LIB_DEPENDS= libenca.so:${PORTSDIR}/converters/enca
PORTDOCS= README.koi8r README
@ -21,19 +23,13 @@ USE_PERL5= build
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
MAN1= fix-mime-charset.1
PLIST_FILES= bin/fix-mime-charset
NO_STAGE= yes
.include <bsd.port.options.mk>
PLIST_FILES= bin/fix-mime-charset \
man/man1/fix-mime-charset.1.gz
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>