diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-28 22:02:15 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-28 22:02:15 +0800 |
commit | c7f46ec7aa7982edab986ea9298dfb4597eee605 (patch) | |
tree | c115ee5ca353695eba40ea0172d50da45bdfbc8f | |
parent | d54c226d5be63bc9240945aeff65a6455320558a (diff) | |
download | freebsd-ports-gnome-c7f46ec7aa7982edab986ea9298dfb4597eee605.tar.gz freebsd-ports-gnome-c7f46ec7aa7982edab986ea9298dfb4597eee605.tar.zst freebsd-ports-gnome-c7f46ec7aa7982edab986ea9298dfb4597eee605.zip |
- Switch to options helpers
-rw-r--r-- | x11-clocks/emiclock/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-clocks/emiclock/Makefile b/x11-clocks/emiclock/Makefile index 0ed00f9840f7..5d0eee2f69aa 100644 --- a/x11-clocks/emiclock/Makefile +++ b/x11-clocks/emiclock/Makefile @@ -13,12 +13,12 @@ COMMENT= Hyper-animated face analog clock for X11 USES= imake USE_XORG= ice sm x11 xaw xext xmu xpm xt -OPTIONS_DEFINE= DOCS - LANGRES= resources/R6/EUC/EmiClock.ad LANGDIR= ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults LANGDIR2= ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e \ 's|^#if defined.*\(FreeBSDArchitecture\).*|#ifdef \1| ; \ @@ -36,6 +36,8 @@ post-install: @${MKDIR} ${STAGEDIR}${LANGDIR2} ${LN} -sf ../../ja_JP.eucJP/app-defaults/EmiClock \ ${STAGEDIR}${LANGDIR2}/EmiClock + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} COPYRIGHT COPYRIGHT.en \ ${STAGEDIR}${DOCSDIR}) |