Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 22:53:11 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336494 - head/textproc/queequeg
Message-ID:  <201312142253.rBEMrBM2095966@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sat Dec 14 22:53:11 2013
New Revision: 336494
URL: http://svnweb.freebsd.org/changeset/ports/336494

Log:
  textproc/queequeg: depend explicitly on "python" and stagify
  
  Reported by:	exp-run (PR 184591)

Modified:
  head/textproc/queequeg/Makefile

Modified: head/textproc/queequeg/Makefile
==============================================================================
--- head/textproc/queequeg/Makefile	Sat Dec 14 22:48:35 2013	(r336493)
+++ head/textproc/queequeg/Makefile	Sat Dec 14 22:53:11 2013	(r336494)
@@ -8,28 +8,25 @@ CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A tiny English grammar checker
+COMMENT=	Tiny English grammar checker
 
-BUILD_DEPENDS=	wn:${PORTSDIR}/textproc/wordnet \
+BUILD_DEPENDS=	python:${PORTSDIR}/lang/python \
+		wn:${PORTSDIR}/textproc/wordnet \
+		${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
+RUN_DEPENDS=	python:${PORTSDIR}/lang/python \
 		${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
 
-USE_PYTHON=	yes
+USE_PYTHON=	2
 MAKE_ARGS=	dict WORDNETDICT="${LOCALBASE}/share/WordNet"
 
-.if !defined(NOPORTDOCS)
 PORTDOCS=	address.png index-e.html index.html
-.endif
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/qq ${DATADIR}
-	${LN} -shf ${DATADIR}/qq ${PREFIX}/bin/qq
-	${INSTALL_DATA} ${WRKSRC}/*.py ${WRKSRC}/dict.cdb ${DATADIR}
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC}/htdocs; ${INSTALL_DATA} * ${DOCSDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/qq ${STAGEDIR}${DATADIR}
+	${LN} -shf ${DATADIR}/qq ${STAGEDIR}${PREFIX}/bin/qq
+	${INSTALL_DATA} ${WRKSRC}/*.py ${WRKSRC}/dict.cdb ${STAGEDIR}${DATADIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/htdocs; ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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