Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 13:38:23 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346513 - head/security/smap
Message-ID:  <201402281338.s1SDcNAC000583@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb 28 13:38:23 2014
New Revision: 346513
URL: http://svnweb.freebsd.org/changeset/ports/346513
QAT: https://qat.redports.org/buildarchive/r346513/

Log:
  Support staging

Added:
  head/security/smap/pkg-plist   (contents, props changed)
Modified:
  head/security/smap/Makefile

Modified: head/security/smap/Makefile
==============================================================================
--- head/security/smap/Makefile	Fri Feb 28 13:35:22 2014	(r346512)
+++ head/security/smap/Makefile	Fri Feb 28 13:38:23 2014	(r346513)
@@ -10,15 +10,11 @@ MASTER_SITES=	http://www.wormulon.net/sm
 MAINTAINER=	edwin@mavetju.org
 COMMENT=	SIP scanner and identifier
 
-PLIST_FILES=	bin/smap share/smap/fingerprint.db
-PLIST_DIRS=	share/smap
+USES=		gmake
 
-USE_GMAKE=	yes
-
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/smap ${PREFIX}/bin
-	${MKDIR} ${PREFIX}/share/smap
-	${INSTALL_DATA} ${WRKSRC}/fingerprint.db ${PREFIX}/share/smap
+	${INSTALL_PROGRAM} ${WRKSRC}/smap ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/fingerprint.db ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Added: head/security/smap/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/smap/pkg-plist	Fri Feb 28 13:38:23 2014	(r346513)
@@ -0,0 +1,3 @@
+bin/smap
+%%DATADIR%%/fingerprint.db
+@dirrm %%DATADIR%%



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