1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- add stage support

- add LICENSE
- cleanup
This commit is contained in:
Olli Hauer 2014-05-24 22:16:45 +00:00
parent 56427bf69b
commit 8f036e5082
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355095
5 changed files with 209 additions and 210 deletions

View File

@ -10,26 +10,23 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= A powerful web page update checker COMMENT= A powerful web page update checker
LICENSE= GPLv3
NO_BUILD= yes NO_BUILD= yes
USE_RUBY= yes USE_RUBY= yes
USES= shebangfix
SHEBANG_FILES= ${WRKSRC}/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
PORTDOCS= ChangeLog LICENSE THANKSTO PORTDOCS= ChangeLog LICENSE THANKSTO
PLIST_FILES= bin/${PORTNAME} PLIST_FILES= bin/${PORTNAME} \
MAN1= ${PORTNAME}.1 man/man1/${PORTNAME}.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/ruby|${RUBY}|' ${WRKSRC}/${PORTNAME}
do-install: do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} -p ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -10,17 +10,15 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= PHP based XML menuing system for Cisco 79xx IP phones COMMENT= PHP based XML menuing system for Cisco 79xx IP phones
NO_BUILD= YES LICENSE= GPLv2
WANT_PHP_WEB= YES
USE_PHP= mysql xml NO_BUILD= yes
PLIST_SUB+= OPENXMLDIR=${OPENXMLDIR} WANT_PHP_WEB= yes
OPENXMLDIR= www/${PORTNAME} USE_PHP= mysql xml
PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
NO_STAGE= yes
do-install: do-install:
-${MKDIR} ${PREFIX}/${OPENXMLDIR} @${MKDIR} ${STAGEDIR}${WWWDIR}
@${CP} -R ${WRKSRC}/* ${PREFIX}/${OPENXMLDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${OPENXMLDIR}
@${CHMOD} 755 ${PREFIX}/${OPENXMLDIR}
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,177 +1,179 @@
%%OPENXMLDIR%%/PhoneUI/index.php @owner ${WWWOWN}
%%OPENXMLDIR%%/PhoneUI/lib/headers.php @group ${WWWGRP}
%%OPENXMLDIR%%/PhoneUI/lib/sec_breach.php %%WWWDIR%%/PhoneUI/index.php
%%OPENXMLDIR%%/PhoneUI/lib/security.php %%WWWDIR%%/PhoneUI/lib/headers.php
%%OPENXMLDIR%%/PhoneUI/lib/urlbase.php %%WWWDIR%%/PhoneUI/lib/sec_breach.php
%%OPENXMLDIR%%/PhoneUI/memos.php %%WWWDIR%%/PhoneUI/lib/security.php
%%OPENXMLDIR%%/PhoneUI/menuItems.php %%WWWDIR%%/PhoneUI/lib/urlbase.php
%%OPENXMLDIR%%/PhoneUI/searchdirectory.php %%WWWDIR%%/PhoneUI/memos.php
%%OPENXMLDIR%%/PhoneUI/status.php %%WWWDIR%%/PhoneUI/menuItems.php
%%OPENXMLDIR%%/PhoneUI/templates/cat_list_srch.xml %%WWWDIR%%/PhoneUI/searchdirectory.php
%%OPENXMLDIR%%/PhoneUI/templates/contact_detail.xml %%WWWDIR%%/PhoneUI/status.php
%%OPENXMLDIR%%/PhoneUI/templates/dir_search.xml %%WWWDIR%%/PhoneUI/templates/cat_list_srch.xml
%%OPENXMLDIR%%/PhoneUI/templates/glo_index.xml %%WWWDIR%%/PhoneUI/templates/contact_detail.xml
%%OPENXMLDIR%%/PhoneUI/templates/glo_results_contacts.xml %%WWWDIR%%/PhoneUI/templates/dir_search.xml
%%OPENXMLDIR%%/PhoneUI/templates/glo_results_phones.xml %%WWWDIR%%/PhoneUI/templates/glo_index.xml
%%OPENXMLDIR%%/PhoneUI/templates/glo_search.xml %%WWWDIR%%/PhoneUI/templates/glo_results_contacts.xml
%%OPENXMLDIR%%/PhoneUI/templates/glo_search_phone.xml %%WWWDIR%%/PhoneUI/templates/glo_results_phones.xml
%%OPENXMLDIR%%/PhoneUI/templates/img_empty_cat.php %%WWWDIR%%/PhoneUI/templates/glo_search.xml
%%OPENXMLDIR%%/PhoneUI/templates/img_empty_cont.php %%WWWDIR%%/PhoneUI/templates/glo_search_phone.xml
%%OPENXMLDIR%%/PhoneUI/templates/img_menu.php %%WWWDIR%%/PhoneUI/templates/img_empty_cat.php
%%OPENXMLDIR%%/PhoneUI/templates/img_no_res.php %%WWWDIR%%/PhoneUI/templates/img_empty_cont.php
%%OPENXMLDIR%%/PhoneUI/templates/img_sec_breach.php %%WWWDIR%%/PhoneUI/templates/img_menu.php
%%OPENXMLDIR%%/PhoneUI/templates/listcontacts_sep.xml %%WWWDIR%%/PhoneUI/templates/img_no_res.php
%%OPENXMLDIR%%/PhoneUI/templates/listcontacts_tog.xml %%WWWDIR%%/PhoneUI/templates/img_sec_breach.php
%%OPENXMLDIR%%/PhoneUI/templates/listobjects.xml %%WWWDIR%%/PhoneUI/templates/listcontacts_sep.xml
%%OPENXMLDIR%%/PhoneUI/templates/memo_detail.xml %%WWWDIR%%/PhoneUI/templates/listcontacts_tog.xml
%%OPENXMLDIR%%/PhoneUI/templates/memo_menu.xml %%WWWDIR%%/PhoneUI/templates/listobjects.xml
%%OPENXMLDIR%%/PhoneUI/templates/my_status.xml %%WWWDIR%%/PhoneUI/templates/memo_detail.xml
%%OPENXMLDIR%%/PhoneUI/templates/spec_status.xml %%WWWDIR%%/PhoneUI/templates/memo_menu.xml
%%OPENXMLDIR%%/PhoneUI/templates/srch_index.xml %%WWWDIR%%/PhoneUI/templates/my_status.xml
%%OPENXMLDIR%%/PhoneUI/templates/status_custom.xml %%WWWDIR%%/PhoneUI/templates/spec_status.xml
%%OPENXMLDIR%%/PhoneUI/templates/status_detail.xml %%WWWDIR%%/PhoneUI/templates/srch_index.xml
%%OPENXMLDIR%%/PhoneUI/templates/status_index.xml %%WWWDIR%%/PhoneUI/templates/status_custom.xml
%%OPENXMLDIR%%/PhoneUI/templates/status_listing.xml %%WWWDIR%%/PhoneUI/templates/status_detail.xml
%%OPENXMLDIR%%/PhoneUI/templates/status_others_index.xml %%WWWDIR%%/PhoneUI/templates/status_index.xml
%%OPENXMLDIR%%/PhoneUI/templates/user_or_dir.xml %%WWWDIR%%/PhoneUI/templates/status_listing.xml
%%OPENXMLDIR%%/PhoneUI/templates/view_my_status.xml %%WWWDIR%%/PhoneUI/templates/status_others_index.xml
%%OPENXMLDIR%%/WebUI/header.html %%WWWDIR%%/PhoneUI/templates/user_or_dir.xml
%%OPENXMLDIR%%/WebUI/images/directory.gif %%WWWDIR%%/PhoneUI/templates/view_my_status.xml
%%OPENXMLDIR%%/WebUI/images/draftheader.gif %%WWWDIR%%/WebUI/header.html
%%OPENXMLDIR%%/WebUI/images/fadebg.gif %%WWWDIR%%/WebUI/images/directory.gif
%%OPENXMLDIR%%/WebUI/images/header.gif %%WWWDIR%%/WebUI/images/draftheader.gif
%%OPENXMLDIR%%/WebUI/images/help_tree.gif %%WWWDIR%%/WebUI/images/fadebg.gif
%%OPENXMLDIR%%/WebUI/images/icon_object.gif %%WWWDIR%%/WebUI/images/header.gif
%%OPENXMLDIR%%/WebUI/images/icon_phone.gif %%WWWDIR%%/WebUI/images/help_tree.gif
%%OPENXMLDIR%%/WebUI/images/memos.gif %%WWWDIR%%/WebUI/images/icon_object.gif
%%OPENXMLDIR%%/WebUI/images/my_account.gif %%WWWDIR%%/WebUI/images/icon_phone.gif
%%OPENXMLDIR%%/WebUI/images/phones.gif %%WWWDIR%%/WebUI/images/memos.gif
%%OPENXMLDIR%%/WebUI/images/phoneskey.gif %%WWWDIR%%/WebUI/images/my_account.gif
%%OPENXMLDIR%%/WebUI/images/phoneskeyhole.gif %%WWWDIR%%/WebUI/images/phones.gif
%%OPENXMLDIR%%/WebUI/images/ref/image2s.jpg %%WWWDIR%%/WebUI/images/phoneskey.gif
%%OPENXMLDIR%%/WebUI/images/ref/images.jpg %%WWWDIR%%/WebUI/images/phoneskeyhole.gif
%%OPENXMLDIR%%/WebUI/images/ref/images2.jpg %%WWWDIR%%/WebUI/images/ref/image2s.jpg
%%OPENXMLDIR%%/WebUI/images/settings.gif %%WWWDIR%%/WebUI/images/ref/images.jpg
%%OPENXMLDIR%%/WebUI/images/settingscheck.gif %%WWWDIR%%/WebUI/images/ref/images2.jpg
%%OPENXMLDIR%%/WebUI/index.php %%WWWDIR%%/WebUI/images/settings.gif
%%OPENXMLDIR%%/WebUI/lib/xtra_java.php %%WWWDIR%%/WebUI/images/settingscheck.gif
%%OPENXMLDIR%%/WebUI/login.php %%WWWDIR%%/WebUI/index.php
%%OPENXMLDIR%%/WebUI/modules/correct_members.php %%WWWDIR%%/WebUI/lib/xtra_java.php
%%OPENXMLDIR%%/WebUI/modules/correct_ob_members.php %%WWWDIR%%/WebUI/login.php
%%OPENXMLDIR%%/WebUI/modules/delete_error.php %%WWWDIR%%/WebUI/modules/correct_members.php
%%OPENXMLDIR%%/WebUI/modules/edit_contact.php %%WWWDIR%%/WebUI/modules/correct_ob_members.php
%%OPENXMLDIR%%/WebUI/modules/edit_memos.php %%WWWDIR%%/WebUI/modules/delete_error.php
%%OPENXMLDIR%%/WebUI/modules/edit_object.php %%WWWDIR%%/WebUI/modules/edit_contact.php
%%OPENXMLDIR%%/WebUI/modules/edit_phone.php %%WWWDIR%%/WebUI/modules/edit_memos.php
%%OPENXMLDIR%%/WebUI/modules/edit_user.php %%WWWDIR%%/WebUI/modules/edit_object.php
%%OPENXMLDIR%%/WebUI/modules/global_pref.php %%WWWDIR%%/WebUI/modules/edit_phone.php
%%OPENXMLDIR%%/WebUI/modules/help.php %%WWWDIR%%/WebUI/modules/edit_user.php
%%OPENXMLDIR%%/WebUI/modules/images/_notes/spacer.gif.mno %%WWWDIR%%/WebUI/modules/global_pref.php
%%OPENXMLDIR%%/WebUI/modules/images/_notes/treespacer.gif.mno %%WWWDIR%%/WebUI/modules/help.php
%%OPENXMLDIR%%/WebUI/modules/images/directory.gif %%WWWDIR%%/WebUI/modules/images/_notes/spacer.gif.mno
%%OPENXMLDIR%%/WebUI/modules/images/draftheader.gif %%WWWDIR%%/WebUI/modules/images/_notes/treespacer.gif.mno
%%OPENXMLDIR%%/WebUI/modules/images/fadebg.gif %%WWWDIR%%/WebUI/modules/images/directory.gif
%%OPENXMLDIR%%/WebUI/modules/images/fadebg.jpg %%WWWDIR%%/WebUI/modules/images/draftheader.gif
%%OPENXMLDIR%%/WebUI/modules/images/header.gif %%WWWDIR%%/WebUI/modules/images/fadebg.gif
%%OPENXMLDIR%%/WebUI/modules/images/headerofficial.gif %%WWWDIR%%/WebUI/modules/images/fadebg.jpg
%%OPENXMLDIR%%/WebUI/modules/images/help/coreystatus.gif %%WWWDIR%%/WebUI/modules/images/header.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/loadingscreen.gif %%WWWDIR%%/WebUI/modules/images/headerofficial.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/mainobjects.gif %%WWWDIR%%/WebUI/modules/images/help/coreystatus.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/mainscreen.gif %%WWWDIR%%/WebUI/modules/images/help/loadingscreen.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/memo.gif %%WWWDIR%%/WebUI/modules/images/help/mainobjects.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/mystatus.gif %%WWWDIR%%/WebUI/modules/images/help/mainscreen.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/noresults.gif %%WWWDIR%%/WebUI/modules/images/help/memo.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/search.gif %%WWWDIR%%/WebUI/modules/images/help/mystatus.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/security.gif %%WWWDIR%%/WebUI/modules/images/help/noresults.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/seperate2.gif %%WWWDIR%%/WebUI/modules/images/help/search.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/sepereate1.gif %%WWWDIR%%/WebUI/modules/images/help/security.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/showglobe.gif %%WWWDIR%%/WebUI/modules/images/help/seperate2.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/status.gif %%WWWDIR%%/WebUI/modules/images/help/sepereate1.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/together1.gif %%WWWDIR%%/WebUI/modules/images/help/showglobe.gif
%%OPENXMLDIR%%/WebUI/modules/images/help/xmlloading.gif %%WWWDIR%%/WebUI/modules/images/help/status.gif
%%OPENXMLDIR%%/WebUI/modules/images/helpq.gif %%WWWDIR%%/WebUI/modules/images/help/together1.gif
%%OPENXMLDIR%%/WebUI/modules/images/icon_directory.gif %%WWWDIR%%/WebUI/modules/images/help/xmlloading.gif
%%OPENXMLDIR%%/WebUI/modules/images/icon_help.gif %%WWWDIR%%/WebUI/modules/images/helpq.gif
%%OPENXMLDIR%%/WebUI/modules/images/icon_help_main.gif %%WWWDIR%%/WebUI/modules/images/icon_directory.gif
%%OPENXMLDIR%%/WebUI/modules/images/icon_memo.gif %%WWWDIR%%/WebUI/modules/images/icon_help.gif
%%OPENXMLDIR%%/WebUI/modules/images/icon_object.gif %%WWWDIR%%/WebUI/modules/images/icon_help_main.gif
%%OPENXMLDIR%%/WebUI/modules/images/icon_phone.gif %%WWWDIR%%/WebUI/modules/images/icon_memo.gif
%%OPENXMLDIR%%/WebUI/modules/images/icon_security.gif %%WWWDIR%%/WebUI/modules/images/icon_object.gif
%%OPENXMLDIR%%/WebUI/modules/images/icon_settings.gif %%WWWDIR%%/WebUI/modules/images/icon_phone.gif
%%OPENXMLDIR%%/WebUI/modules/images/icon_tree_menu.gif %%WWWDIR%%/WebUI/modules/images/icon_security.gif
%%OPENXMLDIR%%/WebUI/modules/images/memos.gif %%WWWDIR%%/WebUI/modules/images/icon_settings.gif
%%OPENXMLDIR%%/WebUI/modules/images/my_account.gif %%WWWDIR%%/WebUI/modules/images/icon_tree_menu.gif
%%OPENXMLDIR%%/WebUI/modules/images/phones.gif %%WWWDIR%%/WebUI/modules/images/memos.gif
%%OPENXMLDIR%%/WebUI/modules/images/preview.cpt %%WWWDIR%%/WebUI/modules/images/my_account.gif
%%OPENXMLDIR%%/WebUI/modules/images/preview.gif %%WWWDIR%%/WebUI/modules/images/phones.gif
%%OPENXMLDIR%%/WebUI/modules/images/settings.gif %%WWWDIR%%/WebUI/modules/images/preview.cpt
%%OPENXMLDIR%%/WebUI/modules/images/settingscheck.gif %%WWWDIR%%/WebUI/modules/images/preview.gif
%%OPENXMLDIR%%/WebUI/modules/images/spacer.gif %%WWWDIR%%/WebUI/modules/images/settings.gif
%%OPENXMLDIR%%/WebUI/modules/images/tree.gif %%WWWDIR%%/WebUI/modules/images/settingscheck.gif
%%OPENXMLDIR%%/WebUI/modules/images/tree_icon_categor2y.gif %%WWWDIR%%/WebUI/modules/images/spacer.gif
%%OPENXMLDIR%%/WebUI/modules/images/tree_icon_category.gif %%WWWDIR%%/WebUI/modules/images/tree.gif
%%OPENXMLDIR%%/WebUI/modules/images/tree_icon_container.gif %%WWWDIR%%/WebUI/modules/images/tree_icon_categor2y.gif
%%OPENXMLDIR%%/WebUI/modules/images/tree_icon_link.gif %%WWWDIR%%/WebUI/modules/images/tree_icon_category.gif
%%OPENXMLDIR%%/WebUI/modules/images/tree_menu_icon.gif %%WWWDIR%%/WebUI/modules/images/tree_icon_container.gif
%%OPENXMLDIR%%/WebUI/modules/images/tree_menu_icon_new.gif %%WWWDIR%%/WebUI/modules/images/tree_icon_link.gif
%%OPENXMLDIR%%/WebUI/modules/images/treespacer.gif %%WWWDIR%%/WebUI/modules/images/tree_menu_icon.gif
%%OPENXMLDIR%%/WebUI/modules/import_contacts.php %%WWWDIR%%/WebUI/modules/images/tree_menu_icon_new.gif
%%OPENXMLDIR%%/WebUI/modules/index.php %%WWWDIR%%/WebUI/modules/images/treespacer.gif
%%OPENXMLDIR%%/WebUI/modules/install_success.php %%WWWDIR%%/WebUI/modules/import_contacts.php
%%OPENXMLDIR%%/WebUI/modules/menu.php %%WWWDIR%%/WebUI/modules/index.php
%%OPENXMLDIR%%/WebUI/modules/my_account.php %%WWWDIR%%/WebUI/modules/install_success.php
%%OPENXMLDIR%%/WebUI/modules/not_admin.php %%WWWDIR%%/WebUI/modules/menu.php
%%OPENXMLDIR%%/WebUI/modules/object_type.php %%WWWDIR%%/WebUI/modules/my_account.php
%%OPENXMLDIR%%/WebUI/modules/templates/breaks.html %%WWWDIR%%/WebUI/modules/not_admin.php
%%OPENXMLDIR%%/WebUI/modules/templates/correct_members.html %%WWWDIR%%/WebUI/modules/object_type.php
%%OPENXMLDIR%%/WebUI/modules/templates/correct_ob_members.html %%WWWDIR%%/WebUI/modules/templates/breaks.html
%%OPENXMLDIR%%/WebUI/modules/templates/edit_contact.html %%WWWDIR%%/WebUI/modules/templates/correct_members.html
%%OPENXMLDIR%%/WebUI/modules/templates/edit_memos.html %%WWWDIR%%/WebUI/modules/templates/correct_ob_members.html
%%OPENXMLDIR%%/WebUI/modules/templates/edit_object.html %%WWWDIR%%/WebUI/modules/templates/edit_contact.html
%%OPENXMLDIR%%/WebUI/modules/templates/edit_phone.html %%WWWDIR%%/WebUI/modules/templates/edit_memos.html
%%OPENXMLDIR%%/WebUI/modules/templates/edit_user.html %%WWWDIR%%/WebUI/modules/templates/edit_object.html
%%OPENXMLDIR%%/WebUI/modules/templates/global_pref.html %%WWWDIR%%/WebUI/modules/templates/edit_phone.html
%%OPENXMLDIR%%/WebUI/modules/templates/help.html %%WWWDIR%%/WebUI/modules/templates/edit_user.html
%%OPENXMLDIR%%/WebUI/modules/templates/import_contacts.html %%WWWDIR%%/WebUI/modules/templates/global_pref.html
%%OPENXMLDIR%%/WebUI/modules/templates/index.php %%WWWDIR%%/WebUI/modules/templates/help.html
%%OPENXMLDIR%%/WebUI/modules/templates/install.html %%WWWDIR%%/WebUI/modules/templates/import_contacts.html
%%OPENXMLDIR%%/WebUI/modules/templates/install_success.html %%WWWDIR%%/WebUI/modules/templates/index.php
%%OPENXMLDIR%%/WebUI/modules/templates/login.html %%WWWDIR%%/WebUI/modules/templates/install.html
%%OPENXMLDIR%%/WebUI/modules/templates/menu.html %%WWWDIR%%/WebUI/modules/templates/install_success.html
%%OPENXMLDIR%%/WebUI/modules/templates/my_account.html %%WWWDIR%%/WebUI/modules/templates/login.html
%%OPENXMLDIR%%/WebUI/modules/templates/not_admin.html %%WWWDIR%%/WebUI/modules/templates/menu.html
%%OPENXMLDIR%%/WebUI/modules/templates/object_type.html %%WWWDIR%%/WebUI/modules/templates/my_account.html
%%OPENXMLDIR%%/WebUI/modules/templates/tree.html %%WWWDIR%%/WebUI/modules/templates/not_admin.html
%%OPENXMLDIR%%/WebUI/modules/templates/tree_print.html %%WWWDIR%%/WebUI/modules/templates/object_type.html
%%OPENXMLDIR%%/WebUI/modules/templates/view_contacts.html %%WWWDIR%%/WebUI/modules/templates/tree.html
%%OPENXMLDIR%%/WebUI/modules/templates/view_memos.html %%WWWDIR%%/WebUI/modules/templates/tree_print.html
%%OPENXMLDIR%%/WebUI/modules/templates/view_objects.html %%WWWDIR%%/WebUI/modules/templates/view_contacts.html
%%OPENXMLDIR%%/WebUI/modules/templates/view_phones.html %%WWWDIR%%/WebUI/modules/templates/view_memos.html
%%OPENXMLDIR%%/WebUI/modules/templates/view_users.html %%WWWDIR%%/WebUI/modules/templates/view_objects.html
%%OPENXMLDIR%%/WebUI/modules/tree.php %%WWWDIR%%/WebUI/modules/templates/view_phones.html
%%OPENXMLDIR%%/WebUI/modules/view_contacts.php %%WWWDIR%%/WebUI/modules/templates/view_users.html
%%OPENXMLDIR%%/WebUI/modules/view_memos.php %%WWWDIR%%/WebUI/modules/tree.php
%%OPENXMLDIR%%/WebUI/modules/view_objects.php %%WWWDIR%%/WebUI/modules/view_contacts.php
%%OPENXMLDIR%%/WebUI/modules/view_phones.php %%WWWDIR%%/WebUI/modules/view_memos.php
%%OPENXMLDIR%%/WebUI/modules/view_users.php %%WWWDIR%%/WebUI/modules/view_objects.php
%%OPENXMLDIR%%/WebUI/sidebar.html %%WWWDIR%%/WebUI/modules/view_phones.php
%%OPENXMLDIR%%/db.sql %%WWWDIR%%/WebUI/modules/view_users.php
%%OPENXMLDIR%%/index.php %%WWWDIR%%/WebUI/sidebar.html
%%OPENXMLDIR%%/install.php %%WWWDIR%%/db.sql
%%OPENXMLDIR%%/lib/mysql.php %%WWWDIR%%/index.php
%%OPENXMLDIR%%/lib/utils.php %%WWWDIR%%/install.php
%%OPENXMLDIR%%/lib/xtpl.php %%WWWDIR%%/lib/mysql.php
@dirrm %%OPENXMLDIR%%/lib %%WWWDIR%%/lib/utils.php
@dirrm %%OPENXMLDIR%%/WebUI/modules/templates %%WWWDIR%%/lib/xtpl.php
@dirrm %%OPENXMLDIR%%/WebUI/modules/images/help @dirrm %%WWWDIR%%/PhoneUI/lib
@dirrm %%OPENXMLDIR%%/WebUI/modules/images/_notes @dirrm %%WWWDIR%%/PhoneUI/templates
@dirrm %%OPENXMLDIR%%/WebUI/modules/images @dirrm %%WWWDIR%%/PhoneUI
@dirrm %%OPENXMLDIR%%/WebUI/modules @dirrm %%WWWDIR%%/WebUI/images/ref
@dirrm %%OPENXMLDIR%%/WebUI/lib @dirrm %%WWWDIR%%/WebUI/images
@dirrm %%OPENXMLDIR%%/WebUI/images/ref @dirrm %%WWWDIR%%/WebUI/lib
@dirrm %%OPENXMLDIR%%/WebUI/images @dirrm %%WWWDIR%%/WebUI/modules/images/_notes
@dirrm %%OPENXMLDIR%%/WebUI @dirrm %%WWWDIR%%/WebUI/modules/images/help
@dirrm %%OPENXMLDIR%%/PhoneUI/templates @dirrm %%WWWDIR%%/WebUI/modules/images
@dirrm %%OPENXMLDIR%%/PhoneUI/lib @dirrm %%WWWDIR%%/WebUI/modules/templates
@dirrm %%OPENXMLDIR%%/PhoneUI @dirrm %%WWWDIR%%/WebUI/modules
@dirrm %%OPENXMLDIR%% @dirrm %%WWWDIR%%/WebUI
@dirrm %%WWWDIR%%/lib
@dirrm %%WWWDIR%%

View File

@ -12,6 +12,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= PHP Web-based News Reader COMMENT= PHP Web-based News Reader
LICENSE= GPLv2
USE_PHP= yes USE_PHP= yes
NO_BUILD= yes NO_BUILD= yes
@ -19,11 +21,11 @@ PNEWSDIR?= www/pnews
PNEWSFULLDIR= ${PREFIX}/${PNEWSDIR} PNEWSFULLDIR= ${PREFIX}/${PNEWSDIR}
PLIST_SUB+= PNEWSDIR="${PNEWSDIR}" PLIST_SUB+= PNEWSDIR="${PNEWSDIR}"
NO_STAGE= yes post-extract:
${FIND} ${WRKSRC} -type d -name .svn | ${XARGS} ${RM} -r
do-install: do-install:
@${MKDIR} ${PNEWSFULLDIR} @${MKDIR} ${STAGEDIR}${PNEWSFULLDIR}
@${CP} -R ${WRKSRC}/* ${PNEWSFULLDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PNEWSFULLDIR})
@${CP} -R ${WRKSRC}/.htaccess ${WRKSRC}/* ${PNEWSFULLDIR}
@${FIND} ${PNEWSFULLDIR} -path '*/.svn' | ${XARGS} ${RM} -fr
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -67,9 +67,9 @@
%%PNEWSDIR%%/utils.js %%PNEWSDIR%%/utils.js
%%PNEWSDIR%%/version.inc.php %%PNEWSDIR%%/version.inc.php
%%PNEWSDIR%%/xpost.php %%PNEWSDIR%%/xpost.php
@dirrmtry %%PNEWSDIR%%/language
@dirrmtry %%PNEWSDIR%%/examples
@dirrmtry %%PNEWSDIR%%/doc
@dirrmtry %%PNEWSDIR%%/css
@dirrmtry %%PNEWSDIR%%/auth @dirrmtry %%PNEWSDIR%%/auth
@dirrmtry %%PNEWSDIR%%/css
@dirrmtry %%PNEWSDIR%%/doc
@dirrmtry %%PNEWSDIR%%/examples
@dirrmtry %%PNEWSDIR%%/language
@dirrmtry %%PNEWSDIR%% @dirrmtry %%PNEWSDIR%%