freebsd-ports/textproc/py-genshi/Makefile
David Naylor 9920d3ae65 qa: add check for NO_ARCH
If NO_ARCH is set then check that no FreeBSD elf(5) files are in $STAGEDIR.
If an elf(5) file is bundles as part of the package, but is not meant to be
run directly (i.e. the elf(5) file is a payload, and not compiled) then
those files can be added to NO_ARCH_IGNORE to avoid the check from failing,

Changes to ports:
 - Ports that have NO_ARCH set, but actually compile files have had NO_ARCH
   removed.
 - Ports that have elf(5) payloads have had those files added to
   NO_ARCH_IGNORE.
 - R-cran ports that do not set USES=cran:compiles have NO_ARCH set,

PR:		218976
Reviewed by:	antoine, mat
Approved by:	portmgr
2017-06-18 18:09:16 +00:00

29 lines
650 B
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= Genshi
PORTVERSION= 0.7
PORTREVISION= 2
#PORTEPOCH= 0
CATEGORIES= textproc www python
MASTER_SITES= http://ftp.edgewall.com/pub/${PORTNAME:tl}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python toolkit for stream-based generation of output for the web
LICENSE= BSD3CLAUSE
OPTIONS_DEFINE= BABEL
BABEL_DESC= I18n support through the Babel plugin
USES= python:2.7
USE_PYTHON= distutils autoplist
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBABEL}
RUN_DEPENDS+= ${PKGNAMEPREFIX}Babel>=0.9.6:devel/py-babel
.endif
.include <bsd.port.mk>