aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2012-05-04 07:01:54 +0800
committertota <tota@FreeBSD.org>2012-05-04 07:01:54 +0800
commit760d4efcb025c489cfd4f52f687b0ba771ceef4a (patch)
tree21a39d9c444ffb225fd9999f55d0714fa2ffaf5b
parent64d8a2c942ad6a46d0fadfccb4b3e425aa299f3b (diff)
downloadfreebsd-ports-gnome-760d4efcb025c489cfd4f52f687b0ba771ceef4a.tar.gz
freebsd-ports-gnome-760d4efcb025c489cfd4f52f687b0ba771ceef4a.tar.zst
freebsd-ports-gnome-760d4efcb025c489cfd4f52f687b0ba771ceef4a.zip
- 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
-rw-r--r--LEGAL1
-rw-r--r--japanese/font-ricty/Makefile15
2 files changed, 8 insertions, 8 deletions
diff --git a/LEGAL b/LEGAL
index e0e39dad05d3..07a3c1def162 100644
--- a/LEGAL
+++ b/LEGAL
@@ -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
diff --git a/japanese/font-ricty/Makefile b/japanese/font-ricty/Makefile
index c0d0b0ea09c7..722282478488 100644
--- a/japanese/font-ricty/Makefile
+++ b/japanese/font-ricty/Makefile
@@ -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>