mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
36 lines
887 B
Makefile
36 lines
887 B
Makefile
# Created by: ijliao
|
|
|
|
PORTNAME= cssed
|
|
PORTVERSION= 0.4.0
|
|
PORTREVISION= 12
|
|
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= compiler:c++11-lang dos2unix gettext gnome localbase pathfix \
|
|
pkgconfig
|
|
DOS2UNIX_FILES= scintilla/gtk/ScintillaGTK.cxx
|
|
USE_GNOME= gtk20 libxml2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-plugin-headers
|
|
|
|
CXXFLAGS+= -Wno-c++11-narrowing
|
|
|
|
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>
|