ports/115074: New ports:misc/itest; misc/itestwri A Qt application consisting of a Database Editor and a Test Writer designed for easy computerised examination
Yinghong.Liu
relaxbsd at gmail.com
Tue Jul 31 07:10:01 UTC 2007
>Number: 115074
>Category: ports
>Synopsis: New ports:misc/itest;misc/itestwri A Qt application consisting of a Database Editor and a Test Writer designed for easy computerised examination
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 31 07:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Yinghong.Liu
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD relaxbsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jun 3 12:43:41 CST 2007 root at relaxbsd.org:/usr/src/sys/i386/compile/RELAXBSD i386
>Description:
Test is a simple programme which allows you to take advantage ofthe best
of computerised examination.
iTest consists of two programmes:
* The Database Editor - question/answer database and exam server
* The Test Writer - the programme installed on each client computer
iTest makes it easy to:
* Create and organise a database of questions and answers
* Set up a server and a printer
* Connect a client computer for each student, which generates a test
according to your server settings
WWW: http://itest.sourceforge.net/
Author: michal.tomlein at gmail.com
port:misc/itest is as a master port and misc/itestwri as a slave port.
>How-To-Repeat:
>Fix:
--- itest.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# itest/
# itest/Makefile
# itest/distinfo
# itest/pkg-descr
# itest/pkg-plist
#
echo c - itest/
mkdir -p itest/ > /dev/null 2>&1
echo x - itest/Makefile
sed 's/^X//' >itest/Makefile << 'END-of-itest/Makefile'
X# New ports collection makefile for: itest
X# Date created: 29 Jul 2007
X# Whom: Yinghong.Liu <relaxbsd at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= itest
XDISTVERSION= 1.1.1
XCATEGORIES= misc kde
XMASTER_SITES= SF
XPKGNAMESUFFIX?= -database_editor
XDISTNAME= iTest-${DISTVERSION}-src
X
XMAINTAINER= relaxbsd at gmail.com
XCOMMENT?= A Database Editor designed for easy computerised examination
X
XUSE_QT_VER= 4
XQT_COMPONENTS= gui network qmake uic rcc moc linguist
X
X.if ${PKGNAMESUFFIX} == "-database_editor"
XPRONAME= iTest
X.elif ${PKGNAMESUFFIX} == "-test_writer"
XPRONAME= iTestWri
X.endif
XWRKSRC= ${WRKDIR}/${DISTNAME}/${PKGNAMESUFFIX:S/-//}
XPIXNAME!= echo '${PRONAME}' | tr '[A-Z]' '[a-z]'
XDOCSDIR= share/doc/${PIXNAME}
XPLIST_SUB= PRONAME=${PRONAME} PIXNAME=${PIXNAME} DOCSDIR=${DOCSDIR}
XDESKTOP_ENTRIES="${PRONAME}" \
X "${COMMENT}" \
X "${PIXNAME}" \
X "${PRONAME}" \
X "Qt;KDE;Education;Teaching;" \
X "false"
X
XLRELEASE= ${QT_PREFIX}/bin/lrelease-qt4
X
Xpre-build:
X @${LRELEASE} ${WRKSRC}/${PRONAME}.pro
X @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
X
Xdo-install:
X @${INSTALL_PROGRAM} ${WRKSRC}/../${PRONAME} ${PREFIX}/bin
X @${INSTALL_DATA} ${WRKSRC}/../${PIXNAME}.png ${PREFIX}/share/pixmaps
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${PREFIX}/${DOCSDIR}
X.for doc in gpl.txt readme.txt
X @${INSTALL_DATA} ${WRKSRC}/../${doc} ${PREFIX}/${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-itest/Makefile
echo x - itest/distinfo
sed 's/^X//' >itest/distinfo << 'END-of-itest/distinfo'
XMD5 (iTest-1.1.1-src.tar.gz) = da894709ebdbe7ea5d1e2b81513185a6
XSHA256 (iTest-1.1.1-src.tar.gz) = f0f3fba3a2679461280575ff65ed64feb45e172eeaef916c9fcc97a0bdc0a8d7
XSIZE (iTest-1.1.1-src.tar.gz) = 618832
END-of-itest/distinfo
echo x - itest/pkg-descr
sed 's/^X//' >itest/pkg-descr << 'END-of-itest/pkg-descr'
XTest is a simple programme which allows you to take advantage ofthe best
Xof computerised examination.
X
XiTest consists of two programmes:
X* The Database Editor - question/answer database and exam server
X* The Test Writer - the programme installed on each client computer
X
XiTest makes it easy to:
X* Create and organise a database of questions and answers
X* Set up a server and a printer
X* Connect a client computer for each student, which generates a test
X according to your server settings
X
XWWW: http://itest.sourceforge.net/
XAuthor: michal.tomlein at gmail.com
END-of-itest/pkg-descr
echo x - itest/pkg-plist
sed 's/^X//' >itest/pkg-plist << 'END-of-itest/pkg-plist'
Xbin/%%PRONAME%%
Xshare/pixmaps/%%PIXNAME%%.png
X%%PORTDOCS%%%%DOCSDIR%%/gpl.txt
X%%PORTDOCS%%%%DOCSDIR%%/readme.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-itest/pkg-plist
exit
--- itest.shar ends here ---
--- itestwri.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# itestwri
# itestwri/Makefile
#
echo c - itestwri
mkdir -p itestwri > /dev/null 2>&1
echo x - itestwri/Makefile
sed 's/^X//' >itestwri/Makefile << 'END-of-itestwri/Makefile'
X# New ports collection makefile for: itestwri
X# Date created: 29 Jul 2007
X# Whom: Yinghong.Liu <relaxbsd at gmail.com>
X#
X# $FreeBSD$
X#
X
XPKGNAMESUFFIX= -test_writer
X
XCOMMENT= A Test Writer designed for easy computerised examination
X
XMASTERDIR= ${.CURDIR}/../../misc/itest
X
X.include "${MASTERDIR}/Makefile"
END-of-itestwri/Makefile
exit
--- itestwri.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list