|
Lines 2-8
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= scite |
4 |
PORTNAME= scite |
| 5 |
PORTVERSION= 3.5.5 |
5 |
PORTVERSION= 3.5.6 |
| 6 |
CATEGORIES= editors gnome |
6 |
CATEGORIES= editors gnome |
| 7 |
MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION} |
7 |
MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION} |
| 8 |
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} |
8 |
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} |
|
Lines 18-25
Link Here
|
| 18 |
LIB_DEPENDS= libscintilla.so:${PORTSDIR}/x11-toolkits/scintilla |
18 |
LIB_DEPENDS= libscintilla.so:${PORTSDIR}/x11-toolkits/scintilla |
| 19 |
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils |
19 |
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils |
| 20 |
|
20 |
|
| 21 |
OPTIONS_DEFINE= DOCS FULL_BUFFER_MENU |
21 |
OPTIONS_DEFINE= DOCS |
| 22 |
FULL_BUFFER_MENU_DESC= Show all files in buffer menu |
|
|
| 23 |
|
22 |
|
| 24 |
WRKSRC= ${WRKDIR}/${PORTNAME}/gtk |
23 |
WRKSRC= ${WRKDIR}/${PORTNAME}/gtk |
| 25 |
|
24 |
|
|
Lines 34-42
Link Here
|
| 34 |
|
33 |
|
| 35 |
post-patch: |
34 |
post-patch: |
| 36 |
@${REINPLACE_CMD} -e 's| -Os||g' ${WRKSRC}/makefile |
35 |
@${REINPLACE_CMD} -e 's| -Os||g' ${WRKSRC}/makefile |
| 37 |
.if ${PORT_OPTIONS:MFULL_BUFFER_MENU} |
|
|
| 38 |
@${REINPLACE_CMD} -e 's|30, "/Buffers|props.GetInt("buffers") > 30 ? props.GetInt("buffers") - 10 : 30, "/Buffers|g' ${WRKSRC}/SciTEGTK.cxx |
| 39 |
.endif |
| 40 |
@${REINPLACE_CMD} -e 's|$$(SciteDefaultHome)|${DOCSDIR}|' \ |
36 |
@${REINPLACE_CMD} -e 's|$$(SciteDefaultHome)|${DOCSDIR}|' \ |
| 41 |
${WRKSRC}/../src/SciTEGlobal.properties |
37 |
${WRKSRC}/../src/SciTEGlobal.properties |
| 42 |
|
38 |
|