Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 08:10:01 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r336989 - branches/2014Q1/www/cssed
Message-ID:  <201312200810.rBK8A1Eq048996@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 20 08:10:00 2013
New Revision: 336989
URL: http://svnweb.freebsd.org/changeset/ports/336989

Log:
  MFH: r336963
  
  - Support CC/CXX properly
  - Remove leading article from COMMENT
  - Add desktop entry file
  - Allow staging
  
  PR:		ports/184837
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  branches/2014Q1/www/cssed/Makefile   (contents, props changed)
  branches/2014Q1/www/cssed/pkg-plist   (contents, props changed)
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/www/cssed/Makefile
==============================================================================
--- branches/2014Q1/www/cssed/Makefile	Fri Dec 20 08:08:19 2013	(r336988)
+++ branches/2014Q1/www/cssed/Makefile	Fri Dec 20 08:10:00 2013	(r336989)
@@ -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>

Modified: branches/2014Q1/www/cssed/pkg-plist
==============================================================================
--- branches/2014Q1/www/cssed/pkg-plist	Fri Dec 20 08:08:19 2013	(r336988)
+++ branches/2014Q1/www/cssed/pkg-plist	Fri Dec 20 08:10:00 2013	(r336989)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312200810.rBK8A1Eq048996>