mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
2a26e614d7
PR: 36306 Submitted by: the former maintainer
38 lines
888 B
Makefile
38 lines
888 B
Makefile
# New ports collection makefile for: mod_access_referer
|
|
# Date created: 18 Oct 2000
|
|
# Whom: Alex Kapranoff <kapr@crosswinds.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_access_referer
|
|
PORTVERSION= 1.0.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= accessreferer
|
|
|
|
MAINTAINER= ports@freebsd.org
|
|
|
|
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
|
|
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
|
|
|
|
APXS= ${LOCALBASE}/sbin/apxs
|
|
|
|
DOCS= HACKING LICENSE.txt ChangeLog README TODO mod_access_referer.html
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && \
|
|
${APXS} -c mod_access_referer.c
|
|
|
|
do-install:
|
|
${APXS} -i -A -n access_referer ${WRKSRC}/mod_access_referer.so
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/mod_access_referer
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_access_referer/
|
|
.endfor
|
|
.endif
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|