aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-ricty
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 /japanese/font-ricty
parentbee928a7f6929874fe18ed6dc0aac6d0a6f649e0 (diff)
downloadports-8751e6c3f04a68afec9ade59f1966ccd1d6001f9.tar.gz
ports-8751e6c3f04a68afec9ade59f1966ccd1d6001f9.zip
Notes
Diffstat (limited to 'japanese/font-ricty')
-rw-r--r--japanese/font-ricty/Makefile15
1 files changed, 7 insertions, 8 deletions
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>