- Remove do-fetch target and fix MASTER_SITES not to bypass the distinfo

checksum
- Set NO_PACKAGE because redistribution is not allowed
- Bump PORTREVISION
- Add entry to LEGAL

Submitted by:	hrs
This commit is contained in:
TAKATSU Tomonari 2012-05-03 23:01:54 +00:00
parent bee928a7f6
commit 8751e6c3f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295983
2 changed files with 8 additions and 8 deletions

1
LEGAL
View File

@ -400,6 +400,7 @@ raproxy*.tar.gz audio/raproxy License allows only use in a
firewall, or with RA products
rarbsd-* archivers/rar Only unmodified, original
package can be distributed
ricty-* japanese/font-ricty Redistribution not allowed
ringtonetools-* misc/ringtonetools Not free for commercial
organizations
rman-3.* textproc/rman Do not sell for profit

View File

@ -7,8 +7,10 @@
PORTNAME= ricty
PORTVERSION= 3.2.0
PORTREVISION= 1
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= masaki@club.kyutech.ac.jp
COMMENT= Ricty - fonts for programming
@ -19,6 +21,8 @@ BUILD_DEPENDS= ${LOCALBASE}/${X_FONTSDIR}/OTF/Inconsolata.otf:${PORTSDIR}/x11-fo
${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
@ -34,9 +38,7 @@ X_FONTSDIR= lib/X11/fonts
OPTIONS= DISCORD "Install Ricty-Discord" On
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}font-
.include <bsd.port.options.mk>
.if defined(WITH_DISCORD)
PLIST_SUB+= DISCORD=""
@ -46,9 +48,6 @@ PLIST_SUB+= DISCORD="@comment "
SUB_LIST+= DISCORD="#"
.endif
do-fetch:
@${FETCH_BINARY} -o ${DISTDIR}/${DISTFILES} ${MASTER_SITES}${PORTVERSION}
do-build:
cd ${WRKSRC} &&\
${SH} ${WRKSRC}/ricty_generator.sh \
@ -95,4 +94,4 @@ post-install:
${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${X_FONTSDIR}/TTF
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>
.include <bsd.port.mk>