ports/135088: new port:sysutils/filetype
ismail yenigul
ismail.yenigul at endersys.com.tr
Sat May 30 23:50:02 UTC 2009
>Number: 135088
>Category: ports
>Synopsis: new port:sysutils/filetype
>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: Sat May 30 23:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: ismail yenigul
>Release: FreeBSD 6.3-RELEASE-p4
>Organization:
Endersys Ltd
>Environment:
FreeBSD labs.endersys.net 6.3-RELEASE-p4 FreeBSD 6.3-RELEASE-p4 #1: Thu Sep 4 11:54:57 EEST 2008 root at labs.endersys.net:/usr/src/sys/amd64/compile/Endersys.amd64 amd64
>Description:
new port sysutils/filetype
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# filetype
# filetype/files
# filetype/files/patch-Makefile
# filetype/Makefile
# filetype/distinfo
# filetype/pkg-descr
#
echo c - filetype
mkdir -p filetype > /dev/null 2>&1
echo c - filetype/files
mkdir -p filetype/files > /dev/null 2>&1
echo x - filetype/files/patch-Makefile
sed 's/^X//' >filetype/files/patch-Makefile << 'END-of-filetype/files/patch-Makefile'
X--- Makefile.orig 2004-04-06 14:56:41.000000000 +0300
X+++ Makefile 2009-05-31 02:29:40.000000000 +0300
X@@ -29,15 +29,6 @@
X clean:
X rm *.o filetype-compile filetype
X
X-install: filetype-compile filetype
X- strip filetype-compile
X- strip filetype
X- ./filetype-compile filetype.list filetype.spec
X- cp -v filetype filetype-compile /usr/local/bin
X- cp -v filetype.spec /etc
X- cp -v filetype.1 /usr/local/man/man1
X- cp -v filetype-compile.1 /usr/local/man/man1
X-
X validate: filetype filetype-compile
X ./filetype-compile filetype.list filetype.spec
X cp -v filetype.spec validate
END-of-filetype/files/patch-Makefile
echo x - filetype/Makefile
sed 's/^X//' >filetype/Makefile << 'END-of-filetype/Makefile'
X# New ports collection makefile for: filetype
X# Date created: May 31 2009
X# Whom: ismail.yenigul at endersys.com.tr
X#
X# $FreeBSD$
X#
X
XPORTNAME= filetype
XPORTVERSION= 0.1.3
XCATEGORIES= sysutils
XMASTER_SITES= http://www.pldaniels.com/filetype/
X
XMAINTAINER= ismail.yenigul at endersys.com.tr
XCOMMENT= New file-type detection system
X
XMAN1= filetype.1 filetype-compile.1
XDOCS= README CHANGELOG CONTRIBUTORS INSTALL LICENSE TODO
X
XPLIST_FILES= bin/filetype
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/filetype ${PREFIX}/bin
X ${INSTALL_DATA} ${WRKSRC}/filetype.1 ${MANPREFIX}/man/man1/
X ${INSTALL_DATA} ${WRKSRC}/filetype-compile.1 ${MANPREFIX}/man/man1/
X
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
X.endif
X
X.include <bsd.port.mk>
END-of-filetype/Makefile
echo x - filetype/distinfo
sed 's/^X//' >filetype/distinfo << 'END-of-filetype/distinfo'
XMD5 (filetype-0.1.3.tar.gz) = acbb48a5dfd6d46e5a80d326b70b692d
XSHA256 (filetype-0.1.3.tar.gz) = bed5fa94bd5ec5a19f237396041397340418b361df1e5c958bdbfa9be6ae36a6
XSIZE (filetype-0.1.3.tar.gz) = 35378
END-of-filetype/distinfo
echo x - filetype/pkg-descr
sed 's/^X//' >filetype/pkg-descr << 'END-of-filetype/pkg-descr'
XActually, we're not trying to reinvent the wheel here,
Xrather adapt it to suit a slightly different purpose.
X
XWWW: http://www.pldaniels.com/filetype/
END-of-filetype/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list