aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-03-22 04:09:19 +0800
committeritetcu <itetcu@FreeBSD.org>2009-03-22 04:09:19 +0800
commit539f4f922b275bff068d32b36188ad81171e1ac6 (patch)
tree57c45e75187b4987a9d2c3c574f0eba26e660cbf /x11-clocks
parent40339089e8648bc14ba0fa9dbefe1942eda4a2dd (diff)
downloadfreebsd-ports-gnome-539f4f922b275bff068d32b36188ad81171e1ac6.tar.gz
freebsd-ports-gnome-539f4f922b275bff068d32b36188ad81171e1ac6.tar.zst
freebsd-ports-gnome-539f4f922b275bff068d32b36188ad81171e1ac6.zip
- fix plist with -DNOPORTDOCS
- install docs, etc. in post-install, not pre-install Prompted by: QAT QA run
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/emiclock/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/x11-clocks/emiclock/Makefile b/x11-clocks/emiclock/Makefile
index e7358738cf33..ed91bfd68dce 100644
--- a/x11-clocks/emiclock/Makefile
+++ b/x11-clocks/emiclock/Makefile
@@ -21,7 +21,10 @@ LANGRES= resources/R6/EUC/EmiClock.ad
LANGDIR= ${LOCALBASE}/lib/X11/ja_JP.eucJP/app-defaults
LANGDIR2= ${LOCALBASE}/lib/X11/ja_JP.EUC/app-defaults
EMICLOCKDIR= ${LOCALBASE}/lib/X11/EmiClock
+
+.ifndef NOPORTDOCS
PORTDOCS= COPYRIGHT COPYRIGHT.en
+.endif
.include <bsd.port.pre.mk>
@@ -31,14 +34,16 @@ PLIST_SUB= SOUND="@comment "
PLIST_SUB= SOUND=""
.endif
-pre-install:
+post-install:
@${MKDIR} ${EMICLOCKDIR}
@${MKDIR} ${LANGDIR}
@${MKDIR} ${LANGDIR2}
- cd ${WRKSRC}; ${INSTALL_DATA} -c -m 0444 ${LANGRES} ${LANGDIR}/EmiClock
- cd ${WRKSRC}; ${INSTALL_DATA} -c -m 0444 ${LANGRES} ${LANGDIR2}/EmiClock
+ cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${LANGDIR}/EmiClock
+ cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${LANGDIR2}/EmiClock
+.ifndef NOPORTDOCS
@${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}; ${INSTALL_DATA} -c -m 0444 ${PORTDOCS} ${DOCSDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
# cd ${WRKSRC}; make install.man
.include <bsd.port.post.mk>