Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2019 14:49:06 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515261 - head/x11-fonts/kaputa
Message-ID:  <201910231449.x9NEn63N061577@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Wed Oct 23 14:49:06 2019
New Revision: 515261
URL: https://svnweb.freebsd.org/changeset/ports/515261

Log:
  Take maintainership and clean up
  
  - Set license bits.
  - Set needed variables: NO_ARCH, NO_WRKSUBDIR.
  - Remove unnecessary targets.
  - Simplify the installation.

Modified:
  head/x11-fonts/kaputa/Makefile

Modified: head/x11-fonts/kaputa/Makefile
==============================================================================
--- head/x11-fonts/kaputa/Makefile	Wed Oct 23 14:25:34 2019	(r515260)
+++ head/x11-fonts/kaputa/Makefile	Wed Oct 23 14:49:06 2019	(r515261)
@@ -2,26 +2,34 @@
 # $FreeBSD$
 
 PORTNAME=	kaputa
-PORTVERSION=	1.000
-PORTREVISION=	2
+DISTVERSION=	1.000
+PORTREVISION=	3
 CATEGORIES=	x11-fonts
 MASTER_SITES=	http://www.kaputa.com/slword/
 DISTNAME=	${PORTNAME}unicode
 DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	0mp@FreeBSD.org
 COMMENT=	Free Unicode font for Sinhala script
 
+LICENSE=	UNKNOWN
+LICENSE_NAME=	unknown
+LICENSE_TEXT=	The exact license is unknown.\
+		The FAQ at http://www.kaputa.com/slword/help.htm says that\
+		those fonts are free to use.
+LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
 USES=		fonts zip
+
+NO_ARCH=	yes
 NO_BUILD=	yes
-PLIST_FILES=	${FONTSDIR}/kaputa.ttf
+NO_WRKSUBDIR=	yes
 
-post-extract:
-	@${MKDIR} ${WRKSRC}/
-	@${MV} ${WRKDIR}/kaputaunicode.ttf ${WRKSRC}/kaputa.ttf
+PLIST_FILES=	${FONTSDIR}/kaputaunicode.ttf
 
 do-install:
-	@${INSTALL} -d ${STAGEDIR}${FONTSDIR}/
-	@${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${FONTSDIR}/
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/kaputaunicode.ttf \
+		${STAGEDIR}${FONTSDIR}/
 
 .include <bsd.port.mk>



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