aboutsummaryrefslogtreecommitdiffstats
path: root/www/cssed/Makefile
blob: 37dc275b56722d93c6aa81cdbe155265bb925a99 (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
34
35
36
# Created by: ijliao
# $FreeBSD$

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

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       dos2unix gettext pathfix pkgconfig
DOS2UNIX_FILES= scintilla/gtk/ScintillaGTK.cxx
USE_GNOME=  gtk20 libxml2
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-plugin-headers

CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib

DESKTOP_ENTRIES="CSSED" "CSS Editor" "${DATADIR}/pixmaps/cssed-icon.png" \
        "${PORTNAME}" "GTK;Development;WebDevelopment;TextEditor;" ""

post-patch:
    @${REINPLACE_CMD} -e \
        's|gthread-2.0|gmodule-2.0|' ${WRKSRC}/configure
.for i in scintilla/gtk/Makefile.in src/Makefile.in
    @${REINPLACE_CMD} -e 's|gcc|@CC@|g ; \
         s|g++|@CXX@|g' ${WRKSRC}/${i}
.endfor

.include <bsd.port.mk>