Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 13:36:10 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339232 - head/converters/fix-mime-charset
Message-ID:  <201401091336.s09DaABR049762@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401091336.s09DaABR049762>