ports/184837: www/cssed: Support CC/CXX properly
KATO Tsuguru
tkato432 at yahoo.com
Mon Dec 16 18:10:10 UTC 2013
>Number: 184837
>Category: ports
>Synopsis: www/cssed: Support CC/CXX properly
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 16 18:10:09 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Support CC/CXX proeprly
- Support dos2unix
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/www/cssed/Makefile www/cssed/Makefile
--- /usr/ports/www/cssed/Makefile 2013-11-06 21:57:05.000000000 +0900
+++ www/cssed/Makefile 2013-12-17 00:00:00.000000000 +0900
@@ -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>
diff -urN /usr/ports/www/cssed/pkg-plist www/cssed/pkg-plist
--- /usr/ports/www/cssed/pkg-plist 2013-11-06 21:57:05.000000000 +0900
+++ www/cssed/pkg-plist 2013-12-17 00:00:00.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list