Lines 7-12
Link Here
|
7 |
PORTNAME= diffuse |
7 |
PORTNAME= diffuse |
8 |
PORTVERSION= 0.4.1 |
8 |
PORTVERSION= 0.4.1 |
|
|
9 |
PORTREVISION= 1 |
9 |
CATEGORIES= devel python |
10 |
CATEGORIES= devel python |
10 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
Lines 20-26
USE_GNOME= pygtk2
Link Here
|
20 |
USE_BZIP2= yes |
21 |
USE_BZIP2= yes |
21 |
MAN1= diffuse.1 |
22 |
MAN1= diffuse.1 |
22 |
PORTDATA= syntax |
|
|
23 |
OPTIONS= MENU "Add desktop menu (needs desktop-file-utils)" on \ |
23 |
OPTIONS= MENU "Add desktop menu (needs desktop-file-utils)" on \ |
24 |
OMF "Install OMF manual (needs scrollkeeper)" on \ |
24 |
OMF "Install OMF manual (needs scrollkeeper)" on \ |
Lines 32-37
OPTIONS= MENU "Add desktop menu (needs desktop-file-utils)" on \
Link Here
|
32 |
PORTDOCS= AUTHORS COPYING ChangeLog README |
32 |
PORTDOCS= AUTHORS COPYING ChangeLog README |
33 |
.endif |
33 |
.endif |
|
|
34 |
.ifndef (NOPORTDATA) |
35 |
PORTDATA= syntax |
36 |
.endif |
37 |
|
34 |
.ifdef (WITH_MENU) |
38 |
.ifdef (WITH_MENU) |
35 |
PLIST_SUB+= MENU="" |
39 |
PLIST_SUB+= MENU="" |
36 |
USE_GNOME+= desktopfileutils |
40 |
USE_GNOME+= desktopfileutils |
Lines 56-63
PLIST_SUB+= NLS="@comment "
Link Here
|
56 |
.endif |
60 |
.endif |
57 |
post-patch: |
61 |
post-patch: |
|
|
62 |
.ifndef (NOPORTDATA) |
58 |
${REINPLACE_CMD} -e 's|../usr|${PREFIX}|g; s|/etc|${PREFIX}/etc|g' \ |
63 |
${REINPLACE_CMD} -e 's|../usr|${PREFIX}|g; s|/etc|${PREFIX}/etc|g' \ |
59 |
${WRKSRC}/src/etc/${PORTNAME}rc |
64 |
${WRKSRC}/src/etc/${PORTNAME}rc |
|
|
65 |
.else |
66 |
${REINPLACE_CMD} -e 's|import ../usr|\#(Disabled by NOPORTDATA !) \ |
67 |
import ${PREFIX}|g; s|/etc|${PREFIX}/etc|g' \ |
68 |
${WRKSRC}/src/etc/${PORTNAME}rc |
69 |
.endif |
70 |
|
71 |
${REINPLACE_CMD} -e 's|../../etc|${PREFIX}/etc|g' \ |
72 |
${WRKSRC}/src/usr/bin/${PORTNAME} |
73 |
|
60 |
${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \ |
74 |
${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \ |
61 |
${WRKSRC}/src/usr/share/omf/${PORTNAME}/${PORTNAME}-C.omf |
75 |
${WRKSRC}/src/usr/share/omf/${PORTNAME}/${PORTNAME}-C.omf |
Lines 67-75
do-install:
Link Here
|
67 |
${INSTALL_DATA} ${WRKSRC}/src/etc/${PORTNAME}rc ${PREFIX}/etc/ |
81 |
${INSTALL_DATA} ${WRKSRC}/src/etc/${PORTNAME}rc ${PREFIX}/etc/ |
68 |
post-install: |
82 |
post-install: |
69 |
${MKDIR} ${DATADIR}/syntax |
|
|
70 |
(cd ${WRKSRC}/src/usr/share/${PORTNAME}/ && \ |
71 |
${COPYTREE_SHARE} \* ${DATADIR}/) |
72 |
${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/man1/*.1 \ |
83 |
${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/man1/*.1 \ |
73 |
${MANPREFIX}/man/man1/ |
84 |
${MANPREFIX}/man/man1/ |
Lines 80-85
post-install:
Link Here
|
80 |
done |
91 |
done |
81 |
.endif |
92 |
.endif |
|
|
93 |
.ifndef (NOPORTDATA) |
94 |
${MKDIR} ${DATADIR}/syntax |
95 |
(cd ${WRKSRC}/src/usr/share/${PORTNAME}/ && \ |
96 |
${COPYTREE_SHARE} \* ${DATADIR}/) |
97 |
.endif |
98 |
|
82 |
.ifndef (WITHOUT_NLS) |
99 |
.ifndef (WITHOUT_NLS) |
83 |
for x in ${TRANSLATIONS}; do \ |
100 |
for x in ${TRANSLATIONS}; do \ |
84 |
${MKDIR} ${PREFIX}/share/locale/$${x}/LC_MESSAGES; \ |
101 |
${MKDIR} ${PREFIX}/share/locale/$${x}/LC_MESSAGES; \ |