aboutsummaryrefslogtreecommitdiff
path: root/devel/klassmodeler
diff options
context:
space:
mode:
Diffstat (limited to 'devel/klassmodeler')
-rw-r--r--devel/klassmodeler/Makefile29
-rw-r--r--devel/klassmodeler/distinfo4
2 files changed, 20 insertions, 13 deletions
diff --git a/devel/klassmodeler/Makefile b/devel/klassmodeler/Makefile
index af404b51dafc..f905d875a239 100644
--- a/devel/klassmodeler/Makefile
+++ b/devel/klassmodeler/Makefile
@@ -8,46 +8,53 @@
PORTNAME= klassmodeler
PORTVERSION= 0.8.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.jameswells.net/KlassModeler/
-DISTNAME= ${PORTNAME}-${PORTVERSION:R}
-EXTRACT_SUFX= .tgz
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}.bsd
MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for visually creating and documenting classes
-BROKEN= Unfetchable
-
LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
+USE_ZIP= yes
USE_REINPLACE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}/Release
+WRKSRC= ${WRKDIR}/${PORTNAME}
WX_CONFIG= ${X11BASE}/bin/wxgtk2-2.4-config
USE_GNOME= gnometarget
-GNU_CONFIGURE= yes
-CONFIGURE_SCRIPT= ../configure
+USE_LIBTOOL_VER= 15
CONFIGURE_ENV= WXWINDOWS="yes"
PLIST_FILES= bin/klassmodeler
+DOS2FIX= configure Makefile.in klassmodeler/docs/en/Makefile.in \
+ klassmodeler/docs/Makefile.in klassmodeler/Makefile.in \
+ admin/depcomp
+
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
+.if ${OSVERSION} < 500000
BROKEN= "Does not compile on 4.x"
.endif
post-patch:
- @${REINPLACE_CMD} -e "s,\`wx-config,\`${WX_CONFIG}," ${WRKSRC}/../configure
+.for df in ${DOS2FIX}
+ ${MV} ${WRKSRC}/${df} ${WRKSRC}/${df}.dos
+ ${TR} -d '\r' < ${WRKSRC}/${df}.dos > ${WRKSRC}/${df}
+.endfor
+ @${REINPLACE_CMD} -e "s,\`wx-config,\`${WX_CONFIG}," ${WRKSRC}/${CONFIGURE_SCRIPT}
+ ${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/klassmodeler/klassmodeler ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/klassmodeler/klassmodeler ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${CP} ${WRKSRC}/../klassmodeler/docs/en/*.html ${DOCSDIR}
+ ${CP} ${WRKSRC}/klassmodeler/docs/en/*.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/devel/klassmodeler/distinfo b/devel/klassmodeler/distinfo
index 5eb498892109..fa35627d4542 100644
--- a/devel/klassmodeler/distinfo
+++ b/devel/klassmodeler/distinfo
@@ -1,2 +1,2 @@
-MD5 (klassmodeler-0.8.tgz) = 81ac971de57ebd35f668f3b198b7e44c
-SIZE (klassmodeler-0.8.tgz) = 737134
+MD5 (klassmodeler-0.8.bsd.zip) = 7aacbe85d1b38d321a539a53a82d0c5f
+SIZE (klassmodeler-0.8.bsd.zip) = 740000