TAKATSU Tomonari <t...@freebsd.org> wrote
  in <201205020257.q422vjf9029...@repoman.freebsd.org>:

to> tota        2012-05-02 02:57:45 UTC
to>
to>   FreeBSD ports repository
to>
to>   Modified files:
to>     japanese             Makefile
to>   Added files:
to>     japanese/font-ricty  Makefile distinfo pkg-descr pkg-plist
to>     japanese/font-ricty/files 20-unhint-ricty.conf
to>                               20-unhint-rictydiscord.conf
to>                               62-fonts-ricty.conf
to>                               62-fonts-rictydiscord.conf
to>                               pkg-install.in
to>   Log:
to>   - Add a new port: japanese/font-ricty
to>
to>     Ricty is a Japanese TrueType font, consisting of
to>     Inconsolata and Migu 1M.
to>
to>     WWW:  http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html
to>
to>   Approved by:    Masaki TAGAWA <mas...@club.kyutech.ac.jp> (maintainer)
to>   Obtained from:  
http://www.club.kyutech.ac.jp/~masaki/ports/font-ricty.shar

 Please do not create do-fetch target in this way because it bypasses
 the distinfo checksum.  Also, this port should have NO_PACKAGE
 because redistribution of the generated font files is not allowed by
 the license.

-- Hiroki
Index: japanese/font-ricty/Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/font-ricty/Makefile,v
retrieving revision 1.1
diff -d -u -I \$FreeBSD:.*\$ -I \$NetBSD:.*\$ -I \$OpenBSD:.*\$ -I \$DragonFly:.*\$ -I \$Id:.*\$ -I \$Translation:.*\$ -I \$hrs:.*\$ -r1.1 Makefile
--- japanese/font-ricty/Makefile	2 May 2012 02:57:45 -0000	1.1
+++ japanese/font-ricty/Makefile	3 May 2012 10:47:13 -0000
@@ -8,7 +8,8 @@
 PORTNAME=	ricty
 PORTVERSION=	3.2.0
 CATEGORIES=	japanese x11-fonts
-MASTER_SITES=	https://nodeload.github.com/yascentur/Ricty/tarball/
+MASTER_SITES=	https://nodeload.github.com/yascentur/Ricty/tarball/${PORTVERSION}?dummy=/
+PKGNAMEPREFIX= ja-font-

 MAINTAINER=	mas...@club.kyutech.ac.jp
 COMMENT=	Ricty - fonts for programming
@@ -19,6 +20,8 @@
 				${LOCALBASE}/${X_FONTSDIR}/TTF/migu-1m-bold.ttf:${PORTSDIR}/japanese/font-migu \
 				fontforge:${PORTSDIR}/print/fontforge

+NO_PACKAGE=	redistribution is not allowed
+FETCH_BEFORE_ARGS=	-o ${DISTNAME}${EXTRACT_SUFX}
 PKGINSTALL=	${WRKDIR}/pkg-install
 PKGDEINSTALL=	${WRKDIR}/pkg-install
 SUB_FILES=	pkg-install
@@ -36,8 +39,6 @@

 .include <bsd.port.pre.mk>

-PKGNAMEPREFIX:= ${PKGNAMEPREFIX}font-
-
 .if defined(WITH_DISCORD)
 PLIST_SUB+=	DISCORD=""
 SUB_LIST+= DISCORD=""
@@ -46,9 +47,6 @@
 SUB_LIST+= DISCORD="#"
 .endif

-do-fetch:
-	@${FETCH_BINARY} -o ${DISTDIR}/${DISTFILES} ${MASTER_SITES}${PORTVERSION}
-
 do-build:
 	cd ${WRKSRC} &&\
 		${SH} ${WRKSRC}/ricty_generator.sh \

Attachment: pgpq8hcKDRfhj.pgp
Description: PGP signature

Reply via email to