head	1.9;
access;
symbols
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3;
locks; strict;
comment	@# @;


1.9
date	2011.11.01.04.34.25;	author dougb;	state dead;
branches;
next	1.8;

1.8
date	2011.10.09.01.48.10;	author dougb;	state Exp;
branches;
next	1.7;

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

1.6
date	2009.07.22.20.36.03;	author pgollucci;	state Exp;
branches;
next	1.5;

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

1.4
date	2009.01.09.23.15.39;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2008.08.18.00.33.55;	author edwin;	state Exp;
branches;
next	1.2;

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

1.1
date	2008.07.19.17.12.45;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.9
log
@audio/mp3butler		Depends on audio/p5-MusicBrainz-Client which is DEPRECATED
audio/p5-MusicBrainz-Client	Disappeared from CPAN
editors/doxymacs	Depends on www/w3-4, which is DEPRECATED
graphics/libart		Does not fetch, no more public distfiles
java/jboss4		Does not build with new ant
korean/hanterm		Depends on korean/johabfonts, which is DEPRECATED, fails to build with new utmpx
korean/johabfonts	No more public distfiles, installs into /
korean/hlatex-psfonts-uhc-extra	Depends on korean/hlatex, which is DEPRECATED
korean/texinfo		Depends on korean/hlatex, which is DEPRECATED
korean/hlatex		No more public distfiles
mail/jboss-mailservices	Depends on java/jboss4, which is DEPRECATED
misc/p5-Geography-NationalGrid-TW	Depends on misc/p5-Geography-NationalGrid, which is DEPRECATED
misc/p5-Geography-NationalGrid	Disappeared from CPAN
multimedia/fxtv		Depends on multimedia/mplex, which is DEPRECATED
multimedia/mplex	Upstream disapeared and distfile is not available
net/py-timeoutsocket	Upstream disapear and distfile is no more available
textproc/p5-XML-LibRSVG	Unmaintained and not used anymore
textproc/javacc		No more public distfiles
www/w3-4/Makefile	Upstream disapeared and distfile is not available
www/commonist		Depends on textproc/javacc, which is DEPRECATED
www/newsfeed		Depends on net/py-timeoutsocket, which is DEPRECATED
x11/fbsd-icons		Upstream disapear and distfile is no more available
x11-themes/geramik	Depends on x11-toolkits/qtpixmap, which is DEPRECATED
x11-toolkits/qtpixmap	No more public distfiles
x11-wm/fvwm95-i18n	Depends on x11/fbsd-icons, which is DEPRECATED
x11-wm/fvwm95		Depends on x11/fbsd-icons, which is DEPRECATED
@
text
@# New ports collection makefile for:	commonist
# Date created:		2008-06-17
# Whom:			Marcin Cieslak <saper@@SYSTEM.PL>
#
# $FreeBSD: ports/www/commonist/Makefile,v 1.8 2011/10/09 01:48:10 dougb Exp $
#

PORTNAME=	commonist
PORTVERSION=	0.3.40
CATEGORIES=	www java
MASTER_SITES=	http://djini.de/software/commonist/

MAINTAINER=	saper@@saper.info
COMMENT=	Easy upload of images to Wikimedia Commons and Mediawiki

DEPRECATED=	Depends on textproc/javacc, which is DEPRECATED
EXPIRATION_DATE=	2011-10-31

TARGET_JAR=	${JAVAJARDIR}/${PORTNAME}.jar
USE_ZIP=	yes
USE_JAVA=	1.5+
JAVA_EXTRACT=	yes
USE_ANT=	yes
ALL_TARGET=	jar
MAKE_FLAGS+=	-verbose
MAKE_ARGS+=	-Djar.lib.dir=${WRKSRC}/build/jar -Dtarget.name=${WRKSRC}/build/jar/${PORTNAME}.jar \
		-Djavacc.home=${JAVAJARDIR}

SUB_FILES+=	commonist
SUB_LIST+=	TARGET_JAR=${TARGET_JAR}

BUILD_DEPENDS+=	${JAVAJARDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \
		${JAVAJARDIR}/bsh.jar:${PORTSDIR}/lang/bsh \
		${JAVAJARDIR}/javacc.jar:${PORTSDIR}/textproc/javacc

RUN_DEPENDS+=	${JAVAJARDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \
		${JAVAJARDIR}/bsh.jar:${PORTSDIR}/lang/bsh

.include <bsd.port.pre.mk>

post-extract:
	(cd ${WRKSRC} && ${JAR} xf lib/lib-util-src.jar src)
	(cd ${WRKSRC} && ${JAR} xf lib/mwapi-src.jar src)
	(cd ${WRKSRC} && ${JAR} xf lib/minibpp-src.jar source)
	(cd ${WRKSRC}/source && ${FIND} * -print | ${CPIO} -pdmu ${WRKSRC}/src)

post-patch:
	${REINPLACE_CMD} -e "s#%%ETCDIR%%#${ETCDIR}#" ${WRKSRC}/src/net/psammead/commonist/Main.java

pre-build:
	(cd ${WRKSRC} && ${ANT} clean)
	${MKDIR} ${WRKSRC}/build/classes
	${JAR} tf ${WRKSRC}/lib/mwapi.jar net/psammead/mwapi/config | ${EGREP} '(site|family|list)' > ${WRKSRC}/configfiles
	(cd ${WRKSRC}/build/classes && ${JAR} xf ${WRKSRC}/lib/mwapi.jar `${CAT} ${WRKSRC}/configfiles`)

do-install:
	${MKDIR} ${JAVAJARDIR}
	${INSTALL_SCRIPT} ${WRKDIR}/commonist ${PREFIX}/bin
	${INSTALL_DATA}	${WRKSRC}/build/jar/${PORTNAME}.jar ${TARGET_JAR}
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/etc/startup.bsh ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/build/classes/net/psammead/mwapi/config/commons.family ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/build/classes/net/psammead/mwapi/config/commons.site ${EXAMPLESDIR}
.endif
	${MKDIR} ${ETCDIR}
.for f in gallery_commons.bpp image_default.bpp messages_fr.properties \
		image_commons.bpp gallery_default.bpp licenses.txt messages_en.properties \
		messages_sk.properties messages_de.properties
		${INSTALL_DATA} ${WRKSRC}/etc/${f} ${ETCDIR}
.endfor

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


1.8
log
@For ports that have an EXPIRATION_DATE which has already passed, but
that have other ports that depend on them, mark the ports that depend
on them DEPRECATED, and make all EXPIRATION_DATEs 2011-10-31.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.7
log
@- Restore maintainership

Submitted by:	Marcin Cieslak <saper@@saper.info>
@
text
@d16 3
@


1.6
log
@- Update to 0.3.40
@
text
@d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.5
log
@- Reset maintainer
<saper@@system.pl>
    (reason: 550 user not found... podany uzytkownik nie istnieje...)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.32
@


1.4
log
@- Update to 0.3.32

PR:		130042
Submitted by:	Marcin Cieslak <saper@@SYSTEM.PL> (maintainer)
@
text
@d13 1
a13 1
MAINTAINER=	saper@@SYSTEM.PL
@


1.3
log
@[MAINTAINER] www/commonist: unbreak

	Add java to extract dependencies to use ${JAR}

PR:		ports/126605
Submitted by:	Marcin Cieslak <saper@@SYSTEM.PL>
@
text
@d9 1
a9 2
PORTVERSION=	0.3.28
PORTREVISION=	1
d22 3
a24 1
MAKE_ARGS+=	-Djar.lib.dir=${WRKSRC}/build/jar -Dtarget.name=${WRKSRC}/build/jar/${PORTNAME}.jar
d30 2
a31 1
		${JAVAJARDIR}/bsh.jar:${PORTSDIR}/lang/bsh
@


1.2
log
@- Mark BROKEN: does not extract

Reported by:	pointyhat
@
text
@d10 1
a16 2
BROKEN=		does not extract

d20 1
@


1.1
log
@Commonist is a free Java program for easy uploads of large numbers of
images to Wikimedia Commons and other Mediawiki installations.

WWW:	http://commons.wikimedia.org/wiki/Commons:Tools/Commonist

PR:		ports/124771
Submitted by:	Marcin Cieslak <saper at SYSTEM.PL>
@
text
@d16 2
@

