svn commit: r346513 - head/security/smap

Emanuel Haupt ehaupt at FreeBSD.org
Fri Feb 28 13:38:24 UTC 2014


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 at 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
+ at dirrm %%DATADIR%%


More information about the svn-ports-all mailing list