aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-03-21 20:09:19 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-03-21 20:09:19 +0000
commitaddd2a88bae169a4538efd7a8d5307920d62e5dc (patch)
treed17f0f424753e25dba0c6de00f945f30c49376a7 /x11-clocks
parent5825e74c884898a5e8c28876b8d6c99fc3c1b947 (diff)
downloadports-addd2a88bae169a4538efd7a8d5307920d62e5dc.tar.gz
ports-addd2a88bae169a4538efd7a8d5307920d62e5dc.zip
Notes
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>