1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/www/openx/Makefile
Niels Heinen 49a718d5be Updated to version 2.8.7 to fix security issue
PR:		ports/150610
Submitted by:	Dan Langille <dan@langille.org>
Approved by:	maintainer, itetcu (mentor, implicit)
Security:	80b6d6cc-c970-11df-bb18-0015587e2cc1
Security:	http://blog.openx.org/09/security-update/
2010-09-26 13:33:40 +00:00

40 lines
862 B
Makefile

# New ports collection makefile for: openx
# Date created: 13 March 2008
# Whom: Piotr Rybicki <meritus@innervision.pl>
#
# $FreeBSD$
#
PORTNAME= openx
PORTVERSION= 2.8.7
CATEGORIES= www
MASTER_SITES= http://download.openx.org/
LICENSE= GPLv2
MAINTAINER= meritus@innervision.pl
COMMENT= Free, opensource ad server in PHP
USE_BZIP2= yes
NO_BUILD= yes
SUB_LIST+= PKGNAME=${PKGNAME}
SUB_FILES+= pkg-message
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP= xml pcre zlib mysql pgsql ftp
.endif
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${CHMOD} -R 755 ${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >> ${TMPPLIST}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>