Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 1999 17:13:03 +1000 (EST)
From:      jim@blues.ghis.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12895: new port: erwin-0.3.1
Message-ID:  <199907310713.RAA68665@blues.ghis.net>

next in thread | raw e-mail | index | archive | help

>Number:         12895
>Category:       ports
>Synopsis:       new port: erwin-0.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 31 00:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jim Mock
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	

>Description:

New port of erwin, a simple HTML editor based on GTK.

>How-To-Repeat:

	

>Fix:
	
# 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:
#
#	erwin
#	erwin/Makefile
#	erwin/files
#	erwin/files/md5
#	erwin/patches
#	erwin/patches/patch-aa
#	erwin/pkg
#	erwin/pkg/COMMENT
#	erwin/pkg/PLIST
#	erwin/pkg/DESCR
#
echo c - erwin
mkdir -p erwin > /dev/null 2>&1
echo x - erwin/Makefile
sed 's/^X//' >erwin/Makefile << 'END-of-erwin/Makefile'
X# New ports collection makefile for:	erwin
X# Version required:		0.3.1
X# Date created:			31 July 1999
X# Whom:				Jim Mock <jim@blues.ghis.net>
X#
X# $Id$
X#
X
XDISTNAME=	erwin-0.3.1
XCATEGORIES=	www editors
XMASTER_SITES=	http://www-stud.fht-esslingen.de/erwin/
X
XMAINTAINER=	jim@blues.ghis.net
X
XLIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
X
XGTK_CONFIG?=	${X11BASE}/bin/gtk12-config
X
XUSE_X_PREFIX=	yes
XUSE_GMAKE=	yes
X
Xpost-install:
X	@strip ${PREFIX}/bin/erwin
X.if !defined(NOPORTDOCS)
X	@${ECHO} "===>   Installing README in ${PREFIX}/share/doc/erwin"
X	@${MKDIR} ${PREFIX}/share/doc/erwin && chmod a+rx ${PREFIX}/share/doc/erwin
X	@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/erwin
X.endif
X
X.include <bsd.port.mk>
END-of-erwin/Makefile
echo c - erwin/files
mkdir -p erwin/files > /dev/null 2>&1
echo x - erwin/files/md5
sed 's/^X//' >erwin/files/md5 << 'END-of-erwin/files/md5'
XMD5 (erwin-0.3.1.tar.gz) = 73ea4a702ecdac15551019cd7653b289
END-of-erwin/files/md5
echo c - erwin/patches
mkdir -p erwin/patches > /dev/null 2>&1
echo x - erwin/patches/patch-aa
sed 's/^X//' >erwin/patches/patch-aa << 'END-of-erwin/patches/patch-aa'
X--- Makefile.orig	Sat Jul 31 17:03:44 1999
X+++ Makefile	Sat Jul 31 17:04:37 1999
X@@ -2,7 +2,7 @@
X bindir		= $(prefix)/bin
X 
X NAME		= erwin-0.3.1
X-CC		= gcc
X+CC		?= gcc
X PROG		= erwin
X OBJS		= erwin.o erwinmenu.o erwinfunctions.o erwintoolbar.o \
X 		  erwinnotebook.o erwindialogs.o erwintags.o gtkmessage.o
X@@ -28,10 +28,10 @@
X 	rm -f $(PROG) $(OBJS) *.?~ core license.h
X 
X $(PROG):	$(OBJS)
X-	$(CC) $(LDFLAGS) $(shell gtk-config --libs) -o $@ $(OBJS)
X+	$(CC) $(LDFLAGS) $(shell gtk12-config --libs) -o $@ $(OBJS)
X 
X %.o:		%.c
X-	$(CC) $(CFLAGS) $(shell gtk-config --cflags) -o $@ -c $<
X+	$(CC) $(CFLAGS) $(shell gtk12-config --cflags) -o $@ -c $<
X 
X tar:	clean
X 	cd ..; ln -s erwin $(NAME);tar cf - $(NAME)/* > $(NAME).tar;rm $(NAME);gzip -f $(NAME).tar
END-of-erwin/patches/patch-aa
echo c - erwin/pkg
mkdir -p erwin/pkg > /dev/null 2>&1
echo x - erwin/pkg/COMMENT
sed 's/^X//' >erwin/pkg/COMMENT << 'END-of-erwin/pkg/COMMENT'
Xerwin is a simple (right now) html editor based on GTK+
END-of-erwin/pkg/COMMENT
echo x - erwin/pkg/PLIST
sed 's/^X//' >erwin/pkg/PLIST << 'END-of-erwin/pkg/PLIST'
Xbin/erwin
Xshare/doc/erwin/README
X@dirrm share/doc/erwin
END-of-erwin/pkg/PLIST
echo x - erwin/pkg/DESCR
sed 's/^X//' >erwin/pkg/DESCR << 'END-of-erwin/pkg/DESCR'
Xerwin is a simple (right now) html editor based on GTK+.  The current
Xversion of erwin allows for editing of more than one file at a time,
Xand also is capable of some simple syntax highlighting.
X
XWWW:	http://www-stud.fht-esslingen.de/erwin/
X
X- Jim <jim@blues.ghis.net>
END-of-erwin/pkg/DESCR
exit

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907310713.RAA68665>