Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2017 09:02:58 +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: r433478 - head/devel/tass64
Message-ID:  <201702060902.v1692w7e072792@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb  6 09:02:58 2017
New Revision: 433478
URL: https://svnweb.freebsd.org/changeset/ports/433478

Log:
  - Fix LICENSE
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/devel/tass64/Makefile

Modified: head/devel/tass64/Makefile
==============================================================================
--- head/devel/tass64/Makefile	Mon Feb  6 08:25:05 2017	(r433477)
+++ head/devel/tass64/Makefile	Mon Feb  6 09:02:58 2017	(r433478)
@@ -10,20 +10,24 @@ DISTNAME=	64tass-${PORTVERSION}-src
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	6502/65C02/R65C02/W65C02/65CE02/65816/DTV/65EL02 Turbo Assembler
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/LICENSE-GPL-2.0
 
 USES=		gmake zip
 MAKE_ARGS=	-w CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
 
-PLIST_FILES=	bin/tass64 \
-		%%DOCSDIR%%/README \
-		%%DOCSDIR%%/README.html
+PLIST_FILES=	bin/tass64
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/64tass ${STAGEDIR}${PREFIX}/bin/tass64
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in README README.html
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README* ${STAGEDIR}${DOCSDIR}
 .endfor
 
 .include <bsd.port.mk>



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