mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
05684b80dd
consistency - add entries in UPDATING (for apache22 too) PR: ports/78119 Repocopied by: marcus
32 lines
734 B
Makefile
32 lines
734 B
Makefile
# 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/apache20
|
|
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>
|