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)
This commit is contained in:
Thierry Thomas 2004-10-07 17:11:52 +00:00
parent 02ef3c4695
commit 3b5e2556a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118577
2 changed files with 20 additions and 13 deletions

View file

@ -8,28 +8,30 @@
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
@ -41,13 +43,18 @@ 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>

View file

@ -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