Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 18:18:16 +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: r347293 - head/converters/trans
Message-ID:  <201403061818.s26IIGfX030595@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Mar  6 18:18:15 2014
New Revision: 347293
URL: http://svnweb.freebsd.org/changeset/ports/347293
QAT: https://qat.redports.org/buildarchive/r347293/

Log:
  Support stage

Modified:
  head/converters/trans/Makefile
  head/converters/trans/pkg-plist

Modified: head/converters/trans/Makefile
==============================================================================
--- head/converters/trans/Makefile	Thu Mar  6 18:14:28 2014	(r347292)
+++ head/converters/trans/Makefile	Thu Mar  6 18:18:15 2014	(r347293)
@@ -11,10 +11,9 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Character encoding converter generator
 
 LIBDIR=		${PREFIX}/lib/trans
-MAN1=		transhtm.1 transiso.1 transce8.1 transtab.1 checkiso.1 \
+MANS=		transhtm.1 transiso.1 transce8.1 transtab.1 checkiso.1 \
 		checkuni.1
 
-NO_STAGE=	yes
 post-patch:
 # Fix the build against arbitrary make(1) implementation
 	@${REINPLACE_CMD} -e 's/cd src ; make/$$(MAKE) -C src/' \
@@ -24,24 +23,25 @@ post-patch:
 		${WRKSRC}/src/Makefile
 
 do-install:
-	cd ${WRKSRC}/src && ${INSTALL_PROGRAM} ${MAN1:R} ${PREFIX}/bin
-.for m in ${MAN1}
-	${INSTALL_MAN} ${WRKSRC}/src/${m:R}.man ${MANPREFIX}/man/man1/${m}
+	cd ${WRKSRC}/src && ${INSTALL_PROGRAM} ${MANS:R} ${STAGEDIR}${PREFIX}/bin
+.for m in ${MANS}
+	${INSTALL_MAN} ${WRKSRC}/src/${m:R}.man ${STAGEDIR}${MANPREFIX}/man/man1/${m}
 .endfor
-	@${MKDIR} ${LIBDIR}/cedf ${LIBDIR}/xlt ${LIBDIR}/doc ${LIBDIR}/bin \
-		${LIBDIR}/src
+	@${MKDIR} ${STAGEDIR}${LIBDIR}/cedf ${STAGEDIR}${LIBDIR}/xlt \
+		${STAGEDIR}${LIBDIR}/doc ${STAGEDIR}${LIBDIR}/bin \
+		${STAGEDIR}${LIBDIR}/src
 	cd ${WRKSRC}/src && \
 		${INSTALL_SCRIPT} checkall chkuni mkhtml mklist mkxlt \
-		${LIBDIR}/src
+		${STAGEDIR}${LIBDIR}/src
 	cd ${WRKSRC} && \
-		${INSTALL_DATA} README encoding.lis ${LIBDIR}
+		${INSTALL_DATA} README encoding.lis ${STAGEDIR}${LIBDIR}
 	cd ${WRKSRC}/src && \
-		${INSTALL_DATA} datatype.h ${LIBDIR}/src
+		${INSTALL_DATA} datatype.h ${STAGEDIR}${LIBDIR}/src
 	cd ${WRKSRC}/bin && \
 		${INSTALL_DATA} one trans.[ch] trans.man utimbuf.h utf.[ch] \
-		${LIBDIR}/bin
-	${INSTALL_DATA} ${WRKSRC}/cedf/* ${LIBDIR}/cedf
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${LIBDIR}/doc
-	${INSTALL_DATA} ${WRKSRC}/xlt/* ${LIBDIR}/xlt
+		${STAGEDIR}${LIBDIR}/bin
+	${INSTALL_DATA} ${WRKSRC}/cedf/* ${STAGEDIR}${LIBDIR}/cedf
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${LIBDIR}/doc
+	${INSTALL_DATA} ${WRKSRC}/xlt/* ${STAGEDIR}${LIBDIR}/xlt
 
 .include <bsd.port.mk>

Modified: head/converters/trans/pkg-plist
==============================================================================
--- head/converters/trans/pkg-plist	Thu Mar  6 18:14:28 2014	(r347292)
+++ head/converters/trans/pkg-plist	Thu Mar  6 18:18:15 2014	(r347293)
@@ -200,6 +200,12 @@ lib/trans/xlt/tex-dcr.in
 lib/trans/xlt/tex-dcr.out
 lib/trans/xlt/wingding
 lib/trans/xlt/wingreek
+man/man1/checkiso.1.gz
+man/man1/checkuni.1.gz
+man/man1/transce8.1.gz
+man/man1/transhtm.1.gz
+man/man1/transiso.1.gz
+man/man1/transtab.1.gz
 @dirrm lib/trans/bin
 @dirrm lib/trans/cedf
 @dirrm lib/trans/doc



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