Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 13:29:24 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346511 - head/textproc/xlhtml
Message-ID:  <201402281329.s1SDTOIV096525@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb 28 13:29:24 2014
New Revision: 346511
URL: http://svnweb.freebsd.org/changeset/ports/346511
QAT: https://qat.redports.org/buildarchive/r346511/

Log:
  - Support staging
  - USES -> gmake
  - Define DOCS option
  - Remove redundant CONFIGURE_ARGS definition
  - Strip binaries
  - Add license

Modified:
  head/textproc/xlhtml/Makefile
  head/textproc/xlhtml/pkg-plist

Modified: head/textproc/xlhtml/Makefile
==============================================================================
--- head/textproc/xlhtml/Makefile	Fri Feb 28 13:23:08 2014	(r346510)
+++ head/textproc/xlhtml/Makefile	Fri Feb 28 13:29:24 2014	(r346511)
@@ -12,20 +12,22 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Convert Excel and PowerPoint files to HTML and text
 
-USE_GMAKE=	yes
+LICENSE=	GPLv2
+
+USES=		gmake
+
 USE_AUTOTOOLS=	automake14 autoconf
-CONFIGURE_ARGS=	--mandir=${PREFIX}/man
-NO_STAGE=	yes
 
-MAN1=		ppthtml.1 xlhtml.1
+OPTIONS_DEFINE=	DOCS
 
-.if !defined(NOPORTDOCS)
 post-install:
 .for dir in xlhtml ppthtml
-	@${MKDIR} ${DOCSDIR}/${dir}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/${dir}
 	cd ${WRKSRC}/${dir} && \
-		${INSTALL_DATA} ChangeLog README THANKS ${DOCSDIR}/${dir}
+		${INSTALL_DATA} ChangeLog README THANKS \
+		${STAGEDIR}${DOCSDIR}/${dir}
 .endfor
-.endif
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xlhtml \
+		${STAGEDIR}${PREFIX}/bin/ppthtml
 
 .include <bsd.port.mk>

Modified: head/textproc/xlhtml/pkg-plist
==============================================================================
--- head/textproc/xlhtml/pkg-plist	Fri Feb 28 13:23:08 2014	(r346510)
+++ head/textproc/xlhtml/pkg-plist	Fri Feb 28 13:29:24 2014	(r346511)
@@ -3,6 +3,8 @@ bin/nspptview
 bin/nsxlview
 bin/ppthtml
 bin/xlhtml
+man/man1/ppthtml.1.gz
+man/man1/xlhtml.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/xlhtml/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/xlhtml/README
 %%PORTDOCS%%%%DOCSDIR%%/xlhtml/THANKS



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