summaryrefslogtreecommitdiff
path: root/www/drupal6-geshifilter/Makefile
blob: e2ef701b2d8f7e5e7441993186a47dc16a35c2c1 (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
36
37
38
# Created by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
# $FreeBSD$

PORTNAME=	geshifilter
DISTVERSION=	6.x-1.2
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://ftp.drupal.org/files/projects/

MAINTAINER=	rea@FreeBSD.org
COMMENT=	Drupal 6 module for syntax highlighting

RUN_DEPENDS=	${LOCALBASE}/lib/php/geshi/geshi.php:${PORTSDIR}/devel/php5-geshi

PKGMESSAGE=	${WRKDIR}/pkg-message
SUB_FILES=	pkg-message
USES=		drupal:6,module

MODULE_DIRS=	geshi-extra tests translations
MODULE_FILES=	geshi-extra/drupal5.php geshi-extra/drupal6.php \
		geshifilter.admin.inc geshifilter.conflicts.inc \
		geshifilter.css geshifilter.filtertips.inc \
		geshifilter.inc geshifilter.info geshifilter.install \
		geshifilter.module geshifilter.pages.inc \
		geshinode.info geshinode.install geshinode.module \
		tests/geshifilter.admin.test tests/geshifilter.pages.test \
		translations/de.po translations/ja.po \
		translations/geshifilter.pot translations/sk.po

DOC_DIRS=	geshi-extra
DOC_FILES=	LICENSE.txt README.txt geshi-extra/README
OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e's|%%LOCALBASE%%|${LOCALBASE}|g' \
	    ${WRKSRC}/geshifilter.inc

.include <bsd.port.mk>