Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 00:42:27 +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: r340522 - head/devel/liblouis
Message-ID:  <201401210042.s0L0gRvF076554@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jan 21 00:42:27 2014
New Revision: 340522
URL: http://svnweb.freebsd.org/changeset/ports/340522
QAT: https://qat.redports.org/buildarchive/r340522/

Log:
  Support stage

Modified:
  head/devel/liblouis/Makefile

Modified: head/devel/liblouis/Makefile
==============================================================================
--- head/devel/liblouis/Makefile	Tue Jan 21 00:40:14 2014	(r340521)
+++ head/devel/liblouis/Makefile	Tue Jan 21 00:42:27 2014	(r340522)
@@ -7,13 +7,14 @@ CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
 MAINTAINER=	wenheping@gmail.com
-COMMENT=	An Open-source Braille Translator And Back-translator
+COMMENT=	Open-source Braille Translator And Back-translator
 
+OPTIONS_DEFINE=	DOCS
+
+USES=		gmake
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
 post-extract:
 	@${REINPLACE_CMD} -e \
 		's#@libdir@#${PREFIX}/libdata#g' ${WRKSRC}/Makefile.in
@@ -21,18 +22,16 @@ post-extract:
 		's#tables doc tests python#tests python#g' ${WRKSRC}/Makefile.in
 
 post-install:
-	${MKDIR} ${DATADIR}/tables
-	${INSTALL_DATA} ${WRKSRC}/tables/*.dic ${DATADIR}/tables/
-	${INSTALL_DATA} ${WRKSRC}/tables/*.ctb ${DATADIR}/tables/
-	${INSTALL_DATA} ${WRKSRC}/tables/*.utb ${DATADIR}/tables/
-	${INSTALL_DATA} ${WRKSRC}/tables/*.cti ${DATADIR}/tables/
-	${INSTALL_DATA} ${WRKSRC}/tables/*.utb2 ${DATADIR}/tables/
-	${INSTALL_DATA} ${WRKSRC}/tables/*.dis ${DATADIR}/tables/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/tables
+	${INSTALL_DATA} ${WRKSRC}/tables/*.dic ${STAGEDIR}${DATADIR}/tables/
+	${INSTALL_DATA} ${WRKSRC}/tables/*.ctb ${STAGEDIR}${DATADIR}/tables/
+	${INSTALL_DATA} ${WRKSRC}/tables/*.utb ${STAGEDIR}${DATADIR}/tables/
+	${INSTALL_DATA} ${WRKSRC}/tables/*.cti ${STAGEDIR}${DATADIR}/tables/
+	${INSTALL_DATA} ${WRKSRC}/tables/*.utb2 ${STAGEDIR}${DATADIR}/tables/
+	${INSTALL_DATA} ${WRKSRC}/tables/*.dis ${STAGEDIR}${DATADIR}/tables/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in liblouis-guide.html liblouis-guide.txt
-	${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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