Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2015 10:59:37 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404933 - head/net/mping
Message-ID:  <201512311059.tBVAxbGf067276@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Dec 31 10:59:37 2015
New Revision: 404933
URL: https://svnweb.freebsd.org/changeset/ports/404933

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/net/mping/Makefile

Modified: head/net/mping/Makefile
==============================================================================
--- head/net/mping/Makefile	Thu Dec 31 10:59:07 2015	(r404932)
+++ head/net/mping/Makefile	Thu Dec 31 10:59:37 2015	(r404933)
@@ -9,18 +9,25 @@ MASTER_SITES=	http://mping.uninett.no/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Mping network statistics collector
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	sbin/mping \
 		man/man8/mping.8.gz
 PORTDOCS=	ChangeLog README TODO
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/mping ${STAGEDIR}${PREFIX}/sbin/mping
-	${INSTALL_MAN} ${WRKSRC}/man/mping.8 ${STAGEDIR}${PREFIX}/man/man8/mping.8
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/src/mping ${STAGEDIR}${PREFIX}/sbin/
+	${INSTALL_MAN} ${WRKSRC}/man/mping.8 ${STAGEDIR}${MANPREFIX}/man/man8/
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
 .endfor
 
 .include <bsd.port.mk>



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