|
Lines 6-15
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= scite |
8 |
PORTNAME= scite |
| 9 |
PORTVERSION= 1.79 |
9 |
PORTVERSION= 2.00 |
| 10 |
CATEGORIES= editors gnome |
10 |
CATEGORIES= editors gnome |
| 11 |
MASTER_SITES= SF \ |
11 |
MASTER_SITES= SF |
| 12 |
http://www.scintilla.org/ |
|
|
| 13 |
MASTER_SITE_SUBDIR= scintilla |
12 |
MASTER_SITE_SUBDIR= scintilla |
| 14 |
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} |
13 |
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} |
| 15 |
EXTRACT_SUFX= .tgz |
14 |
EXTRACT_SUFX= .tgz |
|
Lines 17-26
Link Here
|
| 17 |
MAINTAINER= cyberbotx@cyberbotx.com |
16 |
MAINTAINER= cyberbotx@cyberbotx.com |
| 18 |
COMMENT= A full-featured SCIntilla based Text Editor for GTK/GNOME |
17 |
COMMENT= A full-featured SCIntilla based Text Editor for GTK/GNOME |
| 19 |
|
18 |
|
| 20 |
LIB_DEPENDS= scintilla.1:${PORTSDIR}/x11-toolkits/scintilla |
19 |
LIB_DEPENDS= scintilla.2:${PORTSDIR}/x11-toolkits/scintilla |
| 21 |
|
20 |
|
| 22 |
WRKSRC= ${WRKDIR}/${PORTNAME}/gtk |
21 |
WRKSRC= ${WRKDIR}/${PORTNAME}/gtk |
| 23 |
|
22 |
|
|
|
23 |
FETCH_ARGS= -pRr |
| 24 |
|
| 24 |
USE_GMAKE= yes |
25 |
USE_GMAKE= yes |
| 25 |
USE_GNOME= gtk20 |
26 |
USE_GNOME= gtk20 |
| 26 |
MAKEFILE= makefile |
27 |
MAKEFILE= makefile |
|
Lines 29-44
Link Here
|
| 29 |
|
30 |
|
| 30 |
MAN1= scite.1 |
31 |
MAN1= scite.1 |
| 31 |
|
32 |
|
| 32 |
.if defined(PACKAGE_BUILDING) |
|
|
| 33 |
IGNORE= requires x11-toolkits/scintilla to be built with GTK+2 support |
| 34 |
.endif |
| 35 |
|
| 36 |
pre-configure: |
| 37 |
@if [ -n "`${PKG_INFO} -E 'scintilla-[0-9]*' 2> /dev/null`" ]; then \ |
| 38 |
${ECHO_CMD} "${PKGNAME}: requires x11-toolkits/scintilla to be built with GTK+2."; \ |
| 39 |
${FALSE}; \ |
| 40 |
fi |
| 41 |
|
| 42 |
post-patch: |
33 |
post-patch: |
| 43 |
@${REINPLACE_CMD} -e 's|[(]CC[)]|(CXX)|g ; s|gcc|$$(CC)|g ; s| -Os||g' \ |
34 |
@${REINPLACE_CMD} -e 's|[(]CC[)]|(CXX)|g ; s|gcc|$$(CC)|g ; s| -Os||g' \ |
| 44 |
${WRKSRC}/makefile |
35 |
${WRKSRC}/makefile |
|
Lines 62-68
Link Here
|
| 62 |
${INSTALL_DATA} ${WRKSRC}/../doc/*.png ${DOCSDIR} |
53 |
${INSTALL_DATA} ${WRKSRC}/../doc/*.png ${DOCSDIR} |
| 63 |
.endif |
54 |
.endif |
| 64 |
|
55 |
|
|
|
56 |
.if !defined(NOPORTDOCS) |
| 65 |
post-install: |
57 |
post-install: |
| 66 |
@${CAT} ${PKGMESSAGE} |
58 |
@${CAT} ${PKGMESSAGE} |
|
|
59 |
.endif |
| 67 |
|
60 |
|
| 68 |
.include <bsd.port.mk> |
61 |
.include <bsd.port.mk> |