summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-10-07 17:11:52 +0000
committerthierry <thierry@FreeBSD.org>2004-10-07 17:11:52 +0000
commit3d1f2a2fe8c8d24e1d56e0bd3515a31a336aa637 (patch)
treef310cc156797d09c21ffa5803fc2ae7ede64cdf7
parent9e4c5410240ff27606dd602e13442463e2eb425b (diff)
downloadFreeBSD-ports-3d1f2a2fe8c8d24e1d56e0bd3515a31a336aa637.zip
FreeBSD-ports-3d1f2a2fe8c8d24e1d56e0bd3515a31a336aa637.tar.gz
Make fetchable again.
Note: this is still version 0.8.2, but not exactly the previous one. The author's web host disappeared one day, taking all his files and databases with it. This new tarball has been produced by the author from his CVS, specially for FreeBSD ports: thanks to him! Approved by: portmgr (marcus) Obtained from: James Wells (author)
-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 af404b5..f905d87 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 5eb4988..fa35627 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
OpenPOWER on IntegriCloud