211c86a667
- Change MASTER_SITES from SF to CHEESESHOP
35 lines
826 B
Makefile
35 lines
826 B
Makefile
# New ports collection makefile for: py-pygments
|
|
# Date created: 2007-04-01
|
|
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pygments
|
|
PORTVERSION= 0.9
|
|
#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
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_PKGNAME= Pygments
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
FIND_DOCS= . -type f
|
|
MAN1= pygmentize.1
|
|
MANCOMPRESSED= no
|
|
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/${MAN1} ${MANPREFIX}/man/man1/
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/docs/build && ${FIND} ${FIND_DOCS} -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} ";"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|