f249815dde
- Add LICENSE (BSD) - Remove http://nivi.interfree.it from MASTER_SITES - Respect NO_INSTALL_MANPAGES PR: ports/167050 Submitted by: Alexander Kojevnikov <alexander@kojevnikov.com> [1]
41 lines
878 B
Makefile
41 lines
878 B
Makefile
# New ports collection makefile for: py-pygments
|
|
# Date created: 2007-04-01
|
|
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pygments
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 0
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Pygments-${PORTVERSION}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= A syntax highlighter written in Python
|
|
|
|
LICENSE= BSD
|
|
|
|
# Python3 ready
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_PKGNAME= Pygments
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
MAN1= pygmentize.1
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
@${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MANPREFIX}/man/man1/
|
|
.endif
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/docs/build && ${COPYTREE_SHARE} . ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|