Bug 22336 - New port: scrot-0.1
Summary: New port: scrot-0.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-27 06:10 UTC by ishmael27
Modified: 2001-04-07 07:52 UTC (History)
0 users

See Also:


Attachments
file.shar (2.22 KB, text/plain)
2000-10-27 06:10 UTC, ishmael27
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ishmael27 2000-10-27 06:10:03 UTC
A new port for scrot, a screen-capture utility that uses Imlib2.
Dependant upon ports/22106.
Comment 1 ishmael27 2000-10-29 23:32:09 UTC
Here's a diff that updates this submission to version 0.3.


diff -urN scrot.old/Makefile scrot/Makefile
--- scrot.old/Makefile	Thu Oct 26 23:56:38 2000
+++ scrot/Makefile	Sun Oct 29 17:21:38 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	scrot
-PORTVERSION=	0.1
+PORTVERSION=	0.3
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.linuxbrit.co.uk/downloads/
 
@@ -16,8 +16,8 @@
 
 GNU_CONFIGURE=	yes
 USE_X_PREFIX=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include" \
-		LIBS="-L${X11BASE}/lib"
+CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
+		LIBS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
 MAN1=		scrot.1
 
 .include <bsd.port.mk>
diff -urN scrot.old/distinfo scrot/distinfo
--- scrot.old/distinfo	Thu Oct 26 23:45:12 2000
+++ scrot/distinfo	Sun Oct 29 17:20:25 2000
@@ -1 +1 @@
-MD5 (scrot-0.1.tar.gz) = 576139e5f364228d6dd68d1458832519
+MD5 (scrot-0.3.tar.gz) = 701ae05552e230e6d83e312961405e7e
diff -urN scrot.old/files/patch-ab scrot/files/patch-ab
--- scrot.old/files/patch-ab	Wed Dec 31 18:00:00 1969
+++ scrot/files/patch-ab	Sun Oct 29 17:22:50 2000
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	Sat Oct 28 19:44:50 2000
++++ src/Makefile.in	Sun Oct 29 17:22:38 2000
+@@ -70,7 +70,7 @@
+ MAINTAINERCLEANFILES = Makefile.in				
+ 
+ LDFLAGS = -L/usr/X11R6/lib
+-INCLUDES = -g -O3 -Wall -I/usr/X11R6/include $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. -DPREFIX=\""$(prefix)"\" @IMLIB_CFLAGS@
++INCLUDES = -Wall -I/usr/X11R6/include $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. -DPREFIX=\""$(prefix)"\" @IMLIB_CFLAGS@
+ 
+ LIBOBJS = @LIBOBJS@
+
Comment 2 ishmael27 2000-11-06 00:40:24 UTC
Here is a new shar of the port, now updated to version 0.4


# 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:
#
#	scrot
#	scrot/files
#	scrot/files/patch-aa
#	scrot/files/patch-ab
#	scrot/Makefile
#	scrot/pkg-comment
#	scrot/pkg-descr
#	scrot/pkg-plist
#	scrot/distinfo
#
echo c - scrot
mkdir -p scrot > /dev/null 2>&1
echo c - scrot/files
mkdir -p scrot/files > /dev/null 2>&1
echo x - scrot/files/patch-aa
sed 's/^X//' >scrot/files/patch-aa << 'END-of-scrot/files/patch-aa'
X--- Makefile.in.orig	Thu Oct 26 10:25:54 2000
X+++ Makefile.in	Thu Oct 26 23:55:44 2000
X@@ -76,7 +76,7 @@
X man_MANS = scrot.1
X 
X docs_DATA = README AUTHORS ChangeLog TODO
X-docsdir = $(prefix)/doc/scrot
X+docsdir = $(datadir)/doc/scrot
X 
X EXTRA_DIST =  scrot.spec scrot.1 $(docs_DATA)
X 
END-of-scrot/files/patch-aa
echo x - scrot/files/patch-ab
sed 's/^X//' >scrot/files/patch-ab << 'END-of-scrot/files/patch-ab'
X--- src/Makefile.in.orig	Sat Oct 28 19:44:50 2000
X+++ src/Makefile.in	Sun Oct 29 17:22:38 2000
X@@ -70,7 +70,7 @@
X MAINTAINERCLEANFILES = Makefile.in				
X 
X LDFLAGS = -L/usr/X11R6/lib
X-INCLUDES = -g -O3 -Wall -I/usr/X11R6/include $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. -DPREFIX=\""$(prefix)"\" @IMLIB_CFLAGS@
X+INCLUDES = -Wall -I/usr/X11R6/include $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. -DPREFIX=\""$(prefix)"\" @IMLIB_CFLAGS@
X 
X LIBOBJS = @LIBOBJS@
X 
END-of-scrot/files/patch-ab
echo x - scrot/Makefile
sed 's/^X//' >scrot/Makefile << 'END-of-scrot/Makefile'
X# New ports collection makefile for:	scrot
X# Date created:				27 Oct 2000
X# Whom:					Jeremy Norris <ishmael27@home.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	scrot
XPORTVERSION=	0.4
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.linuxbrit.co.uk/downloads/
X
XMAINTAINER=	ishmael27@home.com
X
XLIB_DEPENDS=	Imlib2.1:${PORTSDIR}/graphics/imlib2
X
XGNU_CONFIGURE=	yes
XUSE_X_PREFIX=	yes
X
XMAN1=		scrot.1
X
X.include <bsd.port.mk>
END-of-scrot/Makefile
echo x - scrot/pkg-comment
sed 's/^X//' >scrot/pkg-comment << 'END-of-scrot/pkg-comment'
XA screen capture utility that utilizes Imlib2
END-of-scrot/pkg-comment
echo x - scrot/pkg-descr
sed 's/^X//' >scrot/pkg-descr << 'END-of-scrot/pkg-descr'
XA screen capture utility that utilizes Imlib2.
X
XWWW: http://www.linuxbrit.co.uk/scrot/
END-of-scrot/pkg-descr
echo x - scrot/pkg-plist
sed 's/^X//' >scrot/pkg-plist << 'END-of-scrot/pkg-plist'
Xbin/scrot
Xshare/doc/scrot/AUTHORS
Xshare/doc/scrot/ChangeLog
Xshare/doc/scrot/README
Xshare/doc/scrot/TODO
X@dirrm share/doc/scrot
END-of-scrot/pkg-plist
echo x - scrot/distinfo
sed 's/^X//' >scrot/distinfo << 'END-of-scrot/distinfo'
XMD5 (scrot-0.4.tar.gz) = a50cb44e190902f28f54e013a2dc16be
END-of-scrot/distinfo
exit
Comment 3 Will Andrews freebsd_committer freebsd_triage 2001-04-07 07:51:59 UTC
State Changed
From-To: open->closed

Committed, thanks.  I updated the port to 0.5 for you, and 
changed the src/Makefile.in patch to a perl regex.