head	1.15;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2;
locks; strict;
comment	@# @;


1.15
date	2012.12.10.17.42.49;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.12.10.13.48.08;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.11.17.06.02.27;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2011.07.21.05.02.59;	author linimon;	state Exp;
branches;
next	1.11;

1.11
date	2010.12.29.20.04.33;	author pgollucci;	state Exp;
branches;
next	1.10;

1.10
date	2009.03.12.23.09.01;	author nivit;	state Exp;
branches;
next	1.9;

1.9
date	2008.06.06.14.06.46;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2007.05.19.20.24.26;	author flz;	state Exp;
branches;
next	1.7;

1.7
date	2007.04.18.21.14.26;	author nivit;	state Exp;
branches;
next	1.6;

1.6
date	2006.12.10.01.21.50;	author nivit;	state Exp;
branches;
next	1.5;

1.5
date	2006.04.15.16.47.21;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2005.07.06.16.00.42;	author hq;	state Exp;
branches;
next	1.3;

1.3
date	2005.07.06.15.43.59;	author hq;	state Exp;
branches;
next	1.2;

1.2
date	2004.08.17.22.47.50;	author thierry;	state Exp;
branches;
next	1.1;

1.1
date	2004.05.23.19.24.21;	author thierry;	state Exp;
branches;
next	;


desc
@@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308621
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308621 | bapt | 2012-12-10 17:34:57 +0000 (Mon, 10 Dec 2012) | 2 lines
## SVN ##
## SVN ## Fix after Java 1.5 removal (this ports build nicely with openjdk6)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: nivit@@users.sourceforge.net
# $FreeBSD: head/www/apache-forrest/Makefile 308621 2012-12-10 17:34:57Z bapt $

PORTNAME=		apache-forrest
PORTVERSION=		0.8
PORTREVISION=		3
CATEGORIES=		www java
MASTER_SITES=		${MASTER_SITE_APACHE} \
			http://mirror.tomato.it/apache/forrest/ \
			http://mirrors.publicshout.org/apache/forrest/ \
			http://mirror.nohup.it/apache/forrest/ \
			ftp://mirror.nohup.it/apache/forrest/
MASTER_SITE_SUBDIR=	forrest

MAINTAINER=		nivit@@FreeBSD.org
COMMENT=		A tool for rapid development of small sites

USE_JAVA=		yes
JAVA_VERSION=		1.6

REPLACE_FILES=		${WRKSRC}/bin/forrest ${WRKSRC}/tools/ant/bin/ant

NO_BUILD=		Yes

INSTALL_WRKSRC=		${WRKSRC}/build
LINK_OPTS?=		-sf

FIND_ARGS1=		-type d \! -empty
FIND_ARGS2=		\! -type d -and -perm -a+x -and \! -name "*.orig" -and \! -name "*.bak"
FIND_ARGS3=		\! -type d -and \! -perm -a+x -and \! -name "*.bat" -and \! -name "*.orig" -and \! -name "LICENSE.txt" -and \! -name "KEYS" -and \! -name "NOTICE.txt" -and \! -name "*.license.txt"

ANT=		${DATADIR}/tools/ant/bin/ant
ANT_TARGET=	local-deploy
PLUGINSDIR=	${DATADIR}/plugins/org.apache.forrest.plugin.output.pdf

post-patch:
	@@for FILE in ${REPLACE_FILES}; do \
		${REINPLACE_CMD} -e "/%%JAVA_HOME%%/s//${JAVA_HOME:S/\//\\\//g}/g" \
		$${FILE} ;\
	done;

do-install:
# Script and data
	@@cd ${WRKSRC}; \
	DIRS=$$(${FIND} . ${FIND_ARGS1}); \
	for DIR in $${DIRS}; do \
		${MKDIR} ${DATADIR}/$${DIR}; \
	done; \
	FILES=$$(${FIND} . ${FIND_ARGS2} ); \
	for FILE in $${FILES}; do \
		${INSTALL_SCRIPT} $${FILE} ${DATADIR}/$${FILE}; \
	done; \
	FILES=$$(${FIND} . ${FIND_ARGS3}); \
	for FILE in $${FILES}; do \
		${INSTALL_DATA} $${FILE} ${DATADIR}/$${FILE}; \
	done;

# Links to executables
	@@cd ${WRKSRC}; \
	FILES=$$(${FIND} bin ${FIND_ARGS2} ); \
	for FILE in $${FILES}; do \
		${LN} ${LINK_OPTS} ${DATADIR}/$${FILE} ${PREFIX}/$${FILE}; \
	done;

post-install:
	@@cd ${PLUGINSDIR}; \
	${SETENV} FORREST_HOME=${DATADIR} ${ANT} ${ANT_TARGET}; \
	${SED} -e "/%%DATADIR%%/s//${DATADIR:S/\//\\\//g}/g" \
		-e "/%%PORTVERSION%%/s//${PORTVERSION}/g" ${PKGMESSAGE};

.include <bsd.port.mk>
@


1.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308605
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308605 | bapt | 2012-12-10 13:43:43 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## Decommissioning java 1.5 (EOLed since October 2009):
## SVN ## suppress any reference to JAVA_VERSION=	1.5+ (part3)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/apache-forrest/Makefile 308605 2012-12-10 13:43:43Z bapt $
d19 1
a19 1
JAVA_VERSION=		1.5
@


1.13
log
@Switch exporter over
@
text
@d1 2
a2 5
# New ports collection makefile for:	apache-forrest
# Date created:				14 October 2003
# Whom:					nivit@@users.sourceforge.net
#
# $FreeBSD: head/www/apache-forrest/Makefile 300897 2012-07-14 14:29:18Z beat $
@


1.12
log
@Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@- DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.

PR:             ports/153292
Submitted by:   myself (pgollucci)
Tested by:      -exp run by pav
Approved by:    portmgr (pav)
@
text
@d22 1
a22 1
JAVA_VERSION=		1.4 1.5
@


1.10
log
@- Set JAVA_VERSION to 1.4 1.5 instead of 1.4+, because the program doesn't run with Java 6
- Bump PORTREVISION
@
text
@a16 1
DISTNAME=		${PORTNAME}-${PORTVERSION}
@


1.9
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 1
PORTREVISION=	2
d23 1
a23 1
JAVA_VERSION=		1.4+
@


1.8
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.7
log
@- Update to 0.8
@
text
@d9 1
@


1.6
log
@- Updated email address in my ports

Approved by:	alexbl (mentor)
@
text
@d8 1
a8 1
PORTVERSION=		0.7
@


1.5
log
@- Drop dead mirror

PR:		ports/95718
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@@people.tecnik93.com>
Approved by:	nivit@@users.sourceforge.net (Nicola Vitale) (maintainer)
@
text
@d18 1
a18 1
MAINTAINER=		nivit@@users.sourceforge.net
@


1.4
log
@Update to bsd.java.mk 2.0
@
text
@a13 1
			http://www.apache.inetcosmos.org/dist/forrest/ \
a23 1
USE_REINPLACE=		Yes
@


1.3
log
@- Update to 0.7
- Add 'java' category

PR:		83012
Submitted by:	maintainer
@
text
@d22 2
a23 1
USE_JAVA=		1.4+
@


1.2
log
@Make fetchable again and add mirrors.

PR:		ports/70475
Submitted by:	maintainer
@
text
@d8 2
a9 2
PORTVERSION=		0.5.1
CATEGORIES=		www
d17 1
a17 1
DISTNAME=		${PORTNAME}-${PORTVERSION}-src
d22 1
a22 1
USE_JAVA=		1.2+
d24 2
a25 2
REPLACE_FILES=		${WRKSRC}/src/resources/forrest-shbat/bin/forrest \
			${WRKSRC}/src/resources/forrestbot/bin/forrestbot
d27 1
a27 6
BUILD_CMD=		${SETENV} JAVA_HOME=${JAVA_HOME} ${WRKSRC}/build.sh

.if !defined(NOPORTDOCS)
BUILD_DOCS=		site
FORREST_DOCS=		${INSTALL_WRKSRC}/${BUILD_DOCS}
.endif
a29 1
FORREST_DIR=		${INSTALL_WRKSRC}/dist/shbat
d33 6
a38 2
FIND_ARGS2=		\! -type d -and -perm -a+x -and \! -name "*.orig"
FIND_ARGS3=		\! -type d -and \! -perm -a+x -and \! -name "*.bat" -and \! -name "*.orig"
d42 2
a43 4
		${SED} \
		-e "/%%JAVA_HOME%%/s//${JAVA_HOME:S/\//\\\//g}/g" \
		$${FILE} > ${WRKSRC}/`basename $${FILE}`; \
		${MV} -f ${WRKSRC}/`basename $${FILE}` $${FILE}; \
a45 4
do-build:
	@@cd ${WRKSRC}; \
	${BUILD_CMD} ${BUILD_DOCS}

d48 1
a48 1
	@@cd ${FORREST_DIR}; \
d61 1
a61 12
# Documentation
.if !defined(NOPORTDOCS)
	@@cd ${FORREST_DOCS}; \
	DIRS=$$(${FIND} . ${FIND_ARGS1}); \
	for DIR in $${DIRS}; do \
		${MKDIR} ${DOCSDIR}/$${DIR}; \
	done; \
	FILES=$$(${FIND} . ${FIND_ARGS3}); \
	for FILE in $${FILES}; do \
		${INSTALL_DATA} $${FILE} ${DOCSDIR}/$${FILE}; \
	done;
.endif
d63 1
a63 1
	@@cd ${FORREST_DIR}; \
d70 4
a73 1
	@@${CAT} ${PKGMESSAGE}
@


1.1
log
@Add apache-forrest 0.5.1, a tool for rapid development of small
sites.

PR:		58015
Submitted by:	Nicola Vitale
@
text
@d10 7
a16 1
MASTER_SITES=		http://www.apache.inetcosmos.org/dist/xml/forrest/source/
@

