svn commit: r339232 - head/converters/fix-mime-charset
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jan 9 13:36:10 UTC 2014
Author: bapt
Date: Thu Jan 9 13:36:10 2014
New Revision: 339232
URL: http://svnweb.freebsd.org/changeset/ports/339232
Log:
Support stage
Modified:
head/converters/fix-mime-charset/Makefile
Modified: head/converters/fix-mime-charset/Makefile
==============================================================================
--- head/converters/fix-mime-charset/Makefile Thu Jan 9 13:33:41 2014 (r339231)
+++ head/converters/fix-mime-charset/Makefile Thu Jan 9 13:36:10 2014 (r339232)
@@ -10,6 +10,8 @@ MASTER_SITES= SF/fix-mime-chr/${PORTNAME
MAINTAINER= chip-set at 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>
More information about the svn-ports-all
mailing list