head	1.20;
access;
symbols
	RELEASE_8_3_0:1.19
	RELEASE_9_0_0:1.19
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.18
	RELEASE_8_1_0:1.18
	RELEASE_7_3_0:1.18
	RELEASE_8_0_0:1.18
	RELEASE_7_2_0:1.18
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.18
	RELEASE_7_0_0:1.18
	RELEASE_6_3_0:1.18
	PRE_XORG_7:1.18
	RELEASE_4_EOL:1.18
	RELEASE_6_2_0:1.18
	RELEASE_6_1_0:1.16
	RELEASE_5_5_0:1.16
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.8
	RELEASE_5_2_1:1.7
	RELEASE_5_2_0:1.7
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.2;
locks; strict;
comment	@# @;


1.20
date	2012.11.17.06.01.00;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2011.06.06.21.35.43;	author rene;	state Exp;
branches;
next	1.18;

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

1.17
date	2006.05.13.04.14.58;	author edwin;	state Exp;
branches;
next	1.16;

1.16
date	2006.02.20.13.31.57;	author flz;	state Exp;
branches;
next	1.15;

1.15
date	2005.10.26.01.42.18;	author mnag;	state Exp;
branches;
next	1.14;

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

1.13
date	2005.05.22.15.16.45;	author jylefort;	state Exp;
branches;
next	1.12;

1.12
date	2005.02.13.18.51.36;	author leeym;	state Exp;
branches;
next	1.11;

1.11
date	2004.12.16.13.42.01;	author vs;	state Exp;
branches;
next	1.10;

1.10
date	2004.12.16.11.37.24;	author vs;	state Exp;
branches;
next	1.9;

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

1.8
date	2004.02.10.14.44.32;	author leeym;	state Exp;
branches;
next	1.7;

1.7
date	2003.11.17.12.29.04;	author trevor;	state Exp;
branches;
next	1.6;

1.6
date	2003.09.25.11.40.35;	author krion;	state Exp;
branches;
next	1.5;

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

1.4
date	2003.07.29.13.32.55;	author krion;	state Exp;
branches;
next	1.3;

1.3
date	2003.06.30.02.10.17;	author leeym;	state Exp;
branches;
next	1.2;

1.2
date	2003.04.16.01.08.14;	author leeym;	state Exp;
branches;
next	1.1;

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


desc
@@


1.20
log
@Switch exporter over
@
text
@# Ports collection makefile for:  amap
# Date created:			  23 Mar  2003
# Whom:				  Yonatan <onatan@@gmail.com>
#
# $FreeBSD: head/security/amap/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	amap
PORTVERSION=	5.2
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR=	groups/thc

MAINTAINER=	onatan@@gmail.com
COMMENT=	Application mapper

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX}

USE_OPENSSL=	yes

MAN1=		amap.1
.if !defined(NOPORTDOCS)
PORTDOCS=	README TODO CHANGES AMAP-LIB-INTERFACE
.endif
PLIST_SUB=	AMAPLIBDIR=lib/${PORTNAME} AMAPINCDIR=include/${PORTNAME}

CONF_DIR=	${PREFIX}/etc/${PORTNAME}
LOCAL_CONF_FILES=	appdefs.resp appdefs.rpc appdefs.trig

SUB_FILES=	pkg-install pkg-deinstall
SUB_LIST=	LOCAL_CONF_FILES="${LOCAL_CONF_FILES}" CONF_DIR="${CONF_DIR}"

post-patch:
	@@${REINPLACE_CMD} -e \
		's|/usr/local|${LOCALBASE}|g; \
		 s|\(-DAMAP_PREFIX\)=\(\$$PREFIX\)|\1=\\\\\\"\2\\\\\\"|' \
		${WRKSRC}/configure
	@@${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|; s|^CC=.*||' \
		${WRKSRC}/Makefile.am
	@@${REINPLACE_CMD} -e 's|etc/|etc/amap/|g' ${WRKSRC}/amap-lib.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/amap ${PREFIX}/bin
	${LN} -s ${PREFIX}/bin/amap ${PREFIX}/bin/amap6
	${INSTALL_PROGRAM} ${WRKSRC}/amapcrap ${PREFIX}/bin
	${MKDIR} ${PREFIX}/lib/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/amap-lib.o ${PREFIX}/lib/${PORTNAME}
	${MKDIR} ${PREFIX}/include/${PORTNAME}
.	for i in amap.h amap-inc.h amap-lib.h
		${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/include/${PORTNAME}
.	endfor
	${MKDIR} ${CONF_DIR}
.	for i in ${LOCAL_CONF_FILES}
		${INSTALL_DATA} ${WRKSRC}/${i} ${CONF_DIR}/${i}.default
.	endfor
	${INSTALL_MAN} ${WRKSRC}/amap.1 ${MANPREFIX}/man/man1
.	if !defined(NOPORTDOCS)
		${MKDIR} ${DOCSDIR}
.		for i in ${PORTDOCS}
			${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.		endfor
.	endif
	@@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>
@


1.19
log
@Rename a CONF_FILES variable to LOCAL_CONF_FILES, the former will be
introduced to bsd.port.mk

PR:		ports/157160
Submitted by:	Chris Rees [utisoft gmail com]
Approved by:	maintainer timeout (20 days)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.18
log
@Fix MASTER_SITES and make it fetchable again

PR:		ports/101581
Submitted by:	Yonatan <onatan at gmail.com> (maintainer)
@
text
@d32 1
a32 1
SUB_LIST=	CONF_FILES="${LOCAL_CONF_FILES}" CONF_DIR="${CONF_DIR}"
@


1.17
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d11 2
a12 1
MASTER_SITES=	http://www.thc.org/releases/
@


1.16
log
@- Rename CONF_FILES to LOCAL_CONF_FILES.

PR:		ports/90438
Submitted by:	flz
Approved by:	maintainer timeouts
@
text
@a18 1
USE_REINPLACE=	yes
@


1.15
log
@Update to 5.2

PR:		87401
Submitted by:	Frank Laszlo <laszlof@@vonostingroup.com>
Approved by:	Jonatan B <onatan@@gmail.com> (maintainer)
@
text
@d29 1
a29 1
CONF_FILES=	appdefs.resp appdefs.rpc appdefs.trig
d32 1
a32 1
SUB_LIST=	CONF_FILES="${CONF_FILES}" CONF_DIR="${CONF_DIR}"
d54 1
a54 1
.	for i in ${CONF_FILES}
@


1.14
log
@- update to amap-5.1

PR:		82780
Submitted by:	Yonatan <onatan@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	5.1
@


1.13
log
@- Update to 5.0 [1]
- Install configuration files in ${PREFIX}/etc/amap, and preserve user
  modifications across updates
- Do not define PORTDOCS if NOPORTDOCS is defined
- Respect ${LOCALBASE}, ${PREFIX}, ${CC} and ${CFLAGS}
- Add USE_OPENSSL=yes

PR:		ports/81354 [1]
Submitted by:	maintainer [1]
@
text
@d9 1
a9 1
PORTVERSION=	5.0
@


1.12
log
@- update to amap-4.8

PR:		77451
Submitted by:	Yonatan <onatan at gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	4.8
d17 4
d23 19
a41 1
PORTDOCS=	README TODO CHANGES
d45 1
d47 9
a55 3
	${MKDIR} ${DATADIR}
.	for i in appdefs.resp appdefs.rpc appdefs.trig
		${INSTALL_DATA} ${WRKSRC}/${i} ${DATADIR}
d64 1
@


1.11
log
@- Update to 4.7
- Fix WWW-URL

Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	4.7
@


1.10
log
@Update to 4.6, chase MASTER_SITE

PR:		ports/70853
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	4.6
@


1.9
log
@- Update maintainer's email address

PR:		ports/73939
Submitted by:	Yonatan <onatan@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.5
d19 1
a19 1
PORTDOCS=	README TODO CHANGES VOTE
d24 1
a24 1
	${MKDIR} ${PREFIX}/share/amap
d26 1
a26 1
		${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/amap
@


1.8
log
@update to amap-4.5
add PORTDOCS

PR:		62578
Submitted by:	Yonatan Bokovza <Yonatan@@Xpert.com>
@
text
@d3 1
a3 1
# Whom:				  Yonatan <Yonatan@@xpert.com>
d13 1
a13 1
MAINTAINER=	Yonatan@@xpert.com
@


1.7
log
@USE_REINPLACE need be defined only when REINPLACE_CMD is used.
@
text
@d9 1
a9 1
PORTVERSION=	4.3
d19 1
d31 1
a31 1
.		for i in README TODO CHANGES VOTE
@


1.6
log
@- Update to version 4.3

PR:		56860
Submitted by:	maintainer
@
text
@a16 1
USE_REINPLACE=	yes
@


1.5
log
@Update to 4.2 [1]
Also: [2]
 * respect to ${CC}
 * save three bytes in pkg-plist (use %%DOCSDIR%%)
 * save more bytes in Makefile (by remove refuse `/' and
   optimize ${INSTALL_DATA} rules)

Submitted by:	Yonatan@@xpert.com <Yonatan@@xpert.com> (maintainer) [1],
		osa [2]
PR:		55532
@
text
@d9 1
a9 1
PORTVERSION=	4.2
a20 3
post-patch:
	${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|' ${WRKSRC}/amap.h

d31 1
a31 1
.		for i in README TODO CHANGES LICENSE IGNORE VOTE
@


1.4
log
@Update to 4.0

PR:		55011
Submitted by:	maintainer
Approved by:	fjoe (mentor) (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	4.0
d25 2
a26 2
	${INSTALL_PROGRAM} ${WRKSRC}/amap ${PREFIX}/bin/
	${INSTALL_PROGRAM} ${WRKSRC}/amapcrap ${PREFIX}/bin/
d28 4
a31 4
	${INSTALL_DATA} ${WRKSRC}/appdefs.resp ${PREFIX}/share/amap/
	${INSTALL_DATA} ${WRKSRC}/appdefs.rpc ${PREFIX}/share/amap/
	${INSTALL_DATA} ${WRKSRC}/appdefs.trig ${PREFIX}/share/amap/
	${INSTALL_MAN} ${WRKSRC}/amap.1 ${MANPREFIX}/man/man1/
@


1.3
log
@Update to 2.7

PR:		53902
Submitted by:	Yonatan@@xpert.com <Yonatan@@xpert.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.7
d22 1
a22 1
	${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|' ${WRKSRC}/amap.c
d34 1
a34 1
.		for i in README BUGS TODO CHANGES LICENSE
@


1.2
log
@Site name changed to www.thc.org

PR:		50969
Submitted by:	Yonatan@@xpert.com <Yonatan@@xpert.com>
@
text
@d9 1
a9 1
PORTVERSION=	1.2.1
a11 1
EXTRACT_SUFX=	.tgz
d18 1
a18 1
ALL_TARGET=	all
d26 1
d29 1
d32 6
@


1.1
log
@New port: security/amap - application mapper

		This is amap- the application mapper. It tries to
		identify applications that do not run on thier
		default port.

PR:		ports/50218
Submitted by:	Yonatan@@xpert.com <Yonatan@@xpert.com>
@
text
@d11 1
a11 1
MASTER_SITES=	http://www.thehackerschoice.com/releases/
@

