head	1.11;
access;
symbols
	RELEASE_8_3_0:1.10
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4;
locks; strict;
comment	@# @;


1.11
date	2012.11.17.06.03.02;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2009.11.12.04.36.41;	author linimon;	state Exp;
branches;
next	1.9;

1.9
date	2009.07.19.18.59.40;	author shaun;	state Exp;
branches;
next	1.8;

1.8
date	2008.03.20.10.03.51;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2007.10.07.02.37.49;	author beech;	state Exp;
branches;
next	1.6;

1.6
date	2007.09.30.09.29.45;	author linimon;	state Exp;
branches;
next	1.5;

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

1.4
date	2006.06.20.12.54.51;	author shaun;	state Exp;
branches;
next	1.3;

1.3
date	2006.06.19.20.06.58;	author shaun;	state Exp;
branches;
next	1.2;

1.2
date	2006.05.26.17.38.15;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2006.05.17.13.48.19;	author garga;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Switch exporter over
@
text
@# New ports collection makefile for:	quickie
# Date Created:				2006-05-16
# Whom:					Shaun Amott <shaun@@inerd.com>
#
# $FreeBSD: head/www/quickie/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	quickie
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://${PORTNAME}.sourceforge.net/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A small footprint, fast Wiki engine written in C++

GNU_CONFIGURE=	yes

CONFIGURE_ARGS=	--prefix=${PREFIX}		\
		--sysconfdir=${PREFIX}/etc	\
		--localstatedir=${DATADIR}

MAN1=		quickie-config.1 quickie_prime.1 quickie.1 quickie_svt.1 \
		quickie_license.1 quickie_post_install.1

SUB_FILES=	pkg-message

PORTDOCS=	${DISTNAME}.pdf

.if !defined(NOPORTDOCS)
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}.pdf
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
.endif

.include <bsd.port.pre.mk>

post-patch:
	@@${CP} ${FILESDIR}/freebsd.h ${WRKSRC}/lib
	@@${REINPLACE_CMD} -e 's|output_html_quote::name()|name()|' \
		${WRKSRC}/lib/output/html_quote.h
	@@${REINPLACE_CMD} -e 's|input_uudecode::read_inner|read_inner|' \
		${WRKSRC}/lib/input/uudecode.h

pre-install:
	@@${MKDIR} ${DATADIR}/admin
	@@${MKDIR} ${DATADIR}/manual

post-install:
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DATADIR}
.if !defined(WITHOUT_CGICOPY)
	@@if [ -d ${PREFIX}/www/cgi-bin/ ]; then \
	    if [ ! -f ${PREFIX}/www/cgi-bin/${PORTNAME} ]; then \
	        ${ECHO_MSG} "===> Copying CGI binary..." ; \
	        ${CP} -p ${PREFIX}/bin/${PORTNAME} ${PREFIX}/www/cgi-bin/${PORTNAME} ; \
	        ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/www/cgi-bin/${PORTNAME} ; \
	    fi ; \
	fi
.endif
	@@${CAT} ${PKGMESSAGE}

.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.pdf ${DOCSDIR}
.endif

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


1.10
log
@Reset shaun@@FreeBSD.org due to maintainer-timeouts and no response
to email.

Hat:		portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@Remove references to my mirror, which will be decommissioned shortly;
fall back to FreeBSD mirrors in case the port has no others.
@
text
@d14 1
a14 1
MAINTAINER=	shaun@@FreeBSD.org
@


1.8
log
@- Remove USE_GETOPT_LONG which is a no-op since March 2007
@
text
@d12 1
a12 2
MASTER_SITES=	http://${PORTNAME}.sourceforge.net/ \
		http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
@


1.7
log
@- Fix build with gcc-4.2

Approved by:	Shaun Amott <shaun@@FreeBSD.org> (maintainer),
		sat (mentor, implicit
@
text
@a23 2
USE_GETOPT_LONG=	yes

@


1.6
log
@Mark broken on gcc4.2.
@
text
@a39 4
.if ${OSVERSION} >= 700042
BROKEN=		Does not compile with GCC 4.2
.endif

d42 4
@


1.5
log
@- WWWDIR is now defined in bsd.ports.mk

PR:		ports/105529
Submitted by:	laszlof
@
text
@d40 4
@


1.4
log
@Fix dodgy patch - send correct Content-Length: header.

PR:		ports/99075
Submitted by:	Nikolai Saoukh <nms+freebsd@@otdel-1.org>
Approved by:	shaun (me), ahze (mentor)
@
text
@a30 4
WWWOWN?=	www
WWWGRP?=	www
WWWDIR?=	${PREFIX}/www

d50 2
a51 2
	@@if [ -d ${WWWDIR}/cgi-bin/ ]; then \
	    if [ ! -f ${WWWDIR}/cgi-bin/${PORTNAME} ]; then \
d53 2
a54 2
	        ${CP} -p ${PREFIX}/bin/${PORTNAME} ${WWWDIR}/cgi-bin/${PORTNAME} ; \
	        ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/cgi-bin/${PORTNAME} ; \
@


1.3
log
@Switch to my @@FreeBSD.org address.

Approved by:	ahze (mentor)
@
text
@d10 1
@


1.2
log
@- Update to 1.1
- Fix build on FreeBSD 4.X

PR:		ports/97935
Submitted by:	Shaun Amott <shaun@@inerd.com> (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	shaun@@inerd.com
@


1.1
log
@Quickie is a small footprint, fast C++ Wiki engine; hence the name.

The fundamental insight for this engine is that wiki pages are read far
more often than they are modified. Thus, the generated HTML can be
cached. It follows that the main code path will check that the .html
file exists and simply copy it to stdout in the vast majority of cases.

The .html file generated from each .wiki file is about the same size as
the .wiki file itself, so there will be no particular I/O advantage,
but there is a huge CPU advantage, and a significant memory footprint
advantage, and since I want to run a wiki on a geriatric 20MB 33MHz 386
machine, this is a good thing.

    Online demo: http://quickie.sourceforge.net/cgi-bin/quickie

WWW: http://quickie.sourceforge.net/

PR:		ports/97376
Submitted by:	Shaun Amott <shaun@@inerd.com>
@
text
@d9 1
a9 1
PORTVERSION=	1.0
d23 2
a42 4
.if (${OSVERSION} < 500041)
BROKEN=		does not compile on 4.x; needs a newer libc
.endif

a44 1
	@@${REINPLACE_CMD} -e 's#var/[^ ]*\.man##g' ${WRKSRC}/Makefile.in
@

