aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2011-03-04 17:11:31 +0000
committerNicola Vitale <nivit@FreeBSD.org>2011-03-04 17:11:31 +0000
commit9c32447de55e200b02665744513472bc52f5f958 (patch)
tree8257974e923ed9b542dbd1e02bba6639c141983c /textproc
parent9d2138bb150616a900f58c7b98111f157610a84b (diff)
downloadports-9c32447de55e200b02665744513472bc52f5f958.tar.gz
ports-9c32447de55e200b02665744513472bc52f5f958.zip
- Install the manpage regardless of NOPORTDOCS
- Remove MANCOMPRESSED - Use ${INSTALL_MAN} instead of ${INSTALL_DATA} to install the manpage PR: ports/155039 Submitted by: lwhsu
Notes
Notes: svn path=/head/; revision=270310
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-pygments/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile
index 47a17ebde801..918afa6974ca 100644
--- a/textproc/py-pygments/Makefile
+++ b/textproc/py-pygments/Makefile
@@ -21,13 +21,13 @@ USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= Pygments
-.if !defined(NOPORTDOCS)
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+
MAN1= pygmentize.1
-MANCOMPRESSED= no
post-install:
- @${INSTALL_DATA} ${WRKSRC}/docs/${MAN1} ${MANPREFIX}/man/man1/
+ @${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MANPREFIX}/man/man1/
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/docs/build && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif