aboutsummaryrefslogtreecommitdiffstats
path: root/www/cssed/Makefile
blob: 4d0016a373628e43d0e74da636bd5daadc3333f1 (plain) (blame)
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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   cssed
PORTVERSION=    0.4.0
PORTREVISION=   7
CATEGORIES= www
MASTER_SITES=   SF

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

USES=       pathfix pkgconfig
USE_GNOME=  gtk20 libxml2
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -lgmodule-2.0
CONFIGURE_ARGS= --with-plugin-headers

MAN1=       cssed.1

NO_STAGE=   yes
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>