aboutsummaryrefslogtreecommitdiff
path: root/www/cssed
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-12-19 21:33:08 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-12-19 21:33:08 +0000
commite695352d911261b734f49498c8d8a1dc4d8b25f4 (patch)
tree9dd8b39d6c88c075b27a20386d30311f1b1caec7 /www/cssed
parentfce1a82b0b158c315b4bffdc3cfdaec876560eb8 (diff)
downloadports-e695352d911261b734f49498c8d8a1dc4d8b25f4.tar.gz
ports-e695352d911261b734f49498c8d8a1dc4d8b25f4.zip
Notes
Diffstat (limited to 'www/cssed')
-rw-r--r--www/cssed/Makefile26
-rw-r--r--www/cssed/pkg-plist1
2 files changed, 14 insertions, 13 deletions
diff --git a/www/cssed/Makefile b/www/cssed/Makefile
index 4d0016a37362..1fd7e1553035 100644
--- a/www/cssed/Makefile
+++ b/www/cssed/Makefile
@@ -3,31 +3,31 @@
PORTNAME= cssed
PORTVERSION= 0.4.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= www
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
-COMMENT= An application to help CSS style sheets creation and maintenance
+COMMENT= Application to help CSS style sheets creation and maintenance
-USES= pathfix pkgconfig
+USES= dos2unix pathfix pkgconfig
+DOS2UNIX_FILES= scintilla/gtk/ScintillaGTK.cxx
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
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+DESKTOP_ENTRIES="CSSED" "CSS Editor" "${DATADIR}/pixmaps/cssed-icon.png" \
+ "${PORTNAME}" "GTK;Development;WebDevelopment;TextEditor;" ""
-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|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}/src/Makefile.in
+ s|g++|@CXX@|g' ${WRKSRC}/${i}
.endfor
.include <bsd.port.mk>
diff --git a/www/cssed/pkg-plist b/www/cssed/pkg-plist
index 3a3127d92818..ce1d98d00e66 100644
--- a/www/cssed/pkg-plist
+++ b/www/cssed/pkg-plist
@@ -1,5 +1,6 @@
bin/cssed
libdata/pkgconfig/cssed.pc
+man/man1/cssed.1.gz
%%DATADIR%%/data/cssed-cfg.xml
%%DATADIR%%/data/cssed-def.dtd
%%DATADIR%%/data/cssed-def.xml