Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= photofilmstrip |
4 |
PORTNAME= photofilmstrip |
5 |
PORTVERSION= 1.5.0 |
5 |
PORTVERSION= 1.5.0 |
6 |
PORTREVISION= 4 |
6 |
PORTREVISION= 5 |
7 |
CATEGORIES= multimedia python |
7 |
CATEGORIES= multimedia python |
8 |
MASTER_SITES= SF/photostoryx/${PORTNAME}/${PORTVERSION} |
8 |
MASTER_SITES= SF/photostoryx/${PORTNAME}/${PORTVERSION} |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 24-35
Link Here
|
24 |
USE_WX= 2.8+ |
24 |
USE_WX= 2.8+ |
25 |
WX_COMPS= python:lib |
25 |
WX_COMPS= python:lib |
26 |
WX_UNICODE= yes |
26 |
WX_UNICODE= yes |
27 |
USES= gettext |
|
|
28 |
ALL_TARGET= compile |
27 |
ALL_TARGET= compile |
29 |
|
28 |
|
30 |
PFSDIR= ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} |
29 |
PFSDIR= ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} |
31 |
|
30 |
|
32 |
NO_STAGE= yes |
31 |
OPTIONS_DEFINE= DOCS NLS |
|
|
32 |
NLS_USES= gettext |
33 |
|
34 |
.include <bsd.port.options.mk> |
33 |
pre-everything:: |
35 |
pre-everything:: |
34 |
@${ECHO_MSG} "To run ${PORTNAME}, you must have sqlite3 installed with extensions enabled." |
36 |
@${ECHO_MSG} "To run ${PORTNAME}, you must have sqlite3 installed with extensions enabled." |
35 |
|
37 |
|
Lines 54-79
Link Here
|
54 |
/^OnlyShowIn/d' ${WRKSRC}/build/${PORTNAME}.desktop |
56 |
/^OnlyShowIn/d' ${WRKSRC}/build/${PORTNAME}.desktop |
55 |
|
57 |
|
56 |
do-install: |
58 |
do-install: |
57 |
${INSTALL_SCRIPT} ${WRKSRC}/build/${PORTNAME} ${PREFIX}/bin |
59 |
${INSTALL_SCRIPT} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
58 |
${INSTALL_SCRIPT} ${WRKSRC}/build/${PORTNAME}-cli ${PREFIX}/bin |
60 |
${INSTALL_SCRIPT} ${WRKSRC}/build/${PORTNAME}-cli ${STAGEDIR}${PREFIX}/bin |
59 |
@${MKDIR} ${PFSDIR} |
61 |
@${MKDIR} ${STAGEDIR}${PFSDIR} |
60 |
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}-cli.py ${PFSDIR} |
62 |
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}-cli.py ${STAGEDIR}${PFSDIR} |
61 |
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}-gui.py ${PFSDIR} |
63 |
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}-gui.py ${STAGEDIR}${PFSDIR} |
62 |
.for dir in cli core gui lib res |
64 |
.for dir in cli core gui lib res |
63 |
@(cd ${WRKSRC}/src && \ |
65 |
@(cd ${WRKSRC}/src && \ |
64 |
${FIND} ${dir} ! \( -name '*.bak' -o -name '*.orig' \) | \ |
66 |
${FIND} ${dir} ! \( -name '*.bak' -o -name '*.orig' \) | \ |
65 |
${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${PFSDIR}) |
67 |
${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${PFSDIR}) |
66 |
.endfor |
68 |
.endfor |
67 |
@${MKDIR} ${PFSDIR}/doc |
69 |
.if ${PORT_OPTIONS:MDOCS} |
68 |
${INSTALL_DATA} ${WRKSRC}/doc/photofilmstrip/* ${PFSDIR}/doc |
70 |
@${MKDIR} ${STAGEDIR}${PFSDIR}/doc |
69 |
@${FIND} ${PFSDIR} -type d | ${XARGS} ${CHMOD} a+rx |
71 |
${INSTALL_DATA} ${WRKSRC}/doc/photofilmstrip/* ${STAGEDIR}${PFSDIR}/doc |
70 |
@${FIND} ${PFSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} |
72 |
.endif |
71 |
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}.desktop ${PREFIX}/share/applications |
73 |
@${FIND} ${STAGEDIR}${PFSDIR} -type d | ${XARGS} ${CHMOD} a+rx |
|
|
74 |
@${FIND} ${STAGEDIR}${PFSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} |
75 |
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications |
76 |
.if ${PORT_OPTIONS:MNLS} |
72 |
.for lang in cs de en fr it ko nl pt tr |
77 |
.for lang in cs de en fr it ko nl pt tr |
73 |
@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES |
78 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES |
74 |
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ |
79 |
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ |
75 |
${PREFIX}/share/locale/${lang}/LC_MESSAGES/PhotoFilmStrip.mo |
80 |
${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/PhotoFilmStrip.mo |
76 |
.endfor |
81 |
.endfor |
77 |
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}.xpm ${PREFIX}/share/pixmaps |
82 |
.endif |
|
|
83 |
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps |
78 |
|
84 |
|
79 |
.include <bsd.port.mk> |
85 |
.include <bsd.port.mk> |