summaryrefslogtreecommitdiff
path: root/editors/kxmleditor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/kxmleditor/Makefile')
-rw-r--r--editors/kxmleditor/Makefile28
1 files changed, 20 insertions, 8 deletions
diff --git a/editors/kxmleditor/Makefile b/editors/kxmleditor/Makefile
index 014873695c21..ed326ef53b2c 100644
--- a/editors/kxmleditor/Makefile
+++ b/editors/kxmleditor/Makefile
@@ -6,20 +6,32 @@
#
PORTNAME= kxmleditor
-PORTVERSION= 0.8.1
-PORTREVISION= 2
-CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+PORTVERSION= 1.0.0
+CATEGORIES= editors kde
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= XML editor for KDE
-BROKEN= "Does not compile with qt 3.3"
-
USE_KDELIBS_VER=3
GNU_CONFIGURE= yes
+USE_GMAKE= yes
INSTALLS_SHLIB= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+USE_REINPLACE= yes
+
+UIFILES=kxesearchdialogbase kxeprocinstrdialogbase kxespecprocinstrdialogbase \
+ kxeelementdialogbase kxeattributedialogbase kxechardatadialogbase \
+ kxeattachdialogbase kxechoosestringdialogbase kxetreeviewsettingspage \
+ kxenewfilesettingspage kxeprintsettingspage kxearchiveextssettingspage \
+ kxetextviewsettingspage kxetexteditordialogbase
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+.for i in ${UIFILES}
+ @${RM} ${WRKSRC}/part/$i.h ${WRKSRC}/part/$i.cpp
+.endfor
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
+.include <bsd.port.post.mk>