blob: f7d51ffd6744fdacced601de6090243344e75a78 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
PORTNAME= geshi
DISTVERSION= 1.0.9.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
PKGNAMEPREFIX= php-
MAINTAINER= bofh@FreeBSD.org
COMMENT= Native PHP syntax highlighting engine
LICENSE= GPLv2
USES= cpe php
CPE_VENDOR= qbnz
USE_GITHUB= yes
GH_ACCOUNT= GeSHi
GH_PROJECT= geshi-1.0
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
NO_ARCH= yes
EXTRACT_AFTER_ARGS=--exclude=.gitignore
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/geshi/
${INSTALL_DATA} ${WRKSRC}/src/geshi.php ${STAGEDIR}${PREFIX}/lib/php/geshi/
cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} geshi ${STAGEDIR}${PREFIX}/lib/php/geshi/
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|