svn commit: r336963 - head/www/cssed
Pawel Pekala
pawel at FreeBSD.org
Thu Dec 19 21:33:09 UTC 2013
Author: pawel
Date: Thu Dec 19 21:33:08 2013
New Revision: 336963
URL: http://svnweb.freebsd.org/changeset/ports/336963
Log:
- Support CC/CXX properly
- Remove leading article from COMMENT
- Add desktop entry file
- Allow staging
PR: ports/184837
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Modified:
head/www/cssed/Makefile (contents, props changed)
head/www/cssed/pkg-plist (contents, props changed)
Modified: head/www/cssed/Makefile
==============================================================================
--- head/www/cssed/Makefile Thu Dec 19 21:32:15 2013 (r336962)
+++ head/www/cssed/Makefile Thu Dec 19 21:33:08 2013 (r336963)
@@ -3,31 +3,31 @@
PORTNAME= cssed
PORTVERSION= 0.4.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= www
MASTER_SITES= SF
MAINTAINER= ports at 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>
Modified: head/www/cssed/pkg-plist
==============================================================================
--- head/www/cssed/pkg-plist Thu Dec 19 21:32:15 2013 (r336962)
+++ head/www/cssed/pkg-plist Thu Dec 19 21:33:08 2013 (r336963)
@@ -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
More information about the svn-ports-head
mailing list