aboutsummaryrefslogtreecommitdiffstats
path: root/devel/php5-geshi/Makefile
blob: 4ccc6c02fd5ce20f49b10ae017813c7019b091c3 (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
# Created by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
# $FreeBSD$

PORTNAME=   geshi
DISTVERSION=    1_0_8_12
DISTVERSIONPREFIX=  RELEASE_
CATEGORIES= devel
PKGNAMEPREFIX=  php5-

MAINTAINER= bofh@FreeBSD.org
COMMENT=    Native PHP syntax highlighting engine

LICENSE=    GPLv2

USE_GITHUB= yes
GH_ACCOUNT= GeSHi
GH_PROJECT= geshi-1.0

NO_BUILD=   yes
USE_PHP=    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/
    ${MKDIR} ${STAGEDIR}${DOCSDIR}/
    cd ${WRKSRC}/src/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>