1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/deskutils/plans/Makefile

67 lines
1.8 KiB
Makefile
Raw Normal View History

# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$
PORTNAME= plans
2010-08-31 18:54:21 +00:00
PORTVERSION= 8.2.1
2015-06-17 12:57:14 +00:00
PORTREVISION= 3
CATEGORIES= deskutils www
MASTER_SITES= http://www.planscalendar.com/release/:plans \
http://www.planscalendar.com/addons/:addons \
2015-03-30 21:29:08 +00:00
http://www.freebsd.org/gifs/:logo
DISTNAME= ${PORTNAME}_${DISTVERSION}
2006-08-17 05:40:23 +00:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:plans \
2008-02-04 15:52:13 +00:00
cz_czech.pl:addons \
danish.pl:addons \
nl_dutch.pl:addons \
fr_french.pl:addons \
de_german.pl:addons \
it_italian.pl:addons \
sp_spanish.pl:addons \
zh_tw.pl:addons \
powerani.gif:logo
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Good Web Calendar
LICENSE= GPLv2
2007-12-13 11:28:00 +00:00
BUILD_DEPENDS= p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session
RUN_DEPENDS:= ${BUILD_DEPENDS}
2006-08-17 05:40:23 +00:00
2015-06-17 12:57:14 +00:00
USES= perl5 shebangfix zip
USE_PERL5= run
2015-06-17 12:57:14 +00:00
SHEBANG_FILES= email_reminders.cgi plans.cgi plans_check.cgi upcoming_events.cgi
NO_BUILD= yes
NO_ARCH= yes
SHAREOWN= ${WWWOWN}
SHAREGRP= ${WWWGRP}
SHAREMODE= 644
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
SUB_FILES= pkg-message
post-extract:
@${CP} ${_DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif
@${CP} ${_DISTDIR}/*.pl ${WRKSRC}/
2007-12-13 11:28:00 +00:00
@${RM} -rf ${WRKSRC}/theme/us_english.pl
@for i in ${WRKSRC}/data/*xml ${WRKSRC}/*config.pl;\
do ${MV} $$i $$i.sample; done
2007-12-13 11:28:00 +00:00
@${SED} -e 's/iso-8859-1/utf-8/' ${WRKSRC}/us_english.pl >\
${WRKSRC}/us_english_utf8.pl
@${TOUCH} ${WRKSRC}/theme/ical/.keep_me
post-patch:
@${RM} -f ${WRKSRC}/theme/plans.template.orig
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
@${FIND} ${STAGEDIR}${WWWDIR} -name '*.cgi' -exec ${CHMOD} 755 {} \;
@${FIND} ${STAGEDIR}${WWWDIR} -name '*.xml.sample' -exec ${CHMOD} 664 {} \;
2007-12-13 11:28:00 +00:00
.include <bsd.port.mk>