diff options
author | dirk <dirk@FreeBSD.org> | 2003-01-30 17:24:05 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2003-01-30 17:24:05 +0800 |
commit | 8224fe8e85be0b260fd13d9291366700b2080907 (patch) | |
tree | 5a2e59c442d562d4174f425f497ee966a80689ce /deskutils/mnemo | |
parent | 6b525acdb5f328c993ea325ecd6d77660e708846 (diff) | |
download | freebsd-ports-graphics-8224fe8e85be0b260fd13d9291366700b2080907.tar.gz freebsd-ports-graphics-8224fe8e85be0b260fd13d9291366700b2080907.tar.zst freebsd-ports-graphics-8224fe8e85be0b260fd13d9291366700b2080907.zip |
Upgrade to 1.1.
PR: ports/47230
Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'deskutils/mnemo')
-rw-r--r-- | deskutils/mnemo/Makefile | 25 | ||||
-rw-r--r-- | deskutils/mnemo/distinfo | 2 | ||||
-rw-r--r-- | deskutils/mnemo/pkg-deinstall | 27 | ||||
-rw-r--r-- | deskutils/mnemo/pkg-plist | 46 |
4 files changed, 85 insertions, 15 deletions
diff --git a/deskutils/mnemo/Makefile b/deskutils/mnemo/Makefile index e1cfe0969d0..a565d0f619f 100644 --- a/deskutils/mnemo/Makefile +++ b/deskutils/mnemo/Makefile @@ -6,23 +6,29 @@ # PORTNAME= mnemo -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= deskutils www -MASTER_SITES= ftp://ftp.horde.org/pub/mnemo/tarballs/%SUBDIR%/ -MASTER_SITE_SUBDIR= . old +MASTER_SITES= ftp://ftp.horde.org/pub/mnemo/ \ + ftp://ftp.au.horde.org/pub/horde/mnemo/ \ + ftp://ftp.es.horde.org/pub/mnemo/ \ + ftp://ftp.it.horde.org/pub/mirror/horde.org/mnemo/ \ + ftp://ftp.nl.horde.org/mirror/horde-ftp/pub/mnemo/ \ + ftp://ftp.pt.horde.org/pub/horde-ftp/mnemo/ MAINTAINER= thierry@pompo.net RUN_DEPENDS= ${LOCALBASE}/www/horde/imp/index.php:${PORTSDIR}/mail/imp3 -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} NO_BUILD= yes +USE_REINPLACE= yes + +REINPLACE_ARGS= -i.beforeMnemo + PLIST_SUB= HORDEDIR=${LHORDEDIR} MNEMODIR=${LMNEMODIR} -USE_PERL5= yes DOCS= LICENSE README docs/CHANGES docs/CREDITS docs/INSTALL -CONFFILE= conf.php html.php menu.php prefs.php -SUB_DIRS= config graphics lib locale po scripts templates +CONFFILE= conf.php menu.php prefs.php +SUB_DIRS= config graphics lib locale po scripts templates util LHORDEDIR?= www/horde LMNEMODIR?= ${LHORDEDIR}/mnemo @@ -47,11 +53,12 @@ do-install: @${CHOWN} -R www:www ${MNEMODIR} @${CHMOD} -R o-rwx ${CONFDIR} @${CP} -p ${FILESDIR}/httpd.conf.mnemo ${HORDE_INC} - @${PERL} -pi -e "s:/home/httpd/html/horde/mnemo:${MNEMODIR}:g" \ + @${REINPLACE_CMD} -e "s:/home/httpd/html/horde/mnemo:${MNEMODIR}:g" \ ${HORDE_INC}/httpd.conf.mnemo + @${RM} ${HORDE_INC}/httpd.conf.mnemo.beforeMnemo @${CP} -p ${HORDEDIR}/config/registry.php \ ${HORDEDIR}/config/registry.php.beforeMnemo - @${PERL} -pi -e "s://UNCOMMENTWHENINSTMNEMO::" ${HORDEDIR}/config/registry.php + @${REINPLACE_CMD} -e "s://UNCOMMENTWHENINSTMNEMO::" ${HORDEDIR}/config/registry.php @${CP} -p ${HORDEDIR}/config/registry.php \ ${HORDEDIR}/config/registry.php.afterMnemo .if !defined(NOPORTDOCS) diff --git a/deskutils/mnemo/distinfo b/deskutils/mnemo/distinfo index fafa72d5584..b7e7f46129e 100644 --- a/deskutils/mnemo/distinfo +++ b/deskutils/mnemo/distinfo @@ -1 +1 @@ -MD5 (mnemo-1.0.tar.gz) = 4fb4be095eea041fa7503b14dd03e435 +MD5 (mnemo-1.1.tar.gz) = d442371b0fda93406bcf0ddbe912b137 diff --git a/deskutils/mnemo/pkg-deinstall b/deskutils/mnemo/pkg-deinstall new file mode 100644 index 00000000000..b329889878d --- /dev/null +++ b/deskutils/mnemo/pkg-deinstall @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# Backup Mnemo config files, if needed. + +if [ x$2 != xDEINSTALL ]; then + exit +fi + +if [ -z "${PACKAGE_BUILDING}" ]; then + for cf in `ls ${PKG_PREFIX}/www/horde/mnemo/config/*php`; do + diff -bBqw $cf $cf.dist >/dev/null 2>&1 + case $? in + 0) # original config file, will be deleted by pkg-plist + ;; + 1) # config file has been updated, must be backuped + cp -p $cf $cf.previous + echo "===> Backing-up..." + echo "---> $cf has been saved ***" + echo "---> as $cf.previous ***" + ;; + *) # not found? + ;; + esac + done +fi diff --git a/deskutils/mnemo/pkg-plist b/deskutils/mnemo/pkg-plist index 25579dbcd58..60e0afee37e 100644 --- a/deskutils/mnemo/pkg-plist +++ b/deskutils/mnemo/pkg-plist @@ -6,17 +6,18 @@ %%MNEMODIR%%/config/conf.php %%MNEMODIR%%/config/conf.php.dist %%MNEMODIR%%/config/conf.php.dist.orig -%%MNEMODIR%%/config/html.php -%%MNEMODIR%%/config/html.php.dist %%MNEMODIR%%/config/menu.php %%MNEMODIR%%/config/menu.php.dist %%MNEMODIR%%/config/prefs.php %%MNEMODIR%%/config/prefs.php.dist %%MNEMODIR%%/graphics/add.gif %%MNEMODIR%%/graphics/checkbox.gif +%%MNEMODIR%%/graphics/colorpicker.gif +%%MNEMODIR%%/graphics/colorpicker.png %%MNEMODIR%%/graphics/down.gif %%MNEMODIR%%/graphics/list.gif %%MNEMODIR%%/graphics/mnemo.gif +%%MNEMODIR%%/graphics/print.gif %%MNEMODIR%%/graphics/refresh.gif %%MNEMODIR%%/graphics/search.gif %%MNEMODIR%%/graphics/up.gif @@ -29,18 +30,27 @@ %%MNEMODIR%%/lib/constants.php %%MNEMODIR%%/lib/version.php %%MNEMODIR%%/list.php +%%MNEMODIR%%/locale/bg_BG/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/cs_CZ/LC_MESSAGES/mnemo.mo +%%MNEMODIR%%/locale/da_DK/help.xml +%%MNEMODIR%%/locale/da_DK/LC_MESSAGES/mnemo.mo +%%MNEMODIR%%/locale/de_DE/help.xml %%MNEMODIR%%/locale/de_DE/LC_MESSAGES/mnemo.mo +%%MNEMODIR%%/locale/el_GR/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/en_US/help.xml %%MNEMODIR%%/locale/es_ES/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/fi_FI/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/fi_FI/help.xml %%MNEMODIR%%/locale/fr_FR/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/hu_HU/LC_MESSAGES/mnemo.mo +%%MNEMODIR%%/locale/lt_LT/LC_MESSAGES/mnemo.mo +%%MNEMODIR%%/locale/nb_NO/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/nl_NL/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/nn_NO/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/pt_BR/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/pt_PT/LC_MESSAGES/mnemo.mo +%%MNEMODIR%%/locale/sk_SK/LC_MESSAGES/mnemo.mo +%%MNEMODIR%%/locale/sk_SK/help.xml %%MNEMODIR%%/locale/sv_SE/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/zh_CN/LC_MESSAGES/mnemo.mo %%MNEMODIR%%/locale/zh_TW/LC_MESSAGES/mnemo.mo @@ -48,22 +58,29 @@ %%MNEMODIR%%/menu.php %%MNEMODIR%%/po/Makefile %%MNEMODIR%%/po/README +%%MNEMODIR%%/po/bg_BG.po %%MNEMODIR%%/po/cs_CZ.po +%%MNEMODIR%%/po/da_DK.po %%MNEMODIR%%/po/de_DE.po +%%MNEMODIR%%/po/el_GR.po %%MNEMODIR%%/po/es_ES.po +%%MNEMODIR%%/po/extract.pl %%MNEMODIR%%/po/fi_FI.po %%MNEMODIR%%/po/fr_FR.po %%MNEMODIR%%/po/hu_HU.po +%%MNEMODIR%%/po/lt_LT.po +%%MNEMODIR%%/po/mnemo.pot +%%MNEMODIR%%/po/nb_NO.po %%MNEMODIR%%/po/nl_NL.po %%MNEMODIR%%/po/nn_NO.po %%MNEMODIR%%/po/pt_BR.po %%MNEMODIR%%/po/pt_PT.po +%%MNEMODIR%%/po/shtool +%%MNEMODIR%%/po/sk_SK.po %%MNEMODIR%%/po/sv_SE.po +%%MNEMODIR%%/po/xgettext.sh %%MNEMODIR%%/po/zh_CN.po %%MNEMODIR%%/po/zh_TW.po -%%MNEMODIR%%/po/extract.pl -%%MNEMODIR%%/po/shtool -%%MNEMODIR%%/po/xgettext.sh %%MNEMODIR%%/prefs.php %%MNEMODIR%%/scripts/drivers/mnemo_memos.sql %%MNEMODIR%%/search.php @@ -71,6 +88,8 @@ %%MNEMODIR%%/templates/common-header.inc %%MNEMODIR%%/templates/index/css.inc %%MNEMODIR%%/templates/index/notconfigured.inc +%%MNEMODIR%%/templates/javascript/open_print_win.js +%%MNEMODIR%%/templates/javascript/print.js %%MNEMODIR%%/templates/list/actions.inc %%MNEMODIR%%/templates/list/empty.inc %%MNEMODIR%%/templates/list/footer.inc @@ -83,6 +102,7 @@ %%MNEMODIR%%/templates/memo/end.inc %%MNEMODIR%%/templates/memo/memo.inc %%MNEMODIR%%/templates/menu/menu.inc +%%MNEMODIR%%/templates/prefs/category_management.inc %%MNEMODIR%%/templates/search/begin.inc %%MNEMODIR%%/templates/search/end.inc %%MNEMODIR%%/templates/search/search.inc @@ -90,24 +110,35 @@ %%MNEMODIR%%/templates/view/headers.inc %%MNEMODIR%%/templates/view/navbar.inc %%MNEMODIR%%/templates/view/no-memo.inc +%%MNEMODIR%%/util/colorpicker.php %%MNEMODIR%%/view.php @dirrm %%MNEMODIR%%/config @dirrm %%MNEMODIR%%/graphics @dirrm %%MNEMODIR%%/lib/Driver @dirrm %%MNEMODIR%%/lib +@dirrm %%MNEMODIR%%/locale/bg_BG/LC_MESSAGES +@dirrm %%MNEMODIR%%/locale/bg_BG @dirrm %%MNEMODIR%%/locale/cs_CZ/LC_MESSAGES @dirrm %%MNEMODIR%%/locale/cs_CZ +@dirrm %%MNEMODIR%%/locale/da_DK/LC_MESSAGES +@dirrm %%MNEMODIR%%/locale/da_DK @dirrm %%MNEMODIR%%/locale/de_DE/LC_MESSAGES @dirrm %%MNEMODIR%%/locale/de_DE @dirrm %%MNEMODIR%%/locale/en_US +@dirrm %%MNEMODIR%%/locale/el_GR/LC_MESSAGES +@dirrm %%MNEMODIR%%/locale/el_GR @dirrm %%MNEMODIR%%/locale/es_ES/LC_MESSAGES @dirrm %%MNEMODIR%%/locale/es_ES @dirrm %%MNEMODIR%%/locale/fi_FI/LC_MESSAGES @dirrm %%MNEMODIR%%/locale/fi_FI @dirrm %%MNEMODIR%%/locale/fr_FR/LC_MESSAGES @dirrm %%MNEMODIR%%/locale/fr_FR +@dirrm %%MNEMODIR%%/locale/lt_LT/LC_MESSAGES +@dirrm %%MNEMODIR%%/locale/lt_LT @dirrm %%MNEMODIR%%/locale/hu_HU/LC_MESSAGES @dirrm %%MNEMODIR%%/locale/hu_HU +@dirrm %%MNEMODIR%%/locale/nb_NO/LC_MESSAGES +@dirrm %%MNEMODIR%%/locale/nb_NO @dirrm %%MNEMODIR%%/locale/nl_NL/LC_MESSAGES @dirrm %%MNEMODIR%%/locale/nl_NL @dirrm %%MNEMODIR%%/locale/nn_NO/LC_MESSAGES @@ -116,6 +147,8 @@ @dirrm %%MNEMODIR%%/locale/pt_BR @dirrm %%MNEMODIR%%/locale/pt_PT/LC_MESSAGES @dirrm %%MNEMODIR%%/locale/pt_PT +@dirrm %%MNEMODIR%%/locale/sk_SK/LC_MESSAGES +@dirrm %%MNEMODIR%%/locale/sk_SK @dirrm %%MNEMODIR%%/locale/sv_SE/LC_MESSAGES @dirrm %%MNEMODIR%%/locale/sv_SE @dirrm %%MNEMODIR%%/locale/zh_CN/LC_MESSAGES @@ -127,12 +160,15 @@ @dirrm %%MNEMODIR%%/scripts/drivers @dirrm %%MNEMODIR%%/scripts @dirrm %%MNEMODIR%%/templates/index +@dirrm %%MNEMODIR%%/templates/javascript @dirrm %%MNEMODIR%%/templates/list @dirrm %%MNEMODIR%%/templates/memo @dirrm %%MNEMODIR%%/templates/menu +@dirrm %%MNEMODIR%%/templates/prefs @dirrm %%MNEMODIR%%/templates/search @dirrm %%MNEMODIR%%/templates/view @dirrm %%MNEMODIR%%/templates +@dirrm %%MNEMODIR%%/util @dirrm %%MNEMODIR%% etc/horde/httpd.conf.mnemo %%PORTDOCS%%@dirrm share/doc/mnemo |