head	1.38;
access;
symbols
	RELEASE_8_3_0:1.34
	RELEASE_9_0_0:1.34
	RELEASE_7_4_0:1.34
	RELEASE_8_2_0:1.34
	RELEASE_6_EOL:1.33
	RELEASE_8_1_0:1.31
	RELEASE_7_3_0:1.30
	RELEASE_8_0_0:1.27
	RELEASE_7_2_0:1.26
	RELEASE_7_1_0:1.24
	RELEASE_6_4_0:1.24
	RELEASE_5_EOL:1.22
	RELEASE_7_0_0:1.22
	RELEASE_6_3_0:1.22
	PRE_XORG_7:1.21
	RELEASE_4_EOL:1.21
	RELEASE_6_2_0:1.21
	RELEASE_6_1_0:1.20
	RELEASE_5_5_0:1.20
	RELEASE_6_0_0:1.19
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.10
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.2;
locks; strict;
comment	@# @;


1.38
date	2012.11.17.05.54.20;	author svnexp;	state Exp;
branches;
next	1.37;

1.37
date	2012.10.05.12.41.45;	author garga;	state Exp;
branches;
next	1.36;

1.36
date	2012.08.03.18.39.20;	author garga;	state Exp;
branches;
next	1.35;

1.35
date	2012.08.03.15.34.45;	author garga;	state Exp;
branches;
next	1.34;

1.34
date	2010.12.04.07.30.14;	author ade;	state Exp;
branches;
next	1.33;

1.33
date	2010.10.16.11.51.43;	author ade;	state Exp;
branches;
next	1.32;

1.32
date	2010.09.15.18.33.53;	author ade;	state Exp;
branches;
next	1.31;

1.31
date	2010.03.26.11.16.14;	author linimon;	state Exp;
branches;
next	1.30;

1.30
date	2010.02.23.10.56.24;	author garga;	state Exp;
branches;
next	1.29;

1.29
date	2010.01.18.12.25.20;	author garga;	state Exp;
branches;
next	1.28;

1.28
date	2010.01.05.11.48.17;	author garga;	state Exp;
branches;
next	1.27;

1.27
date	2009.08.22.00.12.52;	author amdmi3;	state Exp;
branches;
next	1.26;

1.26
date	2009.03.28.17.53.18;	author garga;	state Exp;
branches;
next	1.25;

1.25
date	2009.03.04.17.33.55;	author garga;	state Exp;
branches;
next	1.24;

1.24
date	2008.08.21.06.16.12;	author rafan;	state Exp;
branches;
next	1.23;

1.23
date	2008.08.20.00.56.24;	author ade;	state Exp;
branches;
next	1.22;

1.22
date	2007.09.30.04.46.32;	author linimon;	state Exp;
branches;
next	1.21;

1.21
date	2006.05.03.05.14.00;	author edwin;	state Exp;
branches;
next	1.20;

1.20
date	2005.11.15.06.47.46;	author ade;	state Exp;
branches;
next	1.19;

1.19
date	2005.07.27.11.31.02;	author garga;	state Exp;
branches;
next	1.18;

1.18
date	2005.07.11.16.47.13;	author garga;	state Exp;
branches;
next	1.17;

1.17
date	2005.04.12.03.24.46;	author obrien;	state Exp;
branches;
next	1.16;

1.16
date	2005.04.11.13.03.54;	author barner;	state Exp;
branches;
next	1.15;

1.15
date	2005.04.11.08.01.17;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2005.02.10.20.12.05;	author leeym;	state Exp;
branches;
next	1.13;

1.13
date	2005.02.02.08.38.50;	author sem;	state Exp;
branches;
next	1.12;

1.12
date	2004.07.17.23.00.34;	author sem;	state Exp;
branches;
next	1.11;

1.11
date	2004.07.15.22.59.10;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2004.04.17.19.12.37;	author krion;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.22.23.08.17;	author krion;	state Exp;
branches;
next	1.8;

1.8
date	2004.02.17.11.00.10;	author krion;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.04.05.18.19;	author marcus;	state Exp;
branches;
next	1.6;

1.6
date	2003.09.03.01.00.56;	author leeym;	state Exp;
branches;
next	1.5;

1.5
date	2003.06.09.21.08.40;	author osa;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.21.10.42.55;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.27.23.33.35;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2002.09.17.05.17.29;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2002.07.01.16.07.11;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.38
log
@Switch exporter over
@
text
@# Created by: Konstantin Reznichenko <kot@@premierbank.dp.ua>
# $FreeBSD: head/archivers/arj/Makefile 305298 2012-10-05 12:41:45Z garga $

PORTNAME=	arj
PORTVERSION=	3.10.22
PORTREVISION=	4
CATEGORIES=	archivers
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022

MAINTAINER=	garga@@FreeBSD.org
COMMENT=	Open-source ARJ

OPTIONS_DEFINE=	DOCS

USE_AUTOTOOLS=	autoconf
USE_GMAKE=	yes
MAKE_JOBS_UNSAFE=	yes
CONFIGURE_WRKSRC=	${WRKSRC}/gnu
CFLAGS+=	-fPIC
MAKEFILE=	GNUmakefile
STRIP=
LANGUAGE?=	en
MAKE_ENV+=	"LOCALE=${LANGUAGE}"
PORTDOCS=	*

PLIST_FILES=	bin/arj \
		bin/arj-register \
		bin/arjdisp \
		bin/rearj \
		lib/arj/arjcrypt.so
PLIST_DIRS=	lib/arj

MAN1=		arj-register.1 arj.1 arjdisp.1 rearj.1

PORTSCOUT=	skipv:3.10g

.include <bsd.port.pre.mk>

post-patch:
	@@${REINPLACE_CMD} -e 's!/etc!${LOCALBASE}/etc!' \
		 ${WRKSRC}/arj.c ${WRKSRC}/file_reg.c ${WRKSRC}/rearj.c
	@@${REINPLACE_CMD} -e 's!-O2!!' ${WRKSRC}/gnu/configure.in
	@@${REINPLACE_CMD} -e 's!^static !!' ${WRKSRC}/integr.c
	@@${REINPLACE_CMD} -e 's!strnlen!_strnlen!g' ${WRKSRC}/fardata.c

pre-build:
	@@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} prepare)

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC}/doc && ${INSTALL_DATA} COPYING debug.txt ${DOCSDIR}
	cd ${WRKSRC}/resource/en && \
		${INSTALL_DATA} arjl.txt arjs.txt history.txt readme.txt unix.txt ${DOCSDIR}
.endif

.if ${ARCH} == "powerpc"
BROKEN=		Does not install on powerpc
.endif

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


1.37
log
@SVN rev 305298 on 2012-10-05 12:41:45Z by garga

Change headers of all ports maintained by me to new format
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.36
log
@SVN rev 301967 on 2012-08-03 18:39:20Z by garga

Remove unecessary OPTIONS_DEFAULT definitions added on r301957

Reported by:	sunpoet@@
@
text
@d1 1
a1 4
# New ports collection makefile for:	ARJ archiver
# Date created:			9 April 2002
# Whom:				Konstantin Reznichenko <kot@@premierbank.dp.ua>
#
a2 1
#
@


1.35
log
@SVN rev 301957 on 2012-08-03 15:34:45Z by garga

Add DOCS, EXAMPLES and NLS to OPTIONS_DEFINE to my ports
@
text
@a17 1
OPTIONS_DEFAULT=DOCS
@


1.34
log
@Sync to new bsd.autotools.mk
@
text
@d17 3
d42 2
d55 1
a55 1
.if !defined(NOPORTDOCS)
a61 2
.include <bsd.port.pre.mk>

@


1.33
log
@Punt autoconf267->autoconf268
@
text
@d17 1
a17 1
USE_AUTOTOOLS=	autoconf:268
@


1.32
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d17 1
a17 1
USE_AUTOTOOLS=	autoconf:267
@


1.31
log
@Mark as broken on powerpc: does not install.

Hat:		portmgr
@
text
@d10 1
a10 1
PORTREVISION=	3
d17 1
a17 1
USE_AUTOTOOLS=	autoconf:262
@


1.30
log
@Fix segfault on amd64

Reported by:	alex at to.govorit.ru
Obtained from:	Arj's author
Tested  by:	Guilherme M. Schroeder <lero420 at gmail.com>
Feature safe:	yes
@
text
@d57 7
a63 1
.include <bsd.port.mk>
@


1.29
log
@Silent some compiler warnings that could result on program abort

PR:		ports/141938 (based on)
Submitted by:	Ted Mittelstaedt <tedm@@ipinc.net>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.28
log
@Define rules for PORTSCOUT checking in some of my ports
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.27
log
@- Switch SourceForge ports to the new File Release System: categories starting with A
@
text
@d37 2
@


1.26
log
@Mark all my ports as MAKE_JOBS_SAFE and MAKE_JOBS_UNSAFE
@
text
@d12 1
a12 1
MASTER_SITES=	SF
@


1.25
log
@- Fix build on recent -CURRENT renaming strnlen local function to _strnlen to
  avoid conflict with recent introduced function with the same name on string.h
- Use SF macro for MASTER_SITES
- Remove CFLAGS change from CONFIGURE_ENV and use CHFLAGS +=
- Use PORTDOCS
- Remove 5 lines pkg-plist and use PLIST_FILES
- Change post-extract to post-patch, as used on most ports
@
text
@d19 1
@


1.24
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
d20 1
a20 1
CONFIGURE_ENV=	CFLAGS="-fPIC"
d25 8
d36 1
a36 1
post-extract:
d41 1
@


1.23
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@a19 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.22
log
@Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:		ports/116639
Submitted by:	aDe
@
text
@d18 1
a18 1
USE_AUTOTOOLS=	autoconf:261
@


1.21
log
@Remove USE_REINPLACE from ports in categories starting with A.
@
text
@d10 1
d18 1
a18 1
USE_AUTOTOOLS=	autoconf:259
@


1.20
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@a16 1
USE_REINPLACE=	yes
@


1.19
log
@- Update to 3.10.22
@
text
@d18 1
a18 1
USE_AUTOCONF_VER=	259
@


1.18
log
@Change MAINTAINER to my @@FreeBSD.org account

Approved by:	flz (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	3.10.21
d34 1
@


1.17
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d14 1
a14 1
MAINTAINER=	freebsd@@galle.com.br
@


1.16
log
@Change maintainer's email address.

Approved by:		arved (mentor)
PR:			ports/79162
@
text
@d20 1
a20 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.15
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d14 1
a14 1
MAINTAINER=	renato@@galle.com.br
@


1.14
log
@- Fix build errors, now using autoconf-2.59

PR:		77338
Submitted by:	Renato Botelho <renato at galle.com.br>
@
text
@d20 1
a20 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.13
log
@- Grant maintainership to submitter

PR:		ports/76965
Submitted by:	Renato Botelho <renato(at)galle.com.br>
@
text
@a16 1
#WRKSRC=		${WRKDIR}/${PORTNAME}
d18 1
a18 1
USE_AUTOCONF_VER=	253
@


1.12
log
@Update to 3.10.21

Approved by:	krion (mentor) (implicitly)
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.11
log
@Reset undeliverable maintainer address:

   ----- Transcript of session follows -----
451 4.4.1 reply: read error from mix.premierbank.dp.ua.
<kot@@premierbank.dp.ua>... Deferred
Message could not be delivered for 1 week
Message will be deleted from queue

For two consecutive weeks.
@
text
@d9 1
a9 1
PORTVERSION=	3.10.19
@


1.10
log
@- Fix configure warning

PR:		65668 65669 65670 65671 65672 65673
Submitted by:	Roman Neuhauser <neuhauser at chello dot cz>
@
text
@d14 1
a14 1
MAINTAINER=	kot@@premierbank.dp.ua
@


1.9
log
@- Update to version 3.10.19

PR:		ports/63240
Submitted by:	maintainer
@
text
@d21 1
@


1.8
log
@- Update to version 3.10.18.
- Patch for the correct load arjcrypt.so
- Fix build on AMD64

PR:		ports/62953 ports/62852
Submitted by:	maintainer Hendrik Scholz <hendrik@@scholz.net>
@
text
@d9 1
a9 1
PORTVERSION=	3.10.18
d17 1
a17 1
WRKSRC=		${WRKDIR}/${PORTNAME}
d41 1
a41 1
	cd ${WRKSRC}/doc && ${INSTALL_DATA} debug.txt ${DOCSDIR}
@


1.7
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d9 1
a9 2
PORTVERSION=	3.10g
PORTREVISION=	1
d22 1
a26 2
INSTALLS_SHLIB=	yes
LDCONFIG_DIRS=	%%PREFIX%%/lib/arj
d41 1
a41 1
	cd ${WRKSRC}/doc && ${INSTALL_DATA} COPYING debug.txt ${DOCSDIR}
@


1.6
log
@Update MASTER_SITES for arj-3.10g

PR:		56264
Submitted by:	Konstantin Reznichenko <kot@@premierbank.dp.ua>
@
text
@d10 1
@


1.5
log
@Update to 3.10g [1,2]
Add STRIP=, because stripped arj binaries don't print help topic [2]
Add language-specific options [2]
Change MASTER_SITE_SUBDIR (keramida -> osa) [3]
Replace hardcoded /etc to ${LOCALBASE}/etc [3,4]
Remove -O2 flag for ${CC} [3,4]

Submitted by:	[1] Mathieu Arnold <m@@absolight.net> (PR 52982)
		[2] Konstantin Reznichenko <kot@@premierbank.dp.ua> (PR 53079)
			(maintainer)
		[3] osa
Approved by:	[4] maintainer
		fjoe (mentor)
@
text
@d11 2
a12 3
MASTER_SITES=	${MASTER_SITE_LOCAL} \
		http://testcase.newmail.ru/files/
MASTER_SITE_SUBDIR=	osa
d26 2
@


1.4
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	3.10b
d13 1
a13 1
MASTER_SITE_SUBDIR=	keramida
d18 3
a20 1
USE_AUTOCONF=	yes
d23 11
a33 1
MAKEFILE=	makefile.gnu
d38 1
a38 5
do-install:
.for f in arj rearj arjdisp register
	${INSTALL_PROGRAM} ${WRKSRC}/freebsd${OSREL}/en/rs/$f/$f ${PREFIX}/bin
.endfor
	${INSTALL_PROGRAM} ${WRKSRC}/freebsd${OSREL}/en/rs/arjcrypt/arjcrypt.so ${PREFIX}/lib
@


1.3
log
@Use MASTER_SITE_LOCAL in preference to the other MASTER_SITE because
the latter is often unavailable or slow.

Submitted by:   keramida
@
text
@d16 1
@


1.2
log
@add more mastersites

PR:		42788
Submitted by:	maintainer
@
text
@d11 2
a12 2
MASTER_SITES=	http://testcase.newmail.ru/files/ \
		${MASTER_SITE_LOCAL}
@


1.1
log
@add arj 3.10b
Open-source ARJ

PR:		40071
Submitted by:	"Konstantin Reznichenko" <kot@@premierbank.dp.ua>
@
text
@d11 3
a13 1
MASTER_SITES=	http://testcase.newmail.ru/files/
@

