Lines 7-18
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= plans |
9 |
PORTNAME= plans |
10 |
PORTVERSION= 7.5.3 |
10 |
PORTVERSION= 7.5.4 |
11 |
CATEGORIES= deskutils www |
11 |
CATEGORIES= deskutils www |
12 |
MASTER_SITES= http://www.planscalendar.com/release/:plans \ |
12 |
MASTER_SITES= http://www.planscalendar.com/release/:plans \ |
|
|
13 |
http://www.planscalendar.com/addons/:addons \ |
13 |
http://www.freebsd.org/gifs/:logo |
14 |
http://www.freebsd.org/gifs/:logo |
14 |
DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}:plans \ |
15 |
DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}:plans \ |
|
|
16 |
danish.pl:addons \ |
17 |
nl_dutch.pl:addons \ |
18 |
fr_french.pl:addons \ |
19 |
de_german.pl:addons \ |
20 |
zh_tw.pl:addons \ |
15 |
powerani.gif:logo |
21 |
powerani.gif:logo |
|
|
22 |
DIST_SUBDIR= ${PORTNAME} |
16 |
EXTRACT_ONLY= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX} |
23 |
EXTRACT_ONLY= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX} |
17 |
|
24 |
|
18 |
MAINTAINER= infofarmer@gmail.com |
25 |
MAINTAINER= infofarmer@gmail.com |
Lines 31-47
Link Here
|
31 |
SUB_FILES= pkg-message |
38 |
SUB_FILES= pkg-message |
32 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
39 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
33 |
DIR= ${PREFIX}/${PLANSDIR} |
40 |
DIR= ${PREFIX}/${PLANSDIR} |
|
|
41 |
SUB_LIST+= DIR=${DIR} |
34 |
|
42 |
|
35 |
post-extract: |
43 |
post-extract: |
36 |
${CP} ${DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif |
44 |
${CP} ${_DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif |
|
|
45 |
${CP} ${_DISTDIR}/*.pl ${WRKSRC}/ |
37 |
|
46 |
|
38 |
post-patch: |
47 |
post-patch: |
39 |
@${RM} -f ${WRKSRC}/theme/plans.template.orig |
48 |
@${RM} -f ${WRKSRC}/theme/plans.template.orig |
40 |
|
49 |
|
41 |
do-install: |
50 |
do-install: |
42 |
@${INSTALL} -d ${DIR} |
51 |
@${INSTALL} -d ${DIR} |
43 |
@${CP} -nR ${WRKSRC}/ ${DIR} |
52 |
@${CP} -nR ${WRKSRC}/ ${DIR}/ |
44 |
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DIR} |
53 |
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DIR}/ |
45 |
@${FIND} ${DIR} -type f -exec ${CHMOD} 644 {} \; |
54 |
@${FIND} ${DIR} -type f -exec ${CHMOD} 644 {} \; |
46 |
@${FIND} ${DIR} -name '*.cgi' -exec ${CHMOD} 755 {} \; |
55 |
@${FIND} ${DIR} -name '*.cgi' -exec ${CHMOD} 755 {} \; |
47 |
@${FIND} ${DIR} -name '*.xml' -exec ${CHMOD} 664 {} \; |
56 |
@${FIND} ${DIR} -name '*.xml' -exec ${CHMOD} 664 {} \; |