summaryrefslogtreecommitdiffstats
path: root/www/cssed/Makefile
blob: 3b59366fb27360cceb53ba5c5df2b68b08996b38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ex:ts=8
# Ports collection makefile for:	cssed
# Date created:			Jul 29, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	cssed
PORTVERSION=	0.4.0
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An application to help CSS style sheets creation and maintenance

USE_X_PREFIX=	yes
USE_GNOME=	gnomehack gnometarget gtk20 libxml2
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--with-plugin-headers

MAN1=		cssed.1

post-patch:
.for file in scintilla/gtk/ScintillaGTK.cxx
	@cd ${WRKSRC} && ${MV} ${file} ${file}.pre_tr \
		&& ${TR} -d '\r' < ${file}.pre_tr > ${file}
.endfor
.for file in scintilla/gtk/Makefile.in src/Makefile.in
	@${REINPLACE_CMD} -e 's|gcc|@CC@|g ; \
		 s|g++|@CXX@|g' ${WRKSRC}/src/Makefile.in
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud