blob: 2f057d1c8b3abdc2a8c441958bbcd1a827f52cd0 (
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
|
# New ports collection makefile for: mod_auth_pam
# Date created: 7 April 2001
# Whom: will
#
# $FreeBSD$
#
PORTNAME= mod_color
PORTVERSION= 0.3
CATEGORIES= www
# mastersite disappeared in 2001
MASTER_SITES= # http://www.dimensional.com/~bgiles/mod_color/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .l
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache module that provides syntax coloring for various languages
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
APXS?= ${LOCALBASE}/sbin/apxs
APACHE_PORT?= ${PORTSDIR}/www/apache13
NO_WRKSUBDIR= yes
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-build:
lex -t -Psyncc ${WRKSRC}/mod_color.l > ${WRKSRC}/mod_color.c
@cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
do-install:
${APXS} -i -A -n ${PORTNAME:S/_//g} ${WRKSRC}/${PORTNAME}.so
.include <bsd.port.mk>
|