blob: cd963f69bceec28dc593847a9a22ea8bd3763a04 (
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
|
# New ports collection makefile for: mod_injection
# Date created: Sun Oct 5
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#
PORTNAME= mod_injection
PORTVERSION= 0.3.1
CATEGORIES= www
MASTER_SITES= http://pmade.org/distfiles/oss-releases/
MAINTAINER= apache@FreeBSD.org
COMMENT= Injects text in the HTTP response after a HTML tag
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
RUN_DEPENDS= ${BUILD_DEPENDS}
APXS?= ${LOCALBASE}/sbin/apxs
do-build:
@(cd ${WRKSRC}/src && ${APXS} -c ${PORTNAME}.c)
do-install:
@(cd ${WRKSRC}/src && ${APXS} -A -i ${PORTNAME}.la)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${CP} -Rf ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
|