svn commit: r415053 - head/sysutils/tm

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu May 12 09:03:34 UTC 2016


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 at 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>


More information about the svn-ports-head mailing list