Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 12:14:43 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333206 - in head/sysutils: anteater anteater/files autopsy
Message-ID:  <201311081214.rA8CEhdi069321@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Nov  8 12:14:43 2013
New Revision: 333206
URL: http://svnweb.freebsd.org/changeset/ports/333206

Log:
  support STAGEDIR.

Added:
  head/sysutils/anteater/files/
  head/sysutils/anteater/files/patch-anteater_parameter.h   (contents, props changed)
Modified:
  head/sysutils/anteater/Makefile
  head/sysutils/autopsy/Makefile
  head/sysutils/autopsy/pkg-plist

Modified: head/sysutils/anteater/Makefile
==============================================================================
--- head/sysutils/anteater/Makefile	Fri Nov  8 12:11:49 2013	(r333205)
+++ head/sysutils/anteater/Makefile	Fri Nov  8 12:14:43 2013	(r333206)
@@ -12,8 +12,6 @@ COMMENT=	MTA log analyzer
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 
-MAN1=		anteater.1
-PLIST_FILES=	bin/anteater
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/sysutils/anteater/files/patch-anteater_parameter.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/anteater/files/patch-anteater_parameter.h	Fri Nov  8 12:14:43 2013	(r333206)
@@ -0,0 +1,10 @@
+--- anteater/parameter.h.orig	2013-11-08 10:21:48.000000000 +0800
++++ anteater/parameter.h	2013-11-08 10:21:58.000000000 +0800
+@@ -16,6 +16,7 @@
+ #include <config.h>
+ #endif
+ 
++#include <stdlib.h>
+ #include <string>
+ #include <map>
+ #include <list>

Modified: head/sysutils/autopsy/Makefile
==============================================================================
--- head/sysutils/autopsy/Makefile	Fri Nov  8 12:11:49 2013	(r333205)
+++ head/sysutils/autopsy/Makefile	Fri Nov  8 12:14:43 2013	(r333206)
@@ -20,20 +20,18 @@ IS_INTERACTIVE=	yes
 WEB=		pict/*
 WEBHELP=	help/*
 PERLBITS=	lib/*.pm lib/*.pl conf.pl
-MAN1=		autopsy.1
 
-NO_STAGE=	yes
 pre-configure:
 	@${REINPLACE_CMD} -e 's,lib/,,' ${WRKSRC}/base/autopsy.base
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/autopsy ${PREFIX}/bin
-	@${MKDIR} ${PREFIX}/lib/autopsy
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PERLBITS} ${PREFIX}/lib/autopsy
-	cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
-	@${MKDIR} ${PREFIX}/share/autopsy/pict
-	@${MKDIR} ${PREFIX}/share/autopsy/help
-	cd ${WRKSRC} && ${INSTALL_DATA} ${WEB} ${PREFIX}/share/autopsy/pict
-	cd ${WRKSRC} && ${INSTALL_DATA} ${WEBHELP} ${PREFIX}/share/autopsy/help
+	${INSTALL_SCRIPT} ${WRKSRC}/autopsy ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/autopsy
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PERLBITS} ${STAGEDIR}${PREFIX}/lib/autopsy
+	cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/autopsy/pict
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/autopsy/help
+	cd ${WRKSRC} && ${INSTALL_DATA} ${WEB} ${STAGEDIR}${PREFIX}/share/autopsy/pict
+	cd ${WRKSRC} && ${INSTALL_DATA} ${WEBHELP} ${STAGEDIR}${PREFIX}/share/autopsy/help
 
 .include <bsd.port.mk>

Modified: head/sysutils/autopsy/pkg-plist
==============================================================================
--- head/sysutils/autopsy/pkg-plist	Fri Nov  8 12:11:49 2013	(r333205)
+++ head/sysutils/autopsy/pkg-plist	Fri Nov  8 12:14:43 2013	(r333206)
@@ -20,7 +20,26 @@ lib/autopsy/Vs.pm
 lib/autopsy/conf.pl
 lib/autopsy/define.pl
 lib/autopsy/search.pl
-@dirrm lib/autopsy
+man/man1/autopsy.1.gz
+%%DATADIR%%/help/blank.html
+%%DATADIR%%/help/caseman.html
+%%DATADIR%%/help/data_mode.html
+%%DATADIR%%/help/file_category.html
+%%DATADIR%%/help/file_mode.html
+%%DATADIR%%/help/fs_mode.html
+%%DATADIR%%/help/general.html
+%%DATADIR%%/help/grep.html
+%%DATADIR%%/help/grep_lim.html
+%%DATADIR%%/help/hash_db.html
+%%DATADIR%%/help/index.html
+%%DATADIR%%/help/int_mode.html
+%%DATADIR%%/help/menu.html
+%%DATADIR%%/help/meta_mode.html
+%%DATADIR%%/help/sequencer.html
+%%DATADIR%%/help/srch_mode.html
+%%DATADIR%%/help/temp.html
+%%DATADIR%%/help/timezones.html
+%%DATADIR%%/help/tl.html
 %%DATADIR%%/pict/back_pix.jpg
 %%DATADIR%%/pict/but_addnote.jpg
 %%DATADIR%%/pict/but_alloc_list.jpg
@@ -126,7 +145,6 @@ lib/autopsy/search.pl
 %%DATADIR%%/pict/menu_t_cg_cur.jpg
 %%DATADIR%%/pict/menu_t_cg_link.jpg
 %%DATADIR%%/pict/menu_t_cg_org.jpg
-%%DATADIR%%/pict/sanit_b_san.jpg
 %%DATADIR%%/pict/menu_t_hg_cur.jpg
 %%DATADIR%%/pict/menu_t_hg_link.jpg
 %%DATADIR%%/pict/menu_t_hg_org.jpg
@@ -134,6 +152,7 @@ lib/autopsy/search.pl
 %%DATADIR%%/pict/menu_t_hm_link.jpg
 %%DATADIR%%/pict/menu_t_hm_org.jpg
 %%DATADIR%%/pict/sanit_b_norm.jpg
+%%DATADIR%%/pict/sanit_b_san.jpg
 %%DATADIR%%/pict/sanitized.jpg
 %%DATADIR%%/pict/srch_b_lorig.jpg
 %%DATADIR%%/pict/srch_b_lun.jpg
@@ -149,25 +168,7 @@ lib/autopsy/search.pl
 %%DATADIR%%/pict/tl_t_tl_link.jpg
 %%DATADIR%%/pict/tl_t_view_cur.jpg
 %%DATADIR%%/pict/tl_t_view_link.jpg
-%%DATADIR%%/help/blank.html
-%%DATADIR%%/help/caseman.html
-%%DATADIR%%/help/data_mode.html
-%%DATADIR%%/help/file_category.html
-%%DATADIR%%/help/file_mode.html
-%%DATADIR%%/help/fs_mode.html
-%%DATADIR%%/help/general.html
-%%DATADIR%%/help/grep.html
-%%DATADIR%%/help/grep_lim.html
-%%DATADIR%%/help/hash_db.html
-%%DATADIR%%/help/index.html
-%%DATADIR%%/help/int_mode.html
-%%DATADIR%%/help/menu.html
-%%DATADIR%%/help/meta_mode.html
-%%DATADIR%%/help/sequencer.html
-%%DATADIR%%/help/srch_mode.html
-%%DATADIR%%/help/temp.html
-%%DATADIR%%/help/timezones.html
-%%DATADIR%%/help/tl.html
 @dirrm %%DATADIR%%/pict
 @dirrm %%DATADIR%%/help
 @dirrm %%DATADIR%%
+@dirrm lib/autopsy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311081214.rA8CEhdi069321>