ports/59864: [non maintainer] multimedia/ksubeditor: fix build on -CURRENT by updating to 0.2

Markus Brueffer brueffer at phoenix-systems.de
Mon Dec 1 04:40:27 UTC 2003


>Number:         59864
>Category:       ports
>Synopsis:       [non maintainer] multimedia/ksubeditor: fix build on -CURRENT by updating to 0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 30 20:40:24 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Markus Brueffer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD cheops.phoenix 5.1-CURRENT FreeBSD 5.1-CURRENT #11: Thu Nov 13 12:26:36 CET 2003 brueffer at cheops.phoenix:/usr/obj/usr/src/sys/CHEOPS i386

>Description:
	multimedia/ksubeditor: fix build on -CURRENT by updating to 0.2

	Reported by: bento

>How-To-Repeat:
>Fix:

--- ksubeditor.diff begins here ---
diff -ruN ksubeditor.orig/Makefile ksubeditor/Makefile
--- ksubeditor.orig/Makefile	Mon Dec  1 04:37:55 2003
+++ ksubeditor/Makefile	Mon Dec  1 05:17:56 2003
@@ -6,20 +6,28 @@
 #
 
 PORTNAME=	KSubeditor
-PORTVERSION=	0.13.r1
+PORTVERSION=	0.2
 CATEGORIES=	multimedia kde
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME:L}
-DISTNAME=	${PORTNAME:L}-${PORTVERSION:R}${PORTVERSION:E:S/^r/rc/}
+DISTNAME=	${PORTNAME:L}-${PORTVERSION}
 
 MAINTAINER=	lioux at FreeBSD.org
 COMMENT=	A video subtitle editor for KDE
 
-WRKSRC=	${WRKDIR}/${PORTNAME:L}-${PORTVERSION:R}
+WRKSRC=		${WRKDIR}/${PORTNAME:L}-${PORTVERSION}
 
 USE_KDELIBS_VER=	3
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--program-transform-name=''
+USE_REINPLACE=	yes
 
-.include <bsd.port.mk>
+post-extract:
+	@${TOUCH} ${WRKSRC}/stamp-h.in
+
+post-patch:
+	@${REINPLACE_CMD} -e 's/-O2//g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
+.include <bsd.port.post.mk>
diff -ruN ksubeditor.orig/distinfo ksubeditor/distinfo
--- ksubeditor.orig/distinfo	Mon Dec  1 04:37:55 2003
+++ ksubeditor/distinfo	Mon Dec  1 04:46:54 2003
@@ -1 +1 @@
-MD5 (ksubeditor-0.13rc1.tar.gz) = 238abcc21f949bd9f636ad90b822b277
+MD5 (ksubeditor-0.2.tar.gz) = ddfb1c2ad888127835df09e5479b438d
diff -ruN ksubeditor.orig/pkg-plist ksubeditor/pkg-plist
--- ksubeditor.orig/pkg-plist	Mon Dec  1 04:37:55 2003
+++ ksubeditor/pkg-plist	Mon Dec  1 05:07:51 2003
@@ -1,10 +1,15 @@
 bin/ksubeditor
 share/applnk/Applications/ksubeditor.desktop
 share/apps/ksubeditor/ksubeditorui.rc
-share/doc/HTML/en/ksubeditor/common
-share/doc/HTML/en/ksubeditor/index.cache.bz2
-share/doc/HTML/en/ksubeditor/index.docbook
 share/icons/locolor/16x16/apps/ksubeditor.png
 share/icons/locolor/32x32/apps/ksubeditor.png
- at dirrm share/doc/HTML/en/ksubeditor
+ at unexec rmdir %D/share/icons/locolor/32x32/apps 2>/dev/null || true
+ at unexec rmdir %D/share/icons/locolor/32x32 2>/dev/null || true
+ at unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true
+ at unexec rmdir %D/share/icons/locolor/16x16 2>/dev/null || true
+ at unexec rmdir %D/share/icons/locolor 2>/dev/null || true
+ at unexec rmdir %D/share/icons 2>/dev/null || true
 @dirrm share/apps/ksubeditor
+ at unexec rmdir %D/share/apps 2>/dev/null || true
+ at unexec rmdir %D/share/applnk/Applications 2>/dev/null || true
+ at unexec rmdir %D/share/applnk 2>/dev/null || true
--- ksubeditor.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list