summaryrefslogtreecommitdiffstats
path: root/security/amap/Makefile
blob: f517cc9f279082542d2cacfc58a73e686274d24e (plain)
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=	2.7
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.c

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 BUGS TODO CHANGES LICENSE
			${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.		endfor
.	endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud