head	1.10;
access;
symbols
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.3;
locks; strict;
comment	@# @;


1.10
date	2008.04.30.07.20.20;	author miwi;	state dead;
branches;
next	1.9;

1.9
date	2008.03.29.19.37.27;	author beech;	state Exp;
branches;
next	1.8;

1.8
date	2007.02.27.09.57.22;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2006.12.06.08.52.22;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2006.06.11.21.04.34;	author erwin;	state Exp;
branches;
next	1.5;

1.5
date	2006.05.20.17.17.58;	author mnag;	state Exp;
branches;
next	1.4;

1.4
date	2005.11.28.23.52.19;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2005.08.23.14.42.24;	author sem;	state Exp;
branches;
next	1.2;

1.2
date	2005.08.17.20.04.58;	author simon;	state Exp;
branches;
next	1.1;

1.1
date	2005.05.24.21.34.39;	author pav;	state Exp;
branches;
next	;


desc
@@


1.10
log
@2008-04-30 www/firefox15: Obsolete version, use Firefox 2.0 or greater instead
2008-04-30 www/phpadsnew: replaced by www/openx
2007-10-27 x11-wm/yawm: project no longer exists
2007-10-27 x11-wm/uwm: Version branch long since retired
@
text
@# New ports collection makefile for: phpAdsNew
# Date created:                2005-05-08
# Whom:                        Meno Abels <meno.abels@@adviser.com>
#
# $FreeBSD: ports/www/phpadsnew/Makefile,v 1.9 2008/03/29 19:37:27 beech Exp $
#

PORTNAME=	phpAdsNew
DISTVERSION=	2.0.9
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	phpadsnew

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	An open-source ad server

NO_BUILD=	yes
USE_PHP=	mysql pcre zlib

SUB_LIST+=	"MYADSDIR=${MYADSDIR}" \
		"PKGNAME=${PKGNAME}"

DEPRECATED=	replaced by www/openx
EXPIRATION_DATE=	2008-04-30

# Unfortunately can't make WITH_SUPHP part of the OPTIONS selection,
# since it has to be processed before just about anything else.

WANT_PHP_WEB=	yes

LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}

# MYADSUSR is only used WITH_SUPHP
MYADSDIR?=	www/phpadsnew
MYADSGRP?=	${WWWGRP}
CFGFILE=	config.inc.php

PLIST=		${WRKDIR}/plist
PLIST_SUB+=	MYADSDIR=${MYADSDIR} MYADSGRP=${MYADSGRP}

.SILENT:

do-build:
	@@${DO_NADA}

pre-everything::
	${ECHO_MSG} ""
	${ECHO_MSG} "You may use the following additional build option:"
	${ECHO_MSG} ""
	${ECHO_MSG} "    WITH_SUPHP=yes   Install appropriately for use with"
	${ECHO_MSG} "                     the www/suphp port [default: no]"
	${ECHO_MSG} ""

post-patch:
	${MV} ${WRKSRC}/${CFGFILE} ${WRKSRC}/${CFGFILE}.sample
	cd ${WRKSRC} && \
	if ${TEST} -d "misc/backwards compatibility" ; then \
		${MV} "misc/backwards compatibility" "misc/backwards_compatibility" ; \
	fi ; \
	${FIND} . ! -type d ! -name ${CFGFILE}.sample | ${SORT} | \
	    ${SED} -e "s,^\.,%%MYADSDIR%%,"           >${PLIST} ; \
	${CAT} ${PKGDIR}/pkg-plist-chunk             >>${PLIST} ; \
	${FIND} . -type d | ${SORT} -r | ${SED} \
	     -e "s,^\.$$,@@unexec ${RMDIR} %D/%%MYADSDIR%% 2>/dev/null || true," \
	     -e "s,^\.,@@dirrm %%MYADSDIR%%,"         >>${PLIST}

pre-install:
.if defined(WITH_SUPHP)
	${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif

do-install: install-app install-conf

install-app:
	cd ${WRKSRC} && \
	for src in $$( ${FIND} . ! -name .cvsignore ) ; do \
	    dst=${PREFIX}/${MYADSDIR}$${src#.} ; \
	    if ${TEST} -d "$$src" ; then \
	        ${MKDIR} "$$dst" ; \
	    else \
	        ${INSTALL_DATA} "$$src" "$$dst" ; \
	    fi \
	done

install-conf: install-app
	cd ${PREFIX}/${MYADSDIR} ; \
	${CHMOD} 0640 ${CFGFILE}.sample ; \
	${CHGRP} ${MYADSGRP} ${CFGFILE}.sample ; \
	if ${TEST} ! -f ${CFGFILE} ; then \
	    ${CP} -p ${CFGFILE}.sample ${CFGFILE} ; \
	fi

post-install:
.if defined(WITH_SUPHP)
	${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif

.include <bsd.port.mk>
@


1.9
log
@- Mark deprecated, replaced by www/openx

PR:		ports/121716
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.8
log
@Reset meno.abels@@adviser.com due to maintainer-timeouts and no response
to email.

Hat:		portmgr
@
text
@d23 3
@


1.7
log
@- Update to 2.0.9

PR:		ports/105659
Submitted by:	miwi
Approved by:	maintainer timeout
@
text
@d14 2
a15 2
MAINTAINER=	meno.abels@@adviser.com
COMMENT=	The phpAdsNew is an open-source ad server
@


1.6
log
@Remove the use of USE_GZIP. I cannot find any use of it in bsd.port.mk
and these ports build fine without it. My guess is that it was added
by someone as an opposite to USE_BZIP2 and other people copied it.
Remove it once and for all.

With hat:	portmgr
@
text
@d9 1
a9 1
DISTVERSION=	2.0.8
@


1.5
log
@- Update to 2.0.8

PR:		96750
Submitted by:	koutek___o-k.cz
Approved by:	maintainer timeout (16 days)
@
text
@a16 1
USE_GZIP=	yes
@


1.4
log
@- Update to 2.0.7

PR:		ports/89699
Submitted by:	Meno Abels <meno.abels@@adviser.com> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	2.0.7
@


1.3
log
@- Update to 2.0.6.
  It fixes a XML-RPC security issue.

PR:             ports/85069
Submitted by:   Toni Viemero <toni.viemero@@ki.fi>
Approved by:	portmgr (clement), maintainer
@
text
@d9 1
a9 1
DISTVERSION=	2.0.6
@


1.2
log
@Mark FORBIDDEN, due to remote code execution vulnerability.

Security:	http://vuxml.FreeBSD.org/e65ad1bf-0d8b-11da-90d0-00304823c0d3.html
Approved by:	portmgr (blanket, secteam)
@
text
@d9 1
a9 1
DISTVERSION=	2.0.4-pr2
a16 2
FORBIDDEN=	http://vuxml.FreeBSD.org/e65ad1bf-0d8b-11da-90d0-00304823c0d3.html

@


1.1
log
@phpAdsNew is an open-source ad server, with an integrated banner management
interface and tracking system for gathering statistics.  With phpAdsNew you can
easily rotate paid banners and your own in-house advertisements. You can even
integrate banners from third party advertising companies.

PR:		ports/80757
Submitted by:	Meno Abels <meno.abels@@adviser.com>
@
text
@d17 2
@

