Lines 7-13
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= gonvert |
9 |
PORTNAME= gonvert |
10 |
PORTVERSION= 0.2.12 |
10 |
PORTVERSION= 0.2.14 |
11 |
CATEGORIES= misc python gnome |
11 |
CATEGORIES= misc python gnome |
12 |
MASTER_SITES= http://www.unihedron.com/projects/gonvert/downloads/ |
12 |
MASTER_SITES= http://www.unihedron.com/projects/gonvert/downloads/ |
13 |
|
13 |
|
Lines 21-28
Link Here
|
21 |
NO_BUILD= yes |
21 |
NO_BUILD= yes |
22 |
|
22 |
|
23 |
post-patch: |
23 |
post-patch: |
24 |
@${REINPLACE_CMD} -e \ |
24 |
@${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|g ; \ |
25 |
's|#!/usr/bin/python|#!/usr/bin/env python|g' ${WRKSRC}/gonvert |
25 |
s|gtk.mainloop|gtk.main|g' ${WRKSRC}/gonvert |
26 |
|
26 |
|
27 |
do-install: |
27 |
do-install: |
28 |
${INSTALL_SCRIPT} ${WRKSRC}/gonvert ${PREFIX}/bin |
28 |
${INSTALL_SCRIPT} ${WRKSRC}/gonvert ${PREFIX}/bin |
Lines 35-43
Link Here
|
35 |
@${MKDIR} ${DATADIR}/pixmaps |
35 |
@${MKDIR} ${DATADIR}/pixmaps |
36 |
${INSTALL_DATA} ${WRKSRC}/pixmaps/gonvert_picture.png \ |
36 |
${INSTALL_DATA} ${WRKSRC}/pixmaps/gonvert_picture.png \ |
37 |
${DATADIR}/pixmaps |
37 |
${DATADIR}/pixmaps |
|
|
38 |
@${MKDIR} ${PREFIX}/share/locale/pl/LC_MESSAGES |
39 |
${INSTALL_DATA} ${WRKSRC}/i18n/pl_messages.gmo \ |
40 |
${PREFIX}/share/locale/pl/LC_MESSAGES/gonvert.mo |
38 |
.if !defined(NOPORTDOCS) |
41 |
.if !defined(NOPORTDOCS) |
39 |
@${MKDIR} ${DOCSDIR} |
42 |
@${MKDIR} ${DOCSDIR} |
40 |
.for file in README CHANGELOG FAQ README THANKS TODO |
43 |
.for file in CHANGELOG FAQ README THANKS TODO |
41 |
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} |
44 |
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} |
42 |
.endfor |
45 |
.endfor |
43 |
.endif |
46 |
.endif |