diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-08-17 05:40:23 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-08-17 05:40:23 +0000 |
commit | 0dda780332f0a17648ed7e26800e4fd917d4bb75 (patch) | |
tree | a5c10a0b82fd9b922d292740e4ae1e65b4d9bd4e /deskutils/plans | |
parent | 990a8233b240ca401b341a95a0b94be230595a43 (diff) | |
download | ports-0dda780332f0a17648ed7e26800e4fd917d4bb75.tar.gz ports-0dda780332f0a17648ed7e26800e4fd917d4bb75.zip |
Notes
Diffstat (limited to 'deskutils/plans')
-rw-r--r-- | deskutils/plans/Makefile | 32 | ||||
-rw-r--r-- | deskutils/plans/distinfo | 6 |
2 files changed, 12 insertions, 26 deletions
diff --git a/deskutils/plans/Makefile b/deskutils/plans/Makefile index d66d22953513..f43bdbab39d4 100644 --- a/deskutils/plans/Makefile +++ b/deskutils/plans/Makefile @@ -6,12 +6,13 @@ # PORTNAME= plans -PORTVERSION= 7.6.5 +PORTVERSION= 7.7 CATEGORIES= deskutils www MASTER_SITES= http://www.planscalendar.com/release/:plans \ http://www.planscalendar.com/addons/:addons \ http://www.freebsd.org/gifs/:logo -DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}:plans \ +DISTNAME= ${PORTNAME}_${PORTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:plans \ danish.pl:addons \ nl_dutch.pl:addons \ fr_french.pl:addons \ @@ -25,12 +26,13 @@ EXTRACT_ONLY= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= infofarmer@FreeBSD.org COMMENT= A Good Web Calendar +BUILD_DEPENDS= ${SITE_PERL}/CGI/Session.pm:${PORTSDIR}/www/p5-CGI-Session +RUN_DEPENDS= ${BUILD_DEPENDS} + USE_ZIP= yes NO_BUILD= yes USE_PERL5_RUN= yes -WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} - WWWDOCROOT?= www PLANSSUBDIR?= plans PLANSDIR?= ${WWWDOCROOT}/${PLANSSUBDIR} @@ -42,26 +44,11 @@ SUB_LIST+= DIR=${DIR} .include <bsd.port.pre.mk> # Need to exists() work -pre-build: -.if exists(${PREFIX}/www/data/plans) - @${ECHO_CMD} "" - @${ECHO_CMD} "*** WARNING ***" - @${ECHO_CMD} "" - @${ECHO_CMD} "Versions before 7.5.4_1 don't preserve config" - @${ECHO_CMD} "files. If you need to back them up, press CTRL+C" - @${ECHO_CMD} "now to interrupt the installation process." - @${ECHO_CMD} "" - @${ECHO_CMD} "" - @sleep 10 -.endif - post-extract: @${CP} ${_DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif @${CP} ${_DISTDIR}/*.pl ${WRKSRC}/ - @(for i in ${WRKSRC}/data/*xml ${WRKSRC}/*config.pl; \ - do ${MV} $$i $$i.default; done) - @${SED} -e 's/iso-8859-1/utf-8/' ${WRKSRC}/us_english.pl \ - > ${WRKSRC}/us_english_utf8.pl + @for i in ${WRKSRC}/data/*xml ${WRKSRC}/*config.pl; do ${MV} $$i $$i.default; done + @${SED} -e 's/iso-8859-1/utf-8/' ${WRKSRC}/us_english.pl > ${WRKSRC}/us_english_utf8.pl post-patch: @${RM} -f ${WRKSRC}/theme/plans.template.orig @@ -75,8 +62,7 @@ do-install: @${FIND} ${DIR} -name '*.xml' -exec ${CHMOD} 664 {} \; post-install: - @(for i in ${DIR}/data/*default ${DIR}/*default; \ - do ${CP} -np $$i $${i%.default}; done) + @for i in ${DIR}/data/*default ${DIR}/*default; do ${CP} -np $$i $${i%.default}; done @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/deskutils/plans/distinfo b/deskutils/plans/distinfo index 43ae6ce2ef4e..546b38f528cf 100644 --- a/deskutils/plans/distinfo +++ b/deskutils/plans/distinfo @@ -1,6 +1,6 @@ -MD5 (plans/plans_7.6.5.zip) = 40787e707bd97c303fa6076d2fba8a63 -SHA256 (plans/plans_7.6.5.zip) = c684ff3d1baec2e75208b6c180aa3076079a14f20bc03c31e456031cd434b5f3 -SIZE (plans/plans_7.6.5.zip) = 592553 +MD5 (plans/plans_7.7.zip) = a94ea2bc63a8561ed50875ec86bb6a38 +SHA256 (plans/plans_7.7.zip) = 291fd699d40f0ebc529de7ca536e300df444c0d65def4e6d27aa59d615d50135 +SIZE (plans/plans_7.7.zip) = 591630 MD5 (plans/danish.pl) = a2c4021f15ea0696de3b131133264f2a SHA256 (plans/danish.pl) = caed01510af6d0f49a409b8b2467ddaa2f095462374ab388806cab230134cf19 SIZE (plans/danish.pl) = 36419 |