View | Details | Raw Unified | Return to bug 184837
Collapse All | Expand All

(-)www/cssed/Makefile (-13 / +13 lines)
Lines 3-33 Link Here
3
3
4
PORTNAME=	cssed
4
PORTNAME=	cssed
5
PORTVERSION=	0.4.0
5
PORTVERSION=	0.4.0
6
PORTREVISION=	7
6
PORTREVISION=	8
7
CATEGORIES=	www
7
CATEGORIES=	www
8
MASTER_SITES=	SF
8
MASTER_SITES=	SF
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	An application to help CSS style sheets creation and maintenance
11
COMMENT=	Application to help CSS style sheets creation and maintenance
12
12
13
USES=		pathfix pkgconfig
13
USES=		dos2unix pathfix pkgconfig
14
DOS2UNIX_FILES=	scintilla/gtk/ScintillaGTK.cxx
14
USE_GNOME=	gtk20 libxml2
15
USE_GNOME=	gtk20 libxml2
15
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
16
CPPFLAGS+=	-I${LOCALBASE}/include
17
LDFLAGS+=	-L${LOCALBASE}/lib -lgmodule-2.0
18
CONFIGURE_ARGS=	--with-plugin-headers
17
CONFIGURE_ARGS=	--with-plugin-headers
19
18
20
MAN1=		cssed.1
19
CPPFLAGS+=	-I${LOCALBASE}/include
20
LDFLAGS+=	-L${LOCALBASE}/lib
21
22
DESKTOP_ENTRIES="CSSED" "CSS Editor" "${DATADIR}/pixmaps/cssed-icon.png" 
23
		"${PORTNAME}" "GTK;Development;WebDevelopment;TextEditor;" ""
21
24
22
NO_STAGE=	yes
23
post-patch:
25
post-patch:
24
.for file in scintilla/gtk/ScintillaGTK.cxx
26
	@${REINPLACE_CMD} -e \
25
	@cd ${WRKSRC} && ${MV} ${file} ${file}.pre_tr \
27
		's|gthread-2.0|gmodule-2.0|' ${WRKSRC}/configure
26
		&& ${TR} -d '\r' < ${file}.pre_tr > ${file}
28
.for i in scintilla/gtk/Makefile.in src/Makefile.in
27
.endfor
28
.for file in scintilla/gtk/Makefile.in src/Makefile.in
29
	@${REINPLACE_CMD} -e 's|gcc|@CC@|g ; \
29
	@${REINPLACE_CMD} -e 's|gcc|@CC@|g ; \
30
		 s|g++|@CXX@|g' ${WRKSRC}/src/Makefile.in
30
		 s|g++|@CXX@|g' ${WRKSRC}/${i}
31
.endfor
31
.endfor
32
32
33
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)www/cssed/pkg-plist (+1 lines)
Lines 1-5 Link Here
1
bin/cssed
1
bin/cssed
2
libdata/pkgconfig/cssed.pc
2
libdata/pkgconfig/cssed.pc
3
man/man1/cssed.1.gz
3
%%DATADIR%%/data/cssed-cfg.xml
4
%%DATADIR%%/data/cssed-cfg.xml
4
%%DATADIR%%/data/cssed-def.dtd
5
%%DATADIR%%/data/cssed-def.dtd
5
%%DATADIR%%/data/cssed-def.xml
6
%%DATADIR%%/data/cssed-def.xml

Return to bug 184837