summaryrefslogtreecommitdiff
path: root/security/amap/Makefile
blob: 29229e503b2870e16810856842204a0b45b2aa8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Ports collection makefile for:  amap
# Date created:			  23 Mar  2003
# Whom:				  Yonatan <Yonatan@xpert.com>
#
# $FreeBSD$
#

PORTNAME=	amap
PORTVERSION=	4.0
CATEGORIES=	security
MASTER_SITES=	http://www.thc.org/releases/

MAINTAINER=	Yonatan@xpert.com
COMMENT=	Application mapper

HAS_CONFIGURE=	yes
USE_REINPLACE=	yes

MAN1=		amap.1

post-patch:
	${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|' ${WRKSRC}/amap.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/amap ${PREFIX}/bin/
	${INSTALL_PROGRAM} ${WRKSRC}/amapcrap ${PREFIX}/bin/
	${MKDIR} ${PREFIX}/share/amap
	${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/
.	if !defined(NOPORTDOCS)
		${MKDIR} ${DOCSDIR}
.		for i in README TODO CHANGES LICENSE IGNORE VOTE
			${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.		endfor
.	endif

.include <bsd.port.mk>