aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xjtext
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2008-11-16 21:07:45 +0800
committerhrs <hrs@FreeBSD.org>2008-11-16 21:07:45 +0800
commitb0a041e38d2380748f5668dc6abb318e1e6ca226 (patch)
treee3e8b3caeb1d3f54339f86fe4a7c84ee1bbbec01 /japanese/xjtext
parenteb27ef7b4920a951ce8b38264e4b21d5f002160e (diff)
downloadfreebsd-ports-gnome-b0a041e38d2380748f5668dc6abb318e1e6ca226.tar.gz
freebsd-ports-gnome-b0a041e38d2380748f5668dc6abb318e1e6ca226.tar.zst
freebsd-ports-gnome-b0a041e38d2380748f5668dc6abb318e1e6ca226.zip
- Fix pkg-plist in NOPORTDOCS and NOPORTEXAMPLES case.
- Some style clean-ups.
Diffstat (limited to 'japanese/xjtext')
-rw-r--r--japanese/xjtext/Makefile13
-rw-r--r--japanese/xjtext/pkg-descr3
-rw-r--r--japanese/xjtext/pkg-plist12
3 files changed, 9 insertions, 19 deletions
diff --git a/japanese/xjtext/Makefile b/japanese/xjtext/Makefile
index 3d325ee140d1..05bfb3f007aa 100644
--- a/japanese/xjtext/Makefile
+++ b/japanese/xjtext/Makefile
@@ -19,17 +19,22 @@ USE_BISON= build
USE_GNOME= imlib
SUB_FILES= pkg-message
+PLIST_FILES= bin/xjtext
+PORTDOCS= README.txt
+PORTEXAMPLES= FSS README YAMA Ao.png Back2.png Brown.png Royal.png Royal2.png
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xjtext ${PREFIX}/bin
+
+post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
+.if !deinfed(NOPORTEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
-.for file in FSS README YAMA Ao.png Back2.png Brown.png Royal.png Royal2.png
- ${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
+.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/japanese/xjtext/pkg-descr b/japanese/xjtext/pkg-descr
index c4e443ccfc95..7dc240b5bfcb 100644
--- a/japanese/xjtext/pkg-descr
+++ b/japanese/xjtext/pkg-descr
@@ -2,6 +2,3 @@ Xjtext displays Japanese text in vertical form. Special effects can be
created by inserting directives into the input text.
WWW: http://plaza.harmonix.ne.jp/~onizuka/Software.html
-
-- SADA Kenji
-sada@FreeBSD.org
diff --git a/japanese/xjtext/pkg-plist b/japanese/xjtext/pkg-plist
deleted file mode 100644
index c89734ff458f..000000000000
--- a/japanese/xjtext/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-bin/xjtext
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%EXAMPLESDIR%%/Ao.png
-%%EXAMPLESDIR%%/Back2.png
-%%EXAMPLESDIR%%/Brown.png
-%%EXAMPLESDIR%%/FSS
-%%EXAMPLESDIR%%/README
-%%EXAMPLESDIR%%/Royal.png
-%%EXAMPLESDIR%%/Royal2.png
-%%EXAMPLESDIR%%/YAMA
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%EXAMPLESDIR%%