summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/amap/Makefile13
-rw-r--r--security/amap/distinfo2
-rw-r--r--security/amap/files/patch-Makefile.am15
-rw-r--r--security/amap/files/patch-amap.c12
-rw-r--r--security/amap/pkg-plist8
5 files changed, 26 insertions, 24 deletions
diff --git a/security/amap/Makefile b/security/amap/Makefile
index b8fd09b..f517cc9 100644
--- a/security/amap/Makefile
+++ b/security/amap/Makefile
@@ -6,17 +6,16 @@
#
PORTNAME= amap
-PORTVERSION= 1.2.1
+PORTVERSION= 2.7
CATEGORIES= security
MASTER_SITES= http://www.thc.org/releases/
-EXTRACT_SUFX= .tgz
MAINTAINER= Yonatan@xpert.com
COMMENT= Application mapper
HAS_CONFIGURE= yes
USE_REINPLACE= yes
-ALL_TARGET= all
+
MAN1= amap.1
post-patch:
@@ -24,9 +23,17 @@ post-patch:
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>
diff --git a/security/amap/distinfo b/security/amap/distinfo
index e2b5f5e..7069ab4 100644
--- a/security/amap/distinfo
+++ b/security/amap/distinfo
@@ -1 +1 @@
-MD5 (amap-1.2.1.tgz) = c84cdd211628573fc516575829629896
+MD5 (amap-2.7.tar.gz) = 742448f85d6abf0897a7d0a703b66328
diff --git a/security/amap/files/patch-Makefile.am b/security/amap/files/patch-Makefile.am
index 05b2a64..762b08c 100644
--- a/security/amap/files/patch-Makefile.am
+++ b/security/amap/files/patch-Makefile.am
@@ -1,16 +1,15 @@
---- Makefile.am.orig Sun Mar 23 14:32:41 2003
-+++ Makefile.am Sun Mar 23 14:40:52 2003
-@@ -1,10 +1,9 @@
--CC=gcc
+--- Makefile.am.orig Tue Jun 10 17:02:49 2003
++++ Makefile.am Tue Jun 10 17:03:35 2003
+@@ -1,9 +1,9 @@
+ CC=gcc
-OPT=-O2
-+OPT=-O
++OPT=${CFLAGS}
OPT_DEBUG=-ggdb -Wall
- BIN=amap
-DIR=/usr/local/bin
+DIR=${PREFIX}/bin
- SCRIPTS=appdefs.trig appdefs.resp
+ SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
-MANDIR=/usr/local/man/man1
-+MANDIR=${MANPREFIX}
++MANDIR=${MANPREFIX}/man/man1
MANPAGE=amap.1
all: strip
diff --git a/security/amap/files/patch-amap.c b/security/amap/files/patch-amap.c
deleted file mode 100644
index 06968d2..0000000
--- a/security/amap/files/patch-amap.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- amap.c.orig Sun Mar 23 15:42:07 2003
-+++ amap.c Sun Mar 23 16:01:36 2003
-@@ -64,7 +64,8 @@
- char banner_string[256];
-
- // where are my appdefs files?
--char *searchpath[12] = { "./", "/etc/", "/usr/etc", "/usr/local/etc/",
-+char *searchpath[13] = { "./", "PREFIX/share/amap/", "/etc/", "/usr/etc",
-+ "/usr/local/etc/",
- "/opt/etc/", "/usr/local/amap/", "/opt/amap/",
- "/usr/local/lib/", "/usr/local/lib/amap/",
- "/usr/lib/amap/", "/usr/local/bin/", NULL };
diff --git a/security/amap/pkg-plist b/security/amap/pkg-plist
index 4e4273e..ac51e68 100644
--- a/security/amap/pkg-plist
+++ b/security/amap/pkg-plist
@@ -1,5 +1,13 @@
@comment $FreeBSD$
bin/amap
+bin/amapcrap
share/amap/appdefs.resp
+share/amap/appdefs.rpc
share/amap/appdefs.trig
+%%PORTDOCS%%share/doc/amap/README
+%%PORTDOCS%%share/doc/amap/BUGS
+%%PORTDOCS%%share/doc/amap/TODO
+%%PORTDOCS%%share/doc/amap/CHANGES
+%%PORTDOCS%%share/doc/amap/LICENSE
+%%PORTDOCS%%@dirrm share/doc/amap
@dirrm share/amap
OpenPOWER on IntegriCloud