diff options
Diffstat (limited to 'x11-clocks/emiclock/Makefile')
-rw-r--r-- | x11-clocks/emiclock/Makefile | 23 |
1 files changed, 10 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> |