1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/www/mod_layout22/Makefile
Bernard Spil 88b492b029 Migrate USE_APACHE to USES= apache (category www)
- Following migration of Mk/bsd.apache.mk to Mk/Uses/apache.mk

With hat:	apache
2018-03-11 17:38:45 +00:00

36 lines
794 B
Makefile

# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
PORTNAME= mod_layout
PORTVERSION= 5.1
PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= http://download.tangent.org/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache2.2 module to wrap served pages with a header and/or footer
CONFLICTS= mod_layout-3.* mod_layout-4.*
PORTSCOUT= limit:^5
USES= apache:2.2+
MAKE_ARGS+= builddir=${WRKSRC}
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \
${WRKSRC}/Makefile
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
.include <bsd.port.mk>