aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/alegreya-sans/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/alegreya-sans/Makefile')
-rw-r--r--x11-fonts/alegreya-sans/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11-fonts/alegreya-sans/Makefile b/x11-fonts/alegreya-sans/Makefile
index b4e6c44cfd9d..b11298e842ff 100644
--- a/x11-fonts/alegreya-sans/Makefile
+++ b/x11-fonts/alegreya-sans/Makefile
@@ -2,6 +2,7 @@
PORTNAME= alegreya-sans
PORTVERSION= 1.002
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11-fonts
@@ -10,6 +11,8 @@ COMMENT= Humanist sans serif font with a calligraphic feeling
LICENSE= OFL11
+USES= fonts
+
USE_GITHUB= yes
GH_ACCOUNT= juandelperal
GH_PROJECT= Alegreya-Sans
@@ -18,11 +21,9 @@ GH_COMMIT= 2d2a4b0
NO_BUILD= yes
-FONTDIR= ${STAGEDIR}${PREFIX}/lib/X11/fonts/${PORTNAME}
-
do-install:
- ${MKDIR} ${FONTDIR}
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${WRKSRC}/otf && \
- ${INSTALL_DATA} *.otf ${FONTDIR}
+ ${INSTALL_DATA} *.otf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>