d0f6dca404
- Remove indefinite article from COMMENT - Fix format of WWW field in pkg-descr Reported by: eadler (via private email) [1]
45 lines
956 B
Makefile
45 lines
956 B
Makefile
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pygments
|
|
PORTVERSION= 1.6
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Pygments-${PORTVERSION}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= 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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
@${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MANPREFIX}/man/man1/
|
|
.endif
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/docs/build && ${COPYTREE_SHARE} . ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} >= 320
|
|
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|