head	1.13;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3;
locks; strict;
comment	@# @;


1.13
date	2012.11.17.05.54.24;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2011.09.23.22.20.52;	author amdmi3;	state Exp;
branches;
next	1.11;

1.11
date	2009.05.01.23.45.43;	author wxs;	state Exp;
branches;
next	1.10;

1.10
date	2008.06.25.01.09.33;	author araujo;	state Exp;
branches;
next	1.9;

1.9
date	2008.04.29.05.11.33;	author linimon;	state Exp;
branches;
next	1.8;

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

1.7
date	2007.08.04.11.40.38;	author gabor;	state Exp;
branches;
next	1.6;

1.6
date	2006.11.07.16.07.35;	author jylefort;	state Exp;
branches;
next	1.5;

1.5
date	2006.11.06.20.08.48;	author jylefort;	state Exp;
branches;
next	1.4;

1.4
date	2006.08.11.15.46.59;	author jylefort;	state Exp;
branches;
next	1.3;

1.3
date	2005.06.12.18.17.05;	author jylefort;	state Exp;
branches;
next	1.2;

1.2
date	2005.05.15.01.50.16;	author jylefort;	state Exp;
branches;
next	1.1;

1.1
date	2005.04.10.20.46.05;	author flz;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Switch exporter over
@
text
@# New ports collection makefile for:	unmakeself
# Date created:			31 Mar 2005
# Whom:				Jean-Yves Lefort <jylefort@@brutele.be>
#
# $FreeBSD: head/archivers/unmakeself/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	unmakeself
PORTVERSION=	1.1
CATEGORIES=	archivers
DISTFILES=

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Extract Makeself archives

LDFLAGS+=	-larchive -lbz2 -lz -lcrypto -lmd
NO_WRKSUBDIR=	yes

PLIST_FILES=	bin/unmakeself

do-configure:
	@@${RM} -f ${WRKSRC}/config.h
	@@if ${GREP} -q memmem /usr/include/string.h; then \
		${ECHO_CMD} "#define HAS_MEMMEM" > ${WRKSRC}/config.h; \
	else \
		${ECHO_CMD} "#undef HAS_MEMMEM" > ${WRKSRC}/config.h; \
	fi

do-build:
	${CC} ${CFLAGS} ${CPPFLAGS} -I${WRKSRC} -o ${WRKSRC}/unmakeself \
		${FILESDIR}/unmakeself.c ${LDFLAGS}

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

.include <bsd.port.mk>
@


1.12
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@- Unbreak on -CURRENT.

PR:		ports/134046
Submitted by:	Oleg Ginzburg <oleg.ginzburg@@nevosoft.ru>
@
text
@d16 1
a16 1
LDFLAGS=	-larchive -lbz2 -lz -lcrypto -lmd
@


1.10
log
@- Remove 5.x support.

PR:		ports/124941
Submitted by:	Philip M. Gollucci <pgollucci@@p6m7g8.com>
@
text
@d16 1
a16 1
LDFLAGS=	-larchive -lbz2 -lz
@


1.9
log
@Reset jylefort's port maintainerships.  portmgr has taken his commit bit
into safekeeping due to inactivity.
@
text
@a20 8
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 502103
BUILD_DEPENDS+=	${LOCALBASE}/lib/libarchive.a:${PORTSDIR}/archivers/libarchive
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
.endif

d36 1
a36 1
.include <bsd.port.post.mk>
@


1.8
log
@- Remove USE_GETOPT_LONG which is a no-op since March 2007
@
text
@d13 1
a13 1
MAINTAINER=	jylefort@@FreeBSD.org
@


1.7
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@a16 1
USE_GETOPT_LONG=yes
@


1.6
log
@Provide a memmem() if the system lacks it.

Reported by:	Frank W. Josellis <frank@@dynamical-systems.org>
@
text
@d43 1
a43 1
	${INSTALL_PROGRAM} ${WRKSRC}/unmakeself ${TARGETDIR}/bin
@


1.5
log
@- Fix archive offset calculation (problem reported in [1])
- Various code cleanups

[1]:
PR:		ports/105214
Submitted by:	Frank W. Josellis <frank@@dynamical-systems.org>
@
text
@d30 8
d39 1
a39 1
	${CC} ${CFLAGS} ${CPPFLAGS} -o ${WRKSRC}/unmakeself \
@


1.4
log
@Respect DESTDIR.

PR:		ports/101814
Submitted by:	gabor
@
text
@d8 3
a10 3
PORTNAME=		unmakeself
PORTVERSION=		1.0
CATEGORIES=		archivers
d13 2
a14 2
MAINTAINER=		jylefort@@FreeBSD.org
COMMENT=		Extract Makeself archives
d16 3
a18 3
LDFLAGS=		-larchive -lbz2 -lz
USE_GETOPT_LONG=	yes
NO_WRKSUBDIR=		yes
d20 1
a20 1
PLIST_FILES=		bin/unmakeself
d25 3
a27 3
BUILD_DEPENDS+=		${LOCALBASE}/lib/libarchive.a:${PORTSDIR}/archivers/libarchive
CPPFLAGS+=		-I${LOCALBASE}/include
LDFLAGS+=		-L${LOCALBASE}/lib
@


1.3
log
@Release version 1.0:
  - Document options in --help output
  - Add --print-offset option
@
text
@d35 1
a35 1
	${INSTALL_PROGRAM} ${WRKSRC}/unmakeself ${PREFIX}/bin
@


1.2
log
@Change my email address.
@
text
@d9 1
a9 1
PORTVERSION=		0.99
a34 1
	${MKDIR} ${PREFIX}/bin
@


1.1
log
@- Add unmakeself 0.99, a tool to extract makeself archives.

PR:		ports/79398
Submitted by:	Jean-Yves Lefort <jylefort@@brutele.be>
@
text
@d13 1
a13 1
MAINTAINER=		jylefort@@brutele.be
@

