svn commit: r345963 - head/security/l5

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 25 11:33:21 UTC 2014


Author: ehaupt
Date: Tue Feb 25 11:33:21 2014
New Revision: 345963
URL: http://svnweb.freebsd.org/changeset/ports/345963
QAT: https://qat.redports.org/buildarchive/r345963/

Log:
  Support staging

Deleted:
  head/security/l5/pkg-plist
Modified:
  head/security/l5/Makefile

Modified: head/security/l5/Makefile
==============================================================================
--- head/security/l5/Makefile	Tue Feb 25 11:29:36 2014	(r345962)
+++ head/security/l5/Makefile	Tue Feb 25 11:33:21 2014	(r345963)
@@ -11,17 +11,23 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	File Integrity Assessment Tool
 
-NO_WRKSUBDIR=	true
+NO_WRKSUBDIR=	yes
 ALL_TARGET=	freebsd
 
-NO_STAGE=	yes
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
+PLIST_FILES=	bin/l5
+PORTDOCS=	README
+
+OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.pre.mk>
+
 .if ${ARCH} == 'amd64'
 BROKEN=	incorrect runtime output
 .endif
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.post.mk>


More information about the svn-ports-all mailing list