summaryrefslogtreecommitdiff
path: root/japanese/font-motoya-al/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-09-04 21:15:21 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-09-04 21:15:21 +0000
commit9edc5c1eb237b00e56a50e5ca865cfa4ae290688 (patch)
tree50783d2a432030563550cbc1eb312bc5333bf86b /japanese/font-motoya-al/Makefile
parentUpdate to 2.12. (diff)
- Fix a warning "Having multiple values in <test> isn't supported and may
not work as expected" when using the latest x11-fonts/fontconfig [*]. - Update to the latest version (font-migu, font-ume, font-vlgothic). - Style clean-ups. PR: ports/181701 [*]
Notes
Notes: svn path=/head/; revision=326328
Diffstat (limited to 'japanese/font-motoya-al/Makefile')
-rw-r--r--japanese/font-motoya-al/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/japanese/font-motoya-al/Makefile b/japanese/font-motoya-al/Makefile
index ec0560df659e..79e5c04c122d 100644
--- a/japanese/font-motoya-al/Makefile
+++ b/japanese/font-motoya-al/Makefile
@@ -1,11 +1,8 @@
-# New ports collection makefile for: font-motoya-al
-# Date created: 7 January 2011
-# Whom: hrs
# $FreeBSD$
-#
PORTNAME= font-motoya-al
PORTVERSION= 0.0.20100921
+PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= LOCAL
MASTER_SITE_SUBDIR= hrs
@@ -29,6 +26,10 @@ PORTDOCS= newsrelease20100921.pdf
LOCAL_FONTSDIR= share/fonts
X_FONTSDIR= lib/X11/fonts
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${DATADIR}
@@ -47,7 +48,7 @@ do-install:
${PREFIX}/etc/fonts/conf.d/20-unhint-motoya-al.conf
${LN} -s -f ../conf.avail/62-fonts-motoya-al.conf \
${PREFIX}/etc/fonts/conf.d/62-fonts-motoya-al.conf
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif