Lines 1-7
Link Here
|
1 |
# Created by: John Prather |
1 |
# Created by: John Prather |
2 |
|
2 |
|
3 |
PORTNAME= davmail |
3 |
PORTNAME= davmail |
4 |
PORTVERSION= 6.0.0 |
4 |
PORTVERSION= 6.0.1 |
5 |
CATEGORIES= mail java |
5 |
CATEGORIES= mail java |
6 |
MASTER_SITES= SF/davmail/davmail/${PORTVERSION} |
6 |
MASTER_SITES= SF/davmail/davmail/${PORTVERSION} |
7 |
DISTNAME= ${PORTNAME}-src-${PORTVERSION}-${REVISION} |
7 |
DISTNAME= ${PORTNAME}-src-${PORTVERSION}-${REVISION} |
Lines 14-36
LICENSE= GPLv2
Link Here
|
14 |
USES= dos2unix tar:tgz |
14 |
USES= dos2unix tar:tgz |
15 |
|
15 |
|
16 |
DOS2UNIX_FILES= build.xml |
16 |
DOS2UNIX_FILES= build.xml |
17 |
NO_ARCH= yes |
|
|
18 |
USE_ANT= yes |
17 |
USE_ANT= yes |
19 |
USE_JAVA= yes |
18 |
USE_JAVA= yes |
20 |
ALL_TARGET= release |
19 |
USE_RC_SUBR= davmail |
21 |
# 6.0.0 |
20 |
# 6.0.1 |
22 |
REVISION= 3375 |
21 |
REVISION= 3390 |
23 |
# port build number, same as on DISTNAME |
22 |
# port build number, same as on DISTNAME |
24 |
MAKE_ARGS= -Drevision=${REVISION} |
23 |
MAKE_ARGS= -Drevision=${REVISION} |
25 |
MAKE_ENV+= "ANT_OPTS=-Dfile.encoding=UTF-8" |
24 |
MAKE_ENV+= "ANT_OPTS=-Dfile.encoding=UTF-8" |
|
|
25 |
ALL_TARGET= release |
26 |
|
27 |
NO_ARCH= yes |
28 |
SUB_FILES= davmail.sh pkg-message |
26 |
|
29 |
|
27 |
USERS= davmail |
30 |
USERS= davmail |
28 |
GROUPS= davmail |
31 |
GROUPS= davmail |
29 |
|
32 |
|
30 |
DATADIR= ${JAVASHAREDIR}/${PORTNAME} |
33 |
DATADIR= ${JAVASHAREDIR}/${PORTNAME} |
31 |
|
34 |
|
32 |
USE_RC_SUBR= davmail |
|
|
33 |
SUB_FILES= davmail.sh pkg-message |
34 |
PLIST_SUB+= PORTVERSION="${PORTVERSION}" |
35 |
PLIST_SUB+= PORTVERSION="${PORTVERSION}" |
35 |
|
36 |
|
36 |
post-patch: |
37 |
post-patch: |
Lines 56-64
do-install:
Link Here
|
56 |
-not -name "*.desktop" \ |
57 |
-not -name "*.desktop" \ |
57 |
-exec ${INSTALL_DATA} \{} ${STAGEDIR}${DATADIR}/\{} \; |
58 |
-exec ${INSTALL_DATA} \{} ${STAGEDIR}${DATADIR}/\{} \; |
58 |
@${FIND} ${STAGEDIR}/${DATADIR} -depth -empty -type d -delete |
59 |
@${FIND} ${STAGEDIR}/${DATADIR} -depth -empty -type d -delete |
59 |
${INSTALL_SCRIPT} ${WRKDIR}/davmail.sh ${STAGEDIR}${PREFIX}/bin/davmail |
60 |
${INSTALL_SCRIPT} ${WRKDIR}/davmail.sh \ |
|
|
61 |
${STAGEDIR}${PREFIX}/bin/davmail |
60 |
${INSTALL_DATA} ${WRKSRC}/src/etc/davmail.properties \ |
62 |
${INSTALL_DATA} ${WRKSRC}/src/etc/davmail.properties \ |
61 |
${STAGEDIR}${PREFIX}/etc/davmail.properties.sample |
63 |
${STAGEDIR}${PREFIX}/etc/davmail.properties.sample |
62 |
${INSTALL_DATA} ${WRKSRC}/src/desktop/davmail.desktop ${STAGEDIR}${PREFIX}/share/applications/ |
64 |
${INSTALL_DATA} ${WRKSRC}/src/desktop/davmail.desktop \ |
|
|
65 |
${STAGEDIR}${PREFIX}/share/applications/ |
63 |
|
66 |
|
64 |
.include <bsd.port.mk> |
67 |
.include <bsd.port.mk> |