aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2012-05-03 23:01:54 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2012-05-03 23:01:54 +0000
commit8751e6c3f04a68afec9ade59f1966ccd1d6001f9 (patch)
treea68495419b0b694f1303593083f2046107d82acf
parentbee928a7f6929874fe18ed6dc0aac6d0a6f649e0 (diff)
downloadports-8751e6c3f04a68afec9ade59f1966ccd1d6001f9.tar.gz
ports-8751e6c3f04a68afec9ade59f1966ccd1d6001f9.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
Notes
Notes: svn path=/head/; revision=295983
-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>