Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2019 04:22:17 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521435 - in head/japanese/font-elisa10: . files
Message-ID:  <201912300422.xBU4MHf0065493@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Mon Dec 30 04:22:17 2019
New Revision: 521435
URL: https://svnweb.freebsd.org/changeset/ports/521435

Log:
  - Use FONTPATHSPEC and nuke pkg-message for adding FontPath manually.
  - Add LICENSE.

Deleted:
  head/japanese/font-elisa10/files/pkg-message.in
Modified:
  head/japanese/font-elisa10/Makefile

Modified: head/japanese/font-elisa10/Makefile
==============================================================================
--- head/japanese/font-elisa10/Makefile	Mon Dec 30 04:19:57 2019	(r521434)
+++ head/japanese/font-elisa10/Makefile	Mon Dec 30 04:22:17 2019	(r521435)
@@ -2,7 +2,7 @@
 
 PORTNAME=	elisa10
 PORTVERSION=	1.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	http://www.wheel.gr.jp/~dai/software/
 PKGNAMEPREFIX=	ja-font-
@@ -11,18 +11,25 @@ DISTNAME=	elisau10
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Elisa 10-dot Kanji font
 
+LICENSE=	NOTPARTIAL-NOTCOMMERCIAL
+LICENSE_NAME=	Whole, not partial, and not commercial
+LICENSE_TEXT=   Free redistribution of the whole package allowed, \
+		not partial, and not commercial
+LICENSE_PERMS=  dist-mirror pkg-mirror auto-accept
+
 BUILD_DEPENDS=	bdftopcf:x11-fonts/bdftopcf
 
 USES=		fonts tar:tgz
+FONTPATHSPEC=	${FONTNAME}:unscaled:pri=60
 NO_ARCH=	yes
 NO_WRKSUBDIR=	yes
-SUB_FILES=	Makefile pkg-message
 MAKEFILE=	${WRKDIR}/Makefile
+SUB_FILES=	Makefile
 SUB_LIST=	BDFTOPCF_CMD="${LOCALBASE}/bin/bdftopcf" \
 		GZIP_CMD="${GZIP_CMD}"
 PORTDOCS=	elisau10.doc hosoku.txt
-PLIST_FILES=	%%FONTSDIR%%/elisau10.pcf.gz \
-		%%FONTSDIR%%/fonts.alias
+PLIST_FILES=	${FONTSDIR:S,^${PREFIX}/,,}/elisau10.pcf.gz \
+		${FONTSDIR:S,^${PREFIX}/,,}/fonts.alias
 
 OPTIONS_DEFINE=	DOCS
 



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