aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 13:36:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 13:36:10 +0000
commit547559a424e66d65424b1d0645ae2877c46375dc (patch)
treeaefea008b4d0954fb657d0a9ff695ce41084b1df /converters
parent664c716461f5ecf249ff6ae45cdd6dc9b2b1dd74 (diff)
downloadports-547559a424e66d65424b1d0645ae2877c46375dc.tar.gz
ports-547559a424e66d65424b1d0645ae2877c46375dc.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/fix-mime-charset/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/converters/fix-mime-charset/Makefile b/converters/fix-mime-charset/Makefile
index a5f341ffe151..1f678d11cf65 100644
--- a/converters/fix-mime-charset/Makefile
+++ b/converters/fix-mime-charset/Makefile
@@ -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>