aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/emiclock
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-01-11 12:51:31 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-01-11 12:51:31 +0000
commit6aae51b6c6bed4f950fa25b15ef65f22046b90d2 (patch)
tree6232801a80e99c7ac83d529429412cd9e62d9eb1 /x11-clocks/emiclock
parentf41f2099de95074829f9a4a925d7574711edb5c2 (diff)
downloadports-6aae51b6c6bed4f950fa25b15ef65f22046b90d2.tar.gz
ports-6aae51b6c6bed4f950fa25b15ef65f22046b90d2.zip
Notes
Diffstat (limited to 'x11-clocks/emiclock')
-rw-r--r--x11-clocks/emiclock/Makefile23
-rw-r--r--x11-clocks/emiclock/pkg-plist1
2 files changed, 11 insertions, 13 deletions
diff --git a/x11-clocks/emiclock/Makefile b/x11-clocks/emiclock/Makefile
index 338dad2eb478..10d3fb2b5c58 100644
--- a/x11-clocks/emiclock/Makefile
+++ b/x11-clocks/emiclock/Makefile
@@ -12,18 +12,14 @@ COMMENT= Hyper-animated face analog clock for X11
USES= imake
USE_XORG= ice sm x11 xaw xext xmu xpm xt
-MAN1= emiclock.1
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
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
@@ -32,16 +28,17 @@ PLIST_SUB= SOUND="@comment "
PLIST_SUB= SOUND=""
.endif
+.include <bsd.port.options.mk>
+
post-install:
- @${MKDIR} ${EMICLOCKDIR}
- @${MKDIR} ${LANGDIR}
- @${MKDIR} ${LANGDIR2}
- cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${LANGDIR}/EmiClock
- cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${LANGDIR2}/EmiClock
-.ifndef NOPORTDOCS
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EMICLOCKDIR}
+ @${MKDIR} ${STAGEDIR}${LANGDIR}
+ @${MKDIR} ${STAGEDIR}${LANGDIR2}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${STAGEDIR}${LANGDIR}/EmiClock
+ cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${STAGEDIR}${LANGDIR2}/EmiClock
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
-# cd ${WRKSRC}; make install.man
.include <bsd.port.post.mk>
diff --git a/x11-clocks/emiclock/pkg-plist b/x11-clocks/emiclock/pkg-plist
index 571f1ddd7f90..c039dae4f081 100644
--- a/x11-clocks/emiclock/pkg-plist
+++ b/x11-clocks/emiclock/pkg-plist
@@ -3,6 +3,7 @@ bin/emiclock
lib/X11/app-defaults/EmiClock
lib/X11/ja_JP.EUC/app-defaults/EmiClock
lib/X11/ja_JP.eucJP/app-defaults/EmiClock
+man/man1/emiclock.1.gz
@dirrmtry lib/X11/ja_JP.eucJP/app-defaults
@dirrmtry lib/X11/ja_JP.eucJP
@dirrmtry lib/X11/ja_JP.EUC/app-defaults