ports/129917: [NEWPORT] irc/simpleirc - An extremly simple IRC client
Dennis Herrmann
adox at mcx2.org
Wed Dec 24 21:20:05 UTC 2008
>Number: 129917
>Category: ports
>Synopsis: [NEWPORT] irc/simpleirc - An extremly simple IRC client
>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: Wed Dec 24 21:20:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Dennis Herrmann
>Release: FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD dhn.homeunix.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Nov 6 17:50:47 CET 2008 root at dhn.homeunix.com:/usr/obj/usr/src/sys/PARANOIA i386
>Description:
New port irc/simpleirc - (http://www.suckless.org/programs/sic.html)
Name/Path conflicts with irc/sic, see patch.
>How-To-Repeat:
>Fix:
--- simpleirc_newport.sh 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:
#
# simpleirc
# simpleirc/pkg-descr
# simpleirc/Makefile
# simpleirc/distinfo
# simpleirc/files
# simpleirc/files/patch-config.mk
#
echo c - simpleirc
mkdir -p simpleirc > /dev/null 2>&1
echo x - simpleirc/pkg-descr
sed 's/^X//' >simpleirc/pkg-descr << '65d256f0ed706fba4395bcb079ef9bfb'
XSIMPLE IRC CLIENT alias sic
X
Xsic is an extremely simple IRC client. It consists of lesser
Xthan 250 lines of code. It is the little brother of irc/ii
X
XWWW: http://www.suckless.org/programs/sic.html
65d256f0ed706fba4395bcb079ef9bfb
echo x - simpleirc/Makefile
sed 's/^X//' >simpleirc/Makefile << '7db298e4e7ad436875a08cdcd09fa431'
X# New ports collection makefile for: simpleirc
X# Date created: 24. Dez 2008
X# Whom: Dennis Herrmann <adox at mcx2.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= simpleirc
XPORTVERSION= 1.0
XCATEGORIES= irc
XMASTER_SITES= http://code.suckless.org/dl/tools/
XDISTNAME= sic-${PORTVERSION}
X
XMAINTAINER= adox at mcx2.org
XCOMMENT= An extremly simple IRC client
X
XCONFLICTS= sic-[0-9]*
X
XMAN1= sic.1
XPLIST_FILES= bin/sic
XPORTDOCS= README LICENSE
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
X @${MKDIR} ${DOCSDIR}
X @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
X @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
7db298e4e7ad436875a08cdcd09fa431
echo x - simpleirc/distinfo
sed 's/^X//' >simpleirc/distinfo << '03996bb8518f2dce7b83cd8acb453d2f'
XMD5 (sic-1.0.tar.gz) = d73d07d5de3ea06e9e83b90d26749202
XSHA256 (sic-1.0.tar.gz) = 30a4ac3c80fe4562f0f082df3c0a6a9fa41aa21992a8e3cb2c8e41cf37328378
XSIZE (sic-1.0.tar.gz) = 4318
03996bb8518f2dce7b83cd8acb453d2f
echo c - simpleirc/files
mkdir -p simpleirc/files > /dev/null 2>&1
echo x - simpleirc/files/patch-config.mk
sed 's/^X//' >simpleirc/files/patch-config.mk << '08eeb1d43e915353bf519bc069797046'
X--- config.mk.orig 2008-12-24 21:33:04.000000000 +0100
X+++ config.mk 2008-12-24 21:34:33.000000000 +0100
X@@ -4,17 +4,17 @@
X # Customize below to fit your system
X
X # paths
X-PREFIX = /usr/local
X-MANPREFIX = ${PREFIX}/share/man
X+PREFIX ?= /usr/local
X+MANPREFIX = ${PREFIX}/man
X
X # includes and libs
X INCS = -I. -I/usr/include
X LIBS = -L/usr/lib -lc
X
X # flags
X-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
X-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
X-LDFLAGS = -s ${LIBS}
X+CPPFLAGS += -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
X+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
X+LDFLAGS += -s ${LIBS}
X
X # compiler and linker
X-CC = cc
X+CC ?= cc
08eeb1d43e915353bf519bc069797046
exit
--- simpleirc_newport.sh ends here ---
--- sic_conflicts.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/irc/sic/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile 21 Feb 2003 12:17:16 -0000 1.9
+++ Makefile 24 Dec 2008 20:57:29 -0000
@@ -14,6 +14,7 @@
MAINTAINER= sec at 42.org
COMMENT= Another 'Internet Relay Chat' Client
+CONFLICTS= simpleirc-[0-9]*
GNU_CONFIGURE= yes
PLIST_SUB+= VERSION="${PORTVERSION}"
--- sic_conflicts.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list