Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 14:19:44 +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: r339239 - head/converters/o3read
Message-ID:  <201401091419.s09EJiTv065780@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jan  9 14:19:44 2014
New Revision: 339239
URL: http://svnweb.freebsd.org/changeset/ports/339239

Log:
  Support stage & use pkg-plist

Added:
  head/converters/o3read/pkg-plist   (contents, props changed)
Modified:
  head/converters/o3read/Makefile

Modified: head/converters/o3read/Makefile
==============================================================================
--- head/converters/o3read/Makefile	Thu Jan  9 14:10:39 2014	(r339238)
+++ head/converters/o3read/Makefile	Thu Jan  9 14:19:44 2014	(r339239)
@@ -11,27 +11,17 @@ MASTER_SITE_SUBDIR=	distfiles
 MAINTAINER=	samm@os2.kiev.ua
 COMMENT=	Standalone converter for the OpenOffice.org writer and scalc formats
 
-MAN1=		o3read.1 utf8tolatin1.1
-MLINKS=		o3read.1 o3totxt.1 o3read.1 o3tohtml.1
 PORTDOCS=	README COPYING ChangeLog
-PLIST_FILES=	bin/o3read bin/o3totxt bin/o3tohtml bin/utf8tolatin1
-
-NO_STAGE=	yes
-
-.include <bsd.port.options.mk>
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/o3read ${PREFIX}/bin
-	@${INSTALL_PROGRAM} ${WRKSRC}/o3totxt ${PREFIX}/bin
-	@${INSTALL_PROGRAM} ${WRKSRC}/o3tohtml ${PREFIX}/bin
-	@${INSTALL_PROGRAM} ${WRKSRC}/utf8tolatin1 ${PREFIX}/bin
-	@${INSTALL_MAN} ${WRKSRC}/o3read.1 ${MANPREFIX}/man/man1
-	@${INSTALL_MAN} ${WRKSRC}/utf8tolatin1.1 ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/o3read ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/o3totxt ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/o3tohtml ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/utf8tolatin1 ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for FILE in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Added: head/converters/o3read/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/o3read/pkg-plist	Thu Jan  9 14:19:44 2014	(r339239)
@@ -0,0 +1,8 @@
+bin/o3read
+bin/o3tohtml
+bin/o3totxt
+bin/utf8tolatin1
+man/man1/o3read.1.gz
+man/man1/o3tohtml.1.gz
+man/man1/o3totxt.1.gz
+man/man1/utf8tolatin1.1.gz



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