svn commit: r346156 - head/textproc/odt2txt

Emanuel Haupt ehaupt at FreeBSD.org
Wed Feb 26 09:04:32 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list