svn commit: r348074 - head/net/ltm

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 13 14:47:17 UTC 2014


Author: ehaupt
Date: Thu Mar 13 14:47:16 2014
New Revision: 348074
URL: http://svnweb.freebsd.org/changeset/ports/348074
QAT: https://qat.redports.org/buildarchive/r348074/

Log:
  Support staging

Modified:
  head/net/ltm/Makefile
  head/net/ltm/pkg-plist

Modified: head/net/ltm/Makefile
==============================================================================
--- head/net/ltm/Makefile	Thu Mar 13 14:39:18 2014	(r348073)
+++ head/net/ltm/Makefile	Thu Mar 13 14:47:16 2014	(r348074)
@@ -11,15 +11,14 @@ COMMENT=	Statseeker Real Time LAN Analys
 
 NO_BUILD=	yes
 
-MAN1=		ltm.1 ltm-client.1 ltm-mkprotodb.1
-MANCOMPRESSED=	yes
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-s: .IGNORE
-
 do-install:
-	@(tar -cf - -C ${WRKSRC} . | tar -xf - -C ${PREFIX})
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/ltm-client ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/ltm-mkprotodb ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/etc/protocols.cfg ${STAGEDIR}${PREFIX}/etc
+	${INSTALL_DATA} ${WRKSRC}/etc/protocols.db ${STAGEDIR}${PREFIX}/etc
+.for f in ltm-client ltm-mkprotodb ltm
+	${INSTALL_MAN} ${WRKSRC}/man/man1/${f}.1.gz \
+		${STAGEDIR}${MANPREFIX}/man/man1
+.endfor
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/net/ltm/pkg-plist
==============================================================================
--- head/net/ltm/pkg-plist	Thu Mar 13 14:39:18 2014	(r348073)
+++ head/net/ltm/pkg-plist	Thu Mar 13 14:47:16 2014	(r348074)
@@ -2,3 +2,6 @@ bin/ltm-client
 bin/ltm-mkprotodb
 etc/protocols.cfg
 etc/protocols.db
+man/man1/ltm-client.1.gz
+man/man1/ltm-mkprotodb.1.gz
+man/man1/ltm.1.gz


More information about the svn-ports-head mailing list