aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tegaki-zinnia-japanese
diff options
context:
space:
mode:
authorsanpei <sanpei@FreeBSD.org>2014-06-16 21:46:38 +0800
committersanpei <sanpei@FreeBSD.org>2014-06-16 21:46:38 +0800
commit28f3d6ee5f3058d150deadfe8bf7304adebd08ee (patch)
treec9ee0336b5592e3fcaa7c7ddef1f4e599dd6156a /japanese/tegaki-zinnia-japanese
parenta465b05c9230f902e8154831ee5ba4ae88ecff80 (diff)
downloadfreebsd-ports-gnome-28f3d6ee5f3058d150deadfe8bf7304adebd08ee.tar.gz
freebsd-ports-gnome-28f3d6ee5f3058d150deadfe8bf7304adebd08ee.tar.zst
freebsd-ports-gnome-28f3d6ee5f3058d150deadfe8bf7304adebd08ee.zip
support stage
Diffstat (limited to 'japanese/tegaki-zinnia-japanese')
-rw-r--r--japanese/tegaki-zinnia-japanese/Makefile1
-rw-r--r--japanese/tegaki-zinnia-japanese/files/patch-Makefile10
-rw-r--r--japanese/tegaki-zinnia-japanese/pkg-plist7
3 files changed, 12 insertions, 6 deletions
diff --git a/japanese/tegaki-zinnia-japanese/Makefile b/japanese/tegaki-zinnia-japanese/Makefile
index afedeb013621..e8df96355973 100644
--- a/japanese/tegaki-zinnia-japanese/Makefile
+++ b/japanese/tegaki-zinnia-japanese/Makefile
@@ -16,7 +16,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= zip
-NO_STAGE= yes
do-build:
.include <bsd.port.mk>
diff --git a/japanese/tegaki-zinnia-japanese/files/patch-Makefile b/japanese/tegaki-zinnia-japanese/files/patch-Makefile
new file mode 100644
index 000000000000..f46b6a70b8c3
--- /dev/null
+++ b/japanese/tegaki-zinnia-japanese/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.org 2014-06-16 22:34:11.408524238 +0900
++++ Makefile 2014-06-16 22:34:34.187523350 +0900
+@@ -6,5 +6,5 @@
+ installpath=/usr/local/share/tegaki/models/zinnia/
+
+ install: $(modelfile).model
+- mkdir -p $(installpath)
+- install -c $(modelfile).meta $(modelfile).model $(installpath)
++ mkdir -p ${DESTDIR}$(installpath)
++ install -c $(modelfile).meta $(modelfile).model ${DESTDIR}$(installpath)
diff --git a/japanese/tegaki-zinnia-japanese/pkg-plist b/japanese/tegaki-zinnia-japanese/pkg-plist
index f01c613ffb05..fb3b7489469f 100644
--- a/japanese/tegaki-zinnia-japanese/pkg-plist
+++ b/japanese/tegaki-zinnia-japanese/pkg-plist
@@ -1,5 +1,2 @@
-share/tegaki/models/zinnia/handwriting-ja.meta
-share/tegaki/models/zinnia/handwriting-ja.model
-@dirrm share/tegaki/models/zinnia
-@dirrm share/tegaki/models
-@dirrm share/tegaki
+%%DATADIR%%/models/zinnia/handwriting-ja.meta
+%%DATADIR%%/models/zinnia/handwriting-ja.model