summaryrefslogtreecommitdiffstats
path: root/www/mod_put/Makefile
blob: 538e45f053035020a6d5357f902f49997291d6ef (plain)
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_put Apache module
# Date created:		Jun 26 2001
# Whom:			Joao Carlos Mendes Luis <jonny@jonny.eng.br>
#
# $FreeBSD$
#

PORTNAME=	mod_put
PORTVERSION=	1.3
CATEGORIES=	www
MASTER_SITES=	http://hpwww.ec-lyon.fr/~vincent/apache/
DISTFILES=	mod_put.tar.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An Apache module that provides PUT and DELETE methods

BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
RUN_DEPENDS=	${APXS}:${APACHE_PORT}

APXS?=		${LOCALBASE}/sbin/apxs
APACHE_PORT?=	${PORTSDIR}/www/apache13
DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}

do-build:
	cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c ${PORTNAME}.c

do-install:
	cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html \
		${PREFIX}/share/doc/${PORTNAME}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud