head	1.24;
access;
symbols
	RELEASE_9_0_0:1.22
	RELEASE_7_4_0:1.22
	RELEASE_8_2_0:1.22
	RELEASE_6_EOL:1.22
	RELEASE_8_1_0:1.21
	RELEASE_7_3_0:1.20
	RELEASE_8_0_0:1.19
	RELEASE_7_2_0:1.16
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.13
	RELEASE_6_3_0:1.13
	PRE_XORG_7:1.13
	RELEASE_4_EOL:1.11
	RELEASE_6_2_0:1.11
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.1;
locks; strict;
comment	@# @;


1.24
date	2012.01.08.22.18.51;	author eadler;	state dead;
branches;
next	1.23;

1.23
date	2011.12.23.18.25.44;	author pgollucci;	state Exp;
branches;
next	1.22;

1.22
date	2010.09.16.00.35.45;	author wen;	state Exp;
branches;
next	1.21;

1.21
date	2010.06.04.02.28.37;	author wen;	state Exp;
branches;
next	1.20;

1.20
date	2010.01.06.13.24.45;	author wen;	state Exp;
branches;
next	1.19;

1.19
date	2009.08.28.16.52.33;	author linimon;	state Exp;
branches;
next	1.18;

1.18
date	2009.07.20.08.59.29;	author avl;	state Exp;
branches;
next	1.17;

1.17
date	2009.07.19.22.25.50;	author avl;	state Exp;
branches;
next	1.16;

1.16
date	2008.04.06.08.58.17;	author stas;	state Exp;
branches;
next	1.15;

1.15
date	2008.03.19.02.46.25;	author beech;	state Exp;
branches;
next	1.14;

1.14
date	2008.02.23.23.40.03;	author beech;	state Exp;
branches;
next	1.13;

1.13
date	2007.04.10.03.19.11;	author lwhsu;	state Exp;
branches;
next	1.12;

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

1.11
date	2006.10.03.00.59.47;	author clsung;	state Exp;
branches;
next	1.10;

1.10
date	2006.08.08.11.35.25;	author jmelo;	state Exp;
branches;
next	1.9;

1.9
date	2006.06.09.08.58.56;	author pav;	state Exp;
branches;
next	1.8;

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

1.7
date	2006.05.01.14.32.27;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2006.04.15.16.29.22;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2006.02.14.12.31.09;	author garga;	state Exp;
branches;
next	1.4;

1.4
date	2006.02.13.10.03.35;	author lawrance;	state Exp;
branches;
next	1.3;

1.3
date	2005.11.28.21.26.21;	author thierry;	state Exp;
branches;
next	1.2;

1.2
date	2005.11.26.07.17.12;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2005.04.25.08.17.48;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.24
log
@2011-01-02 www/rubygem-htauth: broke for ~12 months
2012-01-02 www/instiki: has been marked ignore since 2010/09/16
@
text
@# New ports collection makefile for:	instiki
# Date created:				4 January 2005
# Whom:					Kelley Reynolds <kelley@@insidesystems.net>
#
# $FreeBSD: ports/www/instiki/Makefile,v 1.23 2011/12/23 18:25:44 pgollucci Exp $
#

PORTNAME=	instiki
PORTVERSION=	0.18.1
CATEGORIES=	www ruby
MASTER_SITES=	LOCAL/wen
DISTNAME=	parasew-instiki-0.18.1-0-g6a5b0e1

MAINTAINER=	wen@@FreeBSD.org
COMMENT=	Easy to set up wiki clone implemented in ruby

LIB_DEPENDS=	sqlite3:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS=	${RUBY_PKGNAMEPREFIX}iconv>=0:${PORTSDIR}/converters/ruby-iconv

USE_RUBY=	yes
USE_RAKE=	yes
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/parasew-instiki-6a5b0e1
INSTIKIPORT?=	2500
INSTIKIDIR?=	www/instiki
INSTIKILOGDIR=	${INSTIKIDIR}/log
INSTIKI_DB=	db/production.db.sqlite3
INSTIKI_DB_FILE=	${INSTIKIDIR}/${INSTIKI_DB}

IGNORE=		does not work
DEPRECATED=	has been marked ignore since 2010/09/16
EXPIRATION_DATE=	2012-01-02

.include <bsd.port.pre.mk>

USE_RC_SUBR=	${PORTNAME}
PLIST=		${WRKDIR}/plist
SUB_LIST=	INSTIKIPORT=${INSTIKIPORT}
SUB_FILES+=	pkg-message

post-extract:
	${MV} ${WRKSRC}/${INSTIKI_DB} ${WRKSRC}/${INSTIKI_DB}.sample

pre-install:
	${FIND} -s -d ${WRKSRC} -type l | ${SED} "s?${WRKSRC}?${INSTIKIDIR}?g" >>${PLIST}
	${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${INSTIKIDIR}?g" >>${PLIST}

	@@if [ ! -f ${PREFIX}/${INSTIKI_DB_FILE} ]; then \
		${MKDIR} ${PREFIX}/${INSTIKIDIR}/db ; \
		${CP} ${WRKSRC}/${INSTIKI_DB}.sample ${PREFIX}/${INSTIKI_DB_FILE} ; \
		${ECHO_CMD} "${INSTIKI_DB_FILE}" >> ${PLIST} ; \
	fi

	@@${ECHO} @@dirrm ${INSTIKILOGDIR} >> ${PLIST}
	@@${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s?${WRKSRC}?@@dirrm ${INSTIKIDIR}?g" >> ${PLIST}

do-install:
	@@${INSTALL} -d ${WWWDIR}
	@@${CP} -pR ${WRKSRC}/ ${WWWDIR}/

	@@${INSTALL} -d ${WWWDIR}/log

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

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


1.23
log
@- Deprecate/expire port that has been IGNORE for ~2yrs

With Hat:	ruby@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.22
log
@- Mark IGNORE does not work
@
text
@d31 2
@


1.21
log
@- Update to 0.18.1
@
text
@d30 2
@


1.20
log
@- Update to 0.17.3
- Replace static plist with dynamic plist
- Remove unneeded patch and file
- take maintainership
@
text
@d9 1
a9 1
PORTVERSION=	0.17.3
d12 1
d23 1
a23 1
WRKSRC=		${WRKDIR}/parasew-instiki-4176ef2
@


1.19
log
@Reset beech@@FreeBSD.org while he works on restoring his email situation.

Hat:		portmgr
@
text
@d9 1
a9 2
PORTVERSION=	0.13.0
PORTREVISION=	2
d11 1
a11 3
MASTER_SITES=	RF
#DISTNAME=	${PORTNAME}-0.12.0
EXTRACT_SUFX=	.tgz
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
d17 1
d21 2
a22 2
USE_LDCONFIG=	yes

d24 4
a27 2

OPTIONS=	PORT_BLUECLOTH	"Use BlueCloth gem from ports" On
d32 3
a34 15
SUB_LIST=	INSTIKIPORT=${INSTIKIPORT} \
		RUBY_WITH_SUFFIX=${RUBY_WITH_SUFFIX}
SUB_FILES+=	pkg-deinstall pkg-message
RUBY_SHEBANG_FILES=instiki

.if defined(WITH_PORT_BLUECLOTH)
# can't include this because it redefines do-install.
# .include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
# For now, copy and paste the definition of SPEC_DIR from the above
REV=		${RUBY_VER}
GEMS_BASE_DIR=	lib/ruby/gems/${REV}
SPEC_DIR=	${GEMS_BASE_DIR}/specifications
BUILD_DEPENDS+=	${LOCALBASE}/${SPEC_DIR}/BlueCloth-1.0.1.gemspec:${PORTSDIR}/www/rubygem-bluecloth
EXTRA_PATCHES+=	${FILESDIR}/bluecloth-patch-lib-chunks-engines-rb
.endif
d37 1
a37 1
	@@${FIND} -d ${WRKSRC} -type d -name .svn -exec ${RM} -rf {} \;
d39 9
a47 2
post-patch:
	${RM} ${WRKSRC}/lib/chunks/engines.rb.orig
d49 2
a50 3
do-build:
	( cd ${WRKSRC}/db/ && \
	  ${RAKE_BIN} environment RAILS_ENV=production db:migrate )
d53 4
a56 4
	@@${FIND} -E ${WRKSRC} -type f -iregex ".*\._.+" -exec ${RM} "{}" \;
	@@${INSTALL} -d ${DATADIR}
	@@${CP} -pR ${WRKSRC}/ ${DATADIR}
	@@${CP} -n ${DATADIR}/db/production.db.sqlite3 ${DATADIR}/db/default.db.sqlite3
@


1.18
log
@- Fix dependency on rubygem-bluecloth

Submitted by:	QAT
Approved by:	miwi (co-mentor)
Pointyhat to:	avl
@
text
@d16 1
a16 1
MAINTAINER=	beech@@FreeBSD.org
@


1.17
log
@- Chase rubygem-bluecloth version change

Approved by:	tabthorpe (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
d44 1
a44 1
BUILD_DEPENDS+=	${LOCALBASE}/${SPEC_DIR}/bluecloth-1.0.1.gemspec:${PORTSDIR}/www/rubygem-bluecloth
@


1.16
log
@- Add ruby 1.9 support
- Implement new knobs for gems and rake (these are included in
  ruby 1.9 distribution already). Also move gem bits from
  ruby-gems/Makefile.common to bsd.ruby.mk[1]. Now to depend
  on gems or rake you should define USE_RUBYGEMS/USE_RAKE
  accordingly. Also RAKE_BIN variable is provided for
  pointing to the right rake executable.
- Rewrite RUBY_SCHEBANG in awk to eliminate build dependency
  on ruby.

Discussed with:	Jonathan Weiss <jw@@innerewut.de> [1] (gems maintainer)
Tested by:	ports@@
@
text
@d10 1
d44 1
a44 1
BUILD_DEPENDS+=	${LOCALBASE}/${SPEC_DIR}/BlueCloth-1.0.0.gemspec:${PORTSDIR}/www/rubygem-bluecloth
@


1.15
log
@- Update to 0.13.0
@
text
@a18 1
BUILD_DEPENDS=	rake:${PORTSDIR}/devel/rubygem-rake
d21 1
a21 1
USE_RUBY_FEATURES=	1.8
d40 1
a40 1
REV=		1.8
d55 1
a55 1
	  rake environment RAILS_ENV=production db:migrate )
@


1.14
log
@- Update to 0.12.0 [1]
- Fix rc file [1]
- Major Makefile cleanup
- Move install to ${DATADIR}
- Fix pkg-plist (pkg_delete)
- Add pkg-message
- Take maintainership

PR:		ports/120971
Submitted by:	Salvatore Montefusco <sm@@brightpebbles.org> [1]
@
text
@d9 1
a9 1
PORTVERSION=	0.12.0
d12 1
a12 1
DISTNAME=	${PORTNAME}-0.12.0
a20 1

d48 2
a49 12
pre-fetch:
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} " ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !"
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "				WARNING!"
	@@${ECHO_MSG} "If you are updating from a previous version, Hit ^c now"
	@@${ECHO_MSG} "and read /usr/ports/UPDATING!"
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} " ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !"

post-extract:	
	@@find -d ${WRKSRC} -type d -name .svn -exec rm -rf {} \;
a66 1

@


1.13
log
@Update to 0.11 Patch Level 1 and fix cross site scripting vulnerability

Release info: http://rubyforge.org/frs/shownotes.php?group_id=186&release_id=10014
Security: http://golem.ph.utexas.edu/~distler/blog/archives/001181.html

PR:		111407
Submitted by:	Alexander Logvinov <ports AT logvinov.com>
Approved by:	clsung (mentor)
Security:	http://golem.ph.utexas.edu/~distler/blog/archives/001181.html
@
text
@d9 1
a9 2
PORTVERSION=	0.11.0
PORTREVISION=	3
d11 2
a12 3
MASTER_SITES=	${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}-0.11.pl1
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d21 1
d24 1
a25 1
INSTIKIDIR?=	instiki
d28 4
d33 1
a33 3
PLIST_SUB=	INSTIKIDIR=${INSTIKIDIR}/
SUB_LIST+=	INSTIKIDIR=${INSTIKIDIR} \
		INSTIKIPORT=${INSTIKIPORT} \
d35 1
a35 1
SUB_FILES+=	pkg-deinstall
a37 15
OPTIONS=	PORT_BLUECLOTH	"Use BlueCloth gem from ports" On

do-build:
	( cd ${WRKSRC}/db/ && \
	  rake environment RAILS_ENV=production migrate )

do-install:
	@@${FIND} -E ${WRKSRC} -type f -iregex ".*\._.+" -exec ${RM} "{}" \;
	${CP} -pR ${WRKSRC}/ ${PREFIX}/${INSTIKIDIR}
	${CP} ${PREFIX}/${INSTIKIDIR}/db/production.db.sqlite3 \
		${PREFIX}/${INSTIKIDIR}/db/default.db.sqlite3
	${CHMOD} +x ${PREFIX}/${INSTIKIDIR}/instiki

.include <bsd.port.pre.mk>

a38 1

a40 1

d45 3
d49 9
a57 1
RUN_DEPENDS+=	${LOCALBASE}/${SPEC_DIR}/BlueCloth-1.0.0.gemspec:${PORTSDIR}/www/rubygem-bluecloth
d59 2
a60 1
EXTRA_PATCHES+=	${FILESDIR}/bluecloth-patch-lib-chunks-engines-rb
d65 13
a77 1
.endif
@


1.12
log
@Maintainer no longer has access to FreeBSD machines.  We appreciate the
help in the past.

PR:		ports/111184
@
text
@d10 1
a10 1
PORTREVISION=	2
d14 1
d44 1
@


1.11
log
@- instiki need sqlite3 instead of ruby-sqlite3
  instiki has bundled sqlite3-ruby in vendor/
- bump PORTREVISION

PR:		ports/103793
Submitted by:	clsung
Approved by:	maintainer (Alastair Rankine)
@
text
@d16 1
a16 1
MAINTAINER=	arsptr@@internode.on.net
@


1.10
log
@- Change to use MASTER_SITE_RUBYFORGE macro to fix fetch problem.

Approved by:	portmgr (erwin)
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 2
a20 2
RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/sqlite3_api.so:${PORTSDIR}/databases/ruby-sqlite3
BUILD_DEPENDS+=	${RUN_DEPENDS} rake:${PORTSDIR}/devel/rubygem-rake
@


1.9
log
@* Change maintainer email address
* Fix rc.d file to use SIGKILL to terminate
* Add new port option to use bluecloth from ports (improved Markdown syntax support)
* Remove unfetchable MASTER_SITE URL

PR:		ports/98418
Submitted by:	Alastair Rankine <arsptr@@internode.on.net> (maintainer)
@
text
@d12 2
a13 1
MASTER_SITES=	http://rubyforge.rubyuser.de/instiki/
@


1.8
log
@- Fix fetching

Submitted by:	Alastair Rankine <arsptr@@optusnet.com.au> (maintainer)
Reported by:	krismail
@
text
@d10 1
d12 1
a12 2
MASTER_SITES=	http://rubyforge.org/frs/download.php/9296/ \
		http://rubyforge.rubyuser.de/instiki/
d15 1
a15 1
MAINTAINER=	arsptr@@optusnet.com.au
a19 1
PATCH_DEPENDS=	${BUILD_DEPENDS}
a20 1
NO_BUILD=	yes
d35 3
a37 1
post-patch:
d43 2
a44 1
	${CP} ${PREFIX}/${INSTIKIDIR}/db/production.db.sqlite3 ${PREFIX}/${INSTIKIDIR}/db/default.db.sqlite3
d47 22
a68 1
.include <bsd.port.mk>
@


1.7
log
@- Update to 0.11.0

  The storage was moved to sqlite database! Follow steps in UPDATING.

PR:		ports/96301
Submitted by:	Alastair Rankine <arsptr@@optusnet.com.au> (maintainer)
@
text
@d11 2
a12 1
MASTER_SITES=	http://rubyforge.org/frs/download.php/9296/
@


1.6
log
@- Modernize rc script handling
- Update MASTER_SITES, WWW

PR:		ports/95735
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@@people.tecnik93.com>
Approved by:	Alastair Rankine <arsptr@@optusnet.com.au> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.10.2
PORTREVISION=	2
d11 1
a11 3
MASTER_SITES=	http://rubyforge.lauschmusik.de/instiki/	\
		http://rubyforge.planetargon.com/instiki/	\
		http://rubyforge.rubyuser.de/instiki/
d17 4
d24 1
d26 1
d28 1
d30 4
a33 6

USE_RC_SUBR=	${PORTNAME}
SED_LIST+=	-e 's,%%INSTIKIDIR%%,${INSTIKIDIR},g' \
		-e 's,%%INSTIKIPORT%%,${INSTIKIPORT},g' \
		-e 's,%%RUBY_WITH_SUFFIX%%,${RUBY_WITH_SUFFIX},g'

a35 2
INSTIKIPORT?=	2500

d37 2
a38 1
	@@${FIND} ${WRKSRC} -name '*.orig' -delete
d42 1
a42 1
	${MKDIR} ${PREFIX}/${INSTIKIDIR}/storage/${INSTIKIPORT}
@


1.5
log
@- Transfet maintainership to submitter, based on actual maintainer approval
  on PR ports/92511

PR:		ports/93328
Submitted by:	Alastair Rankine <arsptr@@optusnet.com.au>
Approved by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
d14 1
a14 1
		http://rubyforge.org/frs/download.php/5350/
d27 2
a28 4
USE_RC_SUBR=	yes
SED_SCRIPT=	-e 's,%%RC_SUBR%%,${RC_SUBR},g' \
		-e 's,%%PREFIX%%,${PREFIX},g' \
		-e 's,%%INSTIKIDIR%%,${INSTIKIDIR},g' \
a38 3
pre-install:
	@@${SED} ${SED_SCRIPT} ${FILESDIR}/${PORTNAME}.sh >${WRKDIR}/${PORTNAME}.sh

a40 1
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh
@


1.4
log
@Fix instiki startup due to a change in the ruby Logger interface.
Bump PORTREVISION.

PR:		ports/92511
Submitted by:	Alastair Rankine <arsptr@@optusnet.com.au>
Reviewed by:	Kelley Reynolds <kelley@@insidesystems.net> (maintainer)
@
text
@d17 1
a17 1
MAINTAINER=	kelley@@insidesystems.net
@


1.3
log
@- Unbreak by upgrading to 0.10.2;

- Fix the shebang path;

- Add a --daemon argument to startup script;

- Since I'm there add 2 mirrors.

PR:		ports/89175
Submitted by:	Alastair Rankine <arsptr (at) optusnet.com.au>
Approved by:	maintainer
@
text
@d10 1
d38 3
@


1.2
log
@BROKEN: Unfetchable
@
text
@d9 1
a9 1
PORTVERSION=	0.9.2
d11 4
a14 1
MASTER_SITES=	http://rubyforge.org/frs/download.php/2515/
a18 2
BROKEN=		Unfetchable

d24 1
a24 1
PLIST_SUB=      INSTIKIDIR=${INSTIKIDIR}/
d31 3
a33 1
		-e 's,%%RUBY_WITHOUT_SUFFIX%%,${RUBY_WITHOUT_SUFFIX},g'
a44 2
# Use 'col' to ditch the DOS control characters (for version 0.9.2, this could change)
	${CAT} ${PREFIX}/${INSTIKIDIR}/instiki | col > ${PREFIX}/${INSTIKIDIR}/instiki
@


1.1
log
@New Port: www/instiki

	Instiki is a wiki clone implemented in ruby with no
	dependencies other than ruby-1.8.1 or greater. Instiki was
	written and is maintained by David Heinemeier Hansson.
	Homepage is WWW://www.instiki.org

PR:		ports/76507
Submitted by:	Kelley Reynolds <kelley@@insidesystems.net>
@
text
@d16 2
@

