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


1.10
date	2012.11.17.06.02.33;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.8;

1.8
date	2012.01.01.16.47.37;	author ohauer;	state Exp;
branches;
next	1.7;

1.7
date	2011.08.20.17.27.37;	author ohauer;	state Exp;
branches;
next	1.6;

1.6
date	2011.02.01.22.32.43;	author ohauer;	state Exp;
branches;
next	1.5;

1.5
date	2010.09.28.12.54.16;	author decke;	state Exp;
branches;
next	1.4;

1.4
date	2009.05.25.22.44.46;	author pgollucci;	state Exp;
branches;
next	1.3;

1.3
date	2009.05.12.08.29.26;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2006.05.13.04.41.10;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.25.09.24.57;	author vs;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Switch exporter over
@
text
@# New ports collection makefile for:	formication
# Date created:		2004-01-25
# Whom:			Michael Ranner <mranner@@inode.at>
#
# $FreeBSD: head/www/formication/Makefile 302724 2012-08-18 14:29:08Z ohauer $
#

PORTNAME=	formication
PORTVERSION=	1.0.b1
PORTREVISION=	3
CATEGORIES=	www
MASTER_SITES=	http://www.ranner.eu/stuff/ \
		http://home.bluelife.at/ports/distfiles/

MAINTAINER=	michael@@ranner.eu
COMMENT=	Formular processing tool written in perl

USE_APACHE_RUN=	22+
USE_PERL5_RUN=	yes
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

PORTDOCS=	BLURB COPYING feedback.fcn feedback.html formication.txt
PLIST_FILES=	www/cgi-bin/formication.pl
SUB_FILES+=	pkg-message

.include <bsd.port.pre.mk>

PLIST_DIRSTRY=	www/cgi-bin

post-patch:
	@@${REINPLACE_CMD} -e "s,^#!/usr/local/bin/perl,#!${PERL},g" \
		-e "s,authorized_uid = 1031;,authorized_uid = ${WWWOWN};,g" \
		${WRKSRC}/formication.pl

do-install:
	@@${MKDIR} ${PREFIX}/www/cgi-bin
	@@${INSTALL_DATA} ${WRKSRC}/formication.pl ${PREFIX}/www/cgi-bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}/
.	for i in ${PORTDOCS}
	  @@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.	endfor
.endif

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.9
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.8
log
@- change required APACHE version from 13+ to 20+
  (prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@@
@
text
@d18 1
a18 1
USE_APACHE=	20+
@


1.7
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d18 1
a18 1
USE_APACHE=	13+
a28 1
.if ${APACHE_VERSION} > 13
a29 1
.endif
@


1.6
log
@- fix pkg-plist if build with apache > 13
- remove MD5 from distfile

PR:		ports/147009
Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION=	2
d18 1
a18 1
USE_APACHE=	1.3+
@


1.5
log
@- Master sites updated
- Distfile versioning fixed
- Update USE_APACHE
- PORTREVISION bumped

PR:		ports/150945
Submitted by:	Michael Ranner <michael at ranner dot eu> (maintainer)
Approved by:	beat (co-mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
d27 6
d39 2
a40 1
	@@${INSTALL_DATA} ${WRKSRC}/formication.pl ${LOCALBASE}/www/cgi-bin
d51 1
a51 1
.include <bsd.port.mk>
@


1.4
log
@- USE_APACHE=yes is deprecated
- Use SUB_FILES for pkg-message
- Use WWWOWN
- PREFIX -> LOCALBASE

PR:             ports/134447
Approved by:    maintainer timeout (2 weeks)
Submitted by:   me
@
text
@d10 1
d12 2
a13 3
MASTER_SITES=	http://www.villainy.com/downloads/ \
		http://www.ranner.jawa.at/stuff/
DISTNAME=	${PORTNAME}
d18 1
a18 1
USE_APACHE=	1.3
d21 1
@


1.3
log
@- Update maintainer's address
@
text
@d18 1
a18 4
CGI_UID?=	www

PKGMESSAGE=	${WRKDIR}/pkg-message
USE_APACHE=	yes
d24 1
d28 1
a28 1
		-e "s,authorized_uid = 1031;,authorized_uid = ${CGI_UID};,g" \
d32 1
a32 1
	@@${INSTALL_DATA} ${WRKSRC}/formication.pl ${PREFIX}/www/cgi-bin
d34 1
a34 1
	@@${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
d36 1
a36 1
	  @@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
a39 4
pre-install:
	@@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
		-e 's|%%DOCSDIR%%|${DOCSDIR}|g' <${.CURDIR}/pkg-message >${PKGMESSAGE}

@


1.2
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d15 1
a15 1
MAINTAINER=	mranner@@inode.at
@


1.1
log
@Add formication 1.0.b1, formular processing tool written in perl.

PR:		ports/65681
Submitted by:	Michael Ranner <mranner@@inode.at>
@
text
@a22 1
USE_REINPLACE=	yes
@

