35 lines
826 B
Makefile
35 lines
826 B
Makefile
|
# 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
|
||
|
|
||
|
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
||
|
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${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>
|