head	1.11;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	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.7
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.7
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.2;
locks; strict;
comment	@# @;


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

1.10
date	2012.10.26.14.16.57;	author danfe;	state Exp;
branches;
next	1.9;

1.9
date	2012.10.21.17.13.16;	author danfe;	state Exp;
branches;
next	1.8;

1.8
date	2011.08.31.15.11.02;	author danfe;	state Exp;
branches;
next	1.7;

1.7
date	2006.03.22.09.56.34;	author danfe;	state Exp;
branches;
next	1.6;

1.6
date	2006.01.24.12.55.30;	author danfe;	state Exp;
branches;
next	1.5;

1.5
date	2006.01.14.09.31.55;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2005.10.25.10.18.25;	author danfe;	state Exp;
branches;
next	1.3;

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

1.2
date	2005.07.18.10.29.16;	author danfe;	state Exp;
branches;
next	1.1;

1.1
date	2005.06.07.18.15.25;	author danfe;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Switch exporter over
@
text
@# Created by: Alexey Dokuchaev <danfe@@FreeBSD.org>
# $FreeBSD: head/archivers/dzip/Makefile 306444 2012-10-26 14:16:57Z danfe $

PORTNAME=	dzip
PORTVERSION=	2.9
CATEGORIES=	archivers games
MASTER_SITES=	http://speeddemosarchive.com/dzip/
DISTNAME=	dz${PORTVERSION:S/.//g}src

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	File compression utility specializing in Quake demo compression

LICENSE=	ZLIB

USE_ZIP=	yes
USE_DOS2UNIX=	yes

NO_WRKSUBDIR=	yes
MAKEFILE=	${WRKSRC}/Makefile.linux
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET=	${PORTNAME}

PLIST_FILES=	bin/${PORTNAME}

post-extract: .SILENT
	${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if BYTE_ORDER == BIG_ENDIAN/' \
		-e 's/ifndef BIG_ENDIAN/if BYTE_ORDER == LITTLE_ENDIAN/' \
			${WRKSRC}/dzip.h ${WRKSRC}/conmain.c
	${REINPLACE_CMD} -e '4s,^,#include <machine/endian.h>,' \
		${WRKSRC}/dzip.h
	${REINPLACE_CMD} -e 's/) $$(OBJECTS/&:T/' ${MAKEFILE}
	${REINPLACE_CMD} -e '21d;23d' ${WRKSRC}/dzipcon.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>
@


1.10
log
@SVN rev 306444 on 2012-10-26 14:16:57Z by danfe

Augment CATEGORIES.

Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.9
log
@SVN rev 306241 on 2012-10-21 17:13:16Z by danfe

- Trim the header per new world order
- Define LICENSE (ZLIB)
- Relinquish to the pool

Feature safe:	yes
@
text
@d6 1
a6 1
CATEGORIES=	archivers
@


1.8
log
@Utilize NO_WRKSUBDIR and reformat Makefile slightly.
@
text
@d1 1
a1 4
# New ports collection makefile for:	Dzip
# Date created:				08 May 2005
# Whom:					Alexey Dokuchaev <danfe@@FreeBSD.org>
#
a2 1
#
d10 1
a10 1
MAINTAINER=	danfe@@FreeBSD.org
d13 2
@


1.7
log
@- Unbreak on sparc64 [*]
- Fix a small harmless typo
- Utilize USE_DOS2UNIX
- Remove no-op USE_REINPLACE

Thanks to:	philip for sparc64 box access [*]
@
text
@d20 1
a20 1
WRKSRC=		${WRKDIR}
d30 3
a32 2
		${WRKSRC}/dzip.h ${WRKSRC}/conmain.c
	${REINPLACE_CMD} -e '4s,^,#include <machine/endian.h>,' ${WRKSRC}/dzip.h
d34 1
a34 1
	${REINPLACE_CMD} '21d;23d' ${WRKSRC}/dzipcon.h
@


1.6
log
@Use .SILENT meta-source instead of numerous `@@'-prefixes.
@
text
@d18 1
a18 1
USE_REINPLACE=	yes
a26 6
.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		"Does not compile on sparc64"
.endif

a27 2
	${FIND} -E ${WRKDIR} -type f -print0 | \
		${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
d32 2
a33 1
	${REINPLACE_CMD} -e 's/) $$(OBJECTS/&:T/' ${WRKSRCK}/${MAKEFILE}
d38 1
a38 1
.include <bsd.port.post.mk>
@


1.5
log
@BROKEN on sparc64: (still) does not compile
@
text
@d33 2
a34 2
post-extract:
	@@${FIND} -E ${WRKDIR} -type f -print0 | \
d36 1
a36 1
	@@${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if BYTE_ORDER == BIG_ENDIAN/' \
d39 2
a40 2
	@@${REINPLACE_CMD} -e '4s,^,#include <machine/endian.h>,' ${WRKSRC}/dzip.h
	@@${REINPLACE_CMD} -e 's/) $$(OBJECTS/&:T/' ${WRKSRCK}/${MAKEFILE}
@


1.4
log
@Unbreak on sparc64.

Tested on:	panther
@
text
@d27 6
d45 1
a45 1
.include <bsd.port.mk>
@


1.3
log
@BROKEN on sparc64: Does not compile
@
text
@a26 6
.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		"Does not compile on sparc64"
.endif

d32 2
a33 1
		${WRKSRC}/dzip.h ${WRKSRC}/conmain.c ${WRKSRC}/dzip.h
d39 1
a39 1
.include <bsd.port.post.mk>
@


1.2
log
@Unbreak the build on 4.X.

PR:		ports/83543
Submitted by:	Marcus Grando <marcus(at)corp.grupos.com.br>
@
text
@d27 6
d44 1
a44 1
.include <bsd.port.mk>
@


1.1
log
@Add Dzip, file compression utility specializing in Quake demo compression.

WWW: http://speeddemosarchive.com/dzip/
@
text
@d30 2
a31 2
	@@${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if _BYTE_ORDER == _BIG_ENDIAN/' \
		-e 's/ifndef BIG_ENDIAN/if _BYTE_ORDER == _LITTLE_ENDIAN/' \
@

