Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2016 09:03:33 +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: r415053 - head/sysutils/tm
Message-ID:  <201605120903.u4C93XLg035348@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu May 12 09:03:32 2016
New Revision: 415053
URL: https://svnweb.freebsd.org/changeset/ports/415053

Log:
  - Add LICENSE_FILE
  - Switch to options helpers

Deleted:
  head/sysutils/tm/pkg-plist
Modified:
  head/sysutils/tm/Makefile

Modified: head/sysutils/tm/Makefile
==============================================================================
--- head/sysutils/tm/Makefile	Thu May 12 08:19:31 2016	(r415052)
+++ head/sysutils/tm/Makefile	Thu May 12 09:03:32 2016	(r415053)
@@ -11,10 +11,13 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Terminal mixer
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-DOCS=		ChangeLog DOCS index.html
 MAKE_ENV=	LINUX_LIBS=-lutil
 
+PLIST_FILES=	bin/tm
+PORTDOCS=	ChangeLog DOCS index.html
+
 OPTIONS_DEFINE=	DOCS
 
 post-extract:
@@ -26,11 +29,11 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|pty.h|libutil.h|' ${WRKSRC}/app_term.c
 	@${ECHO_CMD} '#include <string.h>' >> ${WRKSRC}/main.h
 
-.include <bsd.port.options.mk>
-
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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