diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-11 17:26:45 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-11 17:26:45 +0800 |
commit | b8563f09b593ccb52e0b5b00ca13af2265f840d0 (patch) | |
tree | 48cdd90ead77784e4c3d684de2b6105cce5bf907 /www | |
parent | 337ea453af1a13cf24ad1f154374de57c9d2d534 (diff) | |
download | freebsd-ports-gnome-b8563f09b593ccb52e0b5b00ca13af2265f840d0.tar.gz freebsd-ports-gnome-b8563f09b593ccb52e0b5b00ca13af2265f840d0.tar.zst freebsd-ports-gnome-b8563f09b593ccb52e0b5b00ca13af2265f840d0.zip |
- Add NO_ARCH
- Modernize plist
Diffstat (limited to 'www')
-rw-r--r-- | www/monast/Makefile | 7 | ||||
-rw-r--r-- | www/monast/pkg-plist | 37 |
2 files changed, 5 insertions, 39 deletions
diff --git a/www/monast/Makefile b/www/monast/Makefile index 7c9f42b50054..58bd1a105b30 100644 --- a/www/monast/Makefile +++ b/www/monast/Makefile @@ -3,7 +3,7 @@ PORTNAME= monast PORTVERSION= 1.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www net MASTER_SITES= SF/monast/MonAst%20for%20Asterisk%201.4_1.6/1.4 @@ -13,7 +13,8 @@ COMMENT= Monitoring and an operator panel interface for AsteriskTM USES= python USE_RC_SUBR= monast -NO_BUILD= YES +NO_BUILD= yes +NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \ @@ -23,7 +24,7 @@ post-patch: do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/monast/amapi ${STAGEDIR}${PREFIX}/monast/simplejson ${STAGEDIR}${WWWDIR} ${INSTALL_SCRIPT} ${WRKSRC}/pymon/monast.py ${STAGEDIR}${PREFIX}/monast/monast.py - ${INSTALL_DATA} ${WRKSRC}/pymon/monast.conf.sample ${STAGEDIR}${PREFIX}/etc/monast.conf.default + ${INSTALL_DATA} ${WRKSRC}/pymon/monast.conf.sample ${STAGEDIR}${PREFIX}/etc/ ${INSTALL_DATA} ${WRKSRC}/pymon/amapi/* ${STAGEDIR}${PREFIX}/monast/amapi/ ${INSTALL_DATA} ${WRKSRC}/pymon/simplejson/* ${STAGEDIR}${PREFIX}/monast/simplejson/ ${INSTALL_DATA} ${WRKSRC}/*.php ${STAGEDIR}${WWWDIR}/ diff --git a/www/monast/pkg-plist b/www/monast/pkg-plist index 639b287ac7b8..3292331bed88 100644 --- a/www/monast/pkg-plist +++ b/www/monast/pkg-plist @@ -1,6 +1,4 @@ -@unexec if cmp -s %D/etc/monast.conf %D/etc/monast.conf.default; then rm -f %D/etc/monast.conf; fi -etc/monast.conf.default -@exec [ -f %B/monast.conf ] || cp %B/%f %B/monast.conf +@sample etc/monast.conf.sample monast/amapi/AsteriskManager.py monast/amapi/AsteriskManager.pyc monast/amapi/AsteriskManager.pyo @@ -57,36 +55,3 @@ monast/simplejson/tool.pyo %%WWWDIR%%/lib/yui_2.5.2/yahoo-dom-event/yahoo-dom-event.js %%WWWDIR%%/status.php %%WWWDIR%%/template/index.html -@dirrm %%WWWDIR%%/template -@dirrm %%WWWDIR%%/lib/yui_2.5.2/yahoo-dom-event -@dirrm %%WWWDIR%%/lib/yui_2.5.2/tabview -@dirrm %%WWWDIR%%/lib/yui_2.5.2/menu/assets/skins/sam -@dirrm %%WWWDIR%%/lib/yui_2.5.2/menu/assets/skins -@dirrm %%WWWDIR%%/lib/yui_2.5.2/menu/assets -@dirrm %%WWWDIR%%/lib/yui_2.5.2/menu -@dirrm %%WWWDIR%%/lib/yui_2.5.2/logger -@dirrm %%WWWDIR%%/lib/yui_2.5.2/fonts -@dirrm %%WWWDIR%%/lib/yui_2.5.2/element -@dirrm %%WWWDIR%%/lib/yui_2.5.2/dragdrop -@dirrm %%WWWDIR%%/lib/yui_2.5.2/cookie -@dirrm %%WWWDIR%%/lib/yui_2.5.2/container/assets/skins/sam -@dirrm %%WWWDIR%%/lib/yui_2.5.2/container/assets/skins -@dirrm %%WWWDIR%%/lib/yui_2.5.2/container/assets -@dirrm %%WWWDIR%%/lib/yui_2.5.2/container -@dirrm %%WWWDIR%%/lib/yui_2.5.2/button/assets/skins/sam -@dirrm %%WWWDIR%%/lib/yui_2.5.2/button/assets/skins -@dirrm %%WWWDIR%%/lib/yui_2.5.2/button/assets -@dirrm %%WWWDIR%%/lib/yui_2.5.2/button -@dirrm %%WWWDIR%%/lib/yui_2.5.2/assets/skins/sam -@dirrm %%WWWDIR%%/lib/yui_2.5.2/assets/skins -@dirrm %%WWWDIR%%/lib/yui_2.5.2/assets -@dirrm %%WWWDIR%%/lib/yui_2.5.2/animation -@dirrm %%WWWDIR%%/lib/yui_2.5.2 -@dirrm %%WWWDIR%%/lib -@dirrm %%WWWDIR%%/js -@dirrm %%WWWDIR%%/image -@dirrm %%WWWDIR%%/css -@dirrm %%WWWDIR%% -@dirrm monast/simplejson -@dirrm monast/amapi -@dirrm monast |