Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 09:04:31 +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: r346156 - head/textproc/odt2txt
Message-ID:  <201402260904.s1Q94Vts014330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 26 09:04:31 2014
New Revision: 346156
URL: http://svnweb.freebsd.org/changeset/ports/346156
QAT: https://qat.redports.org/buildarchive/r346156/

Log:
  Support staging

Modified:
  head/textproc/odt2txt/Makefile

Modified: head/textproc/odt2txt/Makefile
==============================================================================
--- head/textproc/odt2txt/Makefile	Wed Feb 26 09:03:17 2014	(r346155)
+++ head/textproc/odt2txt/Makefile	Wed Feb 26 09:04:31 2014	(r346156)
@@ -9,26 +9,23 @@ MASTER_SITES=	http://stosberg.net/odt2tx
 		ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
 
 MAINTAINER=	alexey@renatasystems.org
-COMMENT=	A simple converter from OpenDocument Text to plain text
+COMMENT=	Simple converter from OpenDocument Text to plain text
 
 LICENSE=	GPLv2
 
-USE_GMAKE=	yes
-USES=		iconv
+USES=		iconv gmake
+
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-PLIST_FILES=	bin/odt2txt
-
-MAN1=		odt2txt.1
+PLIST_FILES=	bin/odt2txt man/man1/odt2txt.1.gz
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
 		-e 's#-liconv#${ICONV_LIB}#' ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/odt2txt ${PREFIX}/bin/odt2txt
-	${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${MANPREFIX}/man/man1/odt2txt.1
+	${INSTALL_PROGRAM} ${WRKSRC}/odt2txt ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>



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