ports/115214: New port:graphics/darknock A program that can detect edges in images
User &
relaxbsd at gmail.com
Sun Aug 5 14:00:03 UTC 2007
>Number: 115214
>Category: ports
>Synopsis: New port:graphics/darknock A program that can detect edges in images
>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: Sun Aug 05 14:00:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Yinghong.Liu
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD relaxbsd.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu May 10 21:42:19 CST 2007 hamigua at relaxbsd.org:/usr/src/sys/i386/compile/LYH i386
>Description:
darknocK detects edges in images, better than any other program. It will be
using Artificial Neural Networks to enchance the results of standard algorithms.
It's a part of My work for My Master degree.
WWW: http://sourceforge.net/projects/darknock/
>How-To-Repeat:
>Fix:
--- darknock.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:
#
# darknock/
# darknock/Makefile
# darknock/distinfo
# darknock/pkg-descr
# darknock/pkg-plist
#
echo c - darknock/
mkdir -p darknock/ > /dev/null 2>&1
echo x - darknock/Makefile
sed 's/^X//' >darknock/Makefile << 'END-of-darknock/Makefile'
X# New ports collection makefile for: darknock
X# Date created: 5 August 2007
X# Whom: Yinghong.Liu <relaxbsd at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= darknock
XDISTVERSION= 0.2.7
XCATEGORIES= graphics kde
XMASTER_SITES= SF
XDISTNAME= ${PORTNAME}-${DISTVERSION}-src
X
XMAINTAINER= relaxbsd at gmail.com
XCOMMENT= A program that can detect edges in images
X
XUSE_QT_VER= 4
XQT_COMPONENTS= qmake_build moc_build rcc_build uic_build linguist_build gui
XWRKSRC= ${WRKDIR}/${PORTNAME}
XLRELEASE= ${QT_PREFIX}/bin/lrelease-qt4
X
XPORTDOCS= changelog copyright
X
X.if !defined(WITHOUT_NLS)
XPLIST_SUB+= NLS=""
X.else
XPLIST_SUB+= NLS="@comment "
X.endif
X
XDESKTOP_ENTRIES= "${PORTNAME}" \
X "${COMMENT}" \
X "${PORTNAME}" \
X "${PORTNAME}" \
X "Qt;KDE;Graphics;" \
X "false"
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|/usr/share/darknock|${DATADIR}|g' \
X ${WRKSRC}/src/main.cpp
X
Xpre-build:
X @${LRELEASE} ${BUILD_WRKSRC}/${PORTNAME}.pro
X @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
X
Xdo-install:
X @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X @${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${PREFIX}/share/pixmaps
X.if !defined(WITHOUT_NLS)
X @${MKDIR} ${DATADIR}/locale
X @${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${DATADIR}/locale
X.endif
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for doc in ${PORTDOCS}
X @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-darknock/Makefile
echo x - darknock/distinfo
sed 's/^X//' >darknock/distinfo << 'END-of-darknock/distinfo'
XMD5 (darknock-0.2.7-src.tar.gz) = 98c2b4df4bc807807a93c1a0665d18fd
XSHA256 (darknock-0.2.7-src.tar.gz) = 9a0fd9a2fec413cbf88ec108732a55a5af6a8cd9c7991bd7f97280cf2970355e
XSIZE (darknock-0.2.7-src.tar.gz) = 117465
END-of-darknock/distinfo
echo x - darknock/pkg-descr
sed 's/^X//' >darknock/pkg-descr << 'END-of-darknock/pkg-descr'
XdarknocK detects edges in images, better than any other program. It will be
Xusing Artificial Neural Networks to enchance the results of standard algorithms.
XIt's a part of My work for My Master degree.
X
XWWW: http://sourceforge.net/projects/darknock/
END-of-darknock/pkg-descr
echo x - darknock/pkg-plist
sed 's/^X//' >darknock/pkg-plist << 'END-of-darknock/pkg-plist'
Xbin/darknock
X%%NLS%%%%DATADIR%%/locale/darknock_it.qm
X%%NLS%%%%DATADIR%%/locale/darknock_pl.qm
X%%NLS%%%%DATADIR%%/locale/darknock_ro.qm
X%%NLS%%%%DATADIR%%/locale/darknock_sv.qm
X%%NLS%%%%DATADIR%%/locale/darknock_tr.qm
Xshare/pixmaps/darknock.png
X%%NLS%%@dirrm %%DATADIR%%/locale
X%%NLS%%@dirrm %%DATADIR%%
END-of-darknock/pkg-plist
exit
--- darknock.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list