aboutsummaryrefslogtreecommitdiff
path: root/japanese/marumoji-fonts
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-04 03:40:14 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-04 03:40:14 +0000
commit511c49bdecf1a9776490a13ab0dab1f7fc561bbf (patch)
tree813aa84d1ad8bd3cfafe0793f530eff6e9c6194c /japanese/marumoji-fonts
parent5dfe9b3be2f14294a78990688d738da43cf60950 (diff)
downloadports-511c49bdecf1a9776490a13ab0dab1f7fc561bbf.tar.gz
ports-511c49bdecf1a9776490a13ab0dab1f7fc561bbf.zip
Notes
Diffstat (limited to 'japanese/marumoji-fonts')
-rw-r--r--japanese/marumoji-fonts/Makefile4
-rw-r--r--japanese/marumoji-fonts/pkg-plist4
2 files changed, 5 insertions, 3 deletions
diff --git a/japanese/marumoji-fonts/Makefile b/japanese/marumoji-fonts/Makefile
index c66b4f1c7873..24ca6a7e04e4 100644
--- a/japanese/marumoji-fonts/Makefile
+++ b/japanese/marumoji-fonts/Makefile
@@ -31,6 +31,8 @@ EXTRACT_AFTER_ARGS= ${WRKDIR}
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${MV} ${WRKDIR}/maru14.bdf.v13.gz ${WRKDIR}/maru14.bdf.gz
@${MV} ${WRKDIR}/maru18.bdf.v10.gz ${WRKDIR}/maru18.bdf.gz
@@ -41,7 +43,7 @@ pre-build:
@(cd ${WRKDIR}; ${SED} -f m18to16.sed < maru18.bdf > maru16.bdf)
post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/LICENSE ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/japanese/marumoji-fonts/pkg-plist b/japanese/marumoji-fonts/pkg-plist
index c61d3066d103..a80838178d9c 100644
--- a/japanese/marumoji-fonts/pkg-plist
+++ b/japanese/marumoji-fonts/pkg-plist
@@ -34,8 +34,8 @@
%%FONTSDIR%%/maru18b.pcf.gz
%%FONTSDIR%%/maru18bi.pcf.gz
%%FONTSDIR%%/maru18i.pcf.gz
-%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
@exec cd %D/%%FONTSDIR%% ; mkfontdir
@unexec cd %D/%%FONTSDIR%% ; mkfontdir
@unexec if [ `wc -c %D/%%FONTSDIR%%/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/%%FONTSDIR%%/fonts.dir; fi
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%