Date: Tue, 23 May 2000 07:50:02 -0700 (PDT) From: "KATO Tsuguru" <tkato@prontomail.ne.jp> To: freebsd-ports@FreeBSD.org Subject: Re: ports/18770: ports - change-request Message-ID: <200005231450.HAA31091@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/18770; it has been noted by GNATS. From: "KATO Tsuguru" <tkato@prontomail.ne.jp> To: Joakim@spider.forumone.com, Ryden@spider.forumone.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/18770: ports - change-request Date: Tue, 23 May 2000 23:49:20 +0900 It seems the port you sent has some breakage against porting guideline discribled in porters-handbook. Furthermore, it couldn't complete building at least on my system. I tried fixing as follows. Please review it. # 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: # # powershell # powershell/Makefile # powershell/files # powershell/files/md5 # powershell/patches # powershell/patches/patch-aa # powershell/patches/patch-ab # powershell/pkg # powershell/pkg/COMMENT # powershell/pkg/DESCR # powershell/pkg/PLIST # echo c - powershell mkdir -p powershell > /dev/null 2>&1 echo x - powershell/Makefile sed 's/^X//' >powershell/Makefile << 'END-of-powershell/Makefile' X# New ports collection makefile for: powershell X# Date created: 22 May 2000 X# Whom: jo X# X# $FreeBSD$ X XPORTNAME= powershell XPORTVERSION= 0.8 XCATEGORIES= x11 gnome XMASTER_SITES= ftp://download.sourceforge.net/pub/powershell/ \ X http://powershell.sourceforge.net/download/ X XMAINTAINER= jo@our-own.net X XLIB_DEPENDS= gnomeui.3:${PORTSDIR}/x11/gnomelibs X XUSE_X_PREFIX= yes XUSE_AUTOCONF= yes X X.include <bsd.port.mk> END-of-powershell/Makefile echo c - powershell/files mkdir -p powershell/files > /dev/null 2>&1 echo x - powershell/files/md5 sed 's/^X//' >powershell/files/md5 << 'END-of-powershell/files/md5' XMD5 (powershell-0.8.tar.gz) = 25380001352cef5f61e627fabe7465be END-of-powershell/files/md5 echo c - powershell/patches mkdir -p powershell/patches > /dev/null 2>&1 echo x - powershell/patches/patch-aa sed 's/^X//' >powershell/patches/patch-aa << 'END-of-powershell/patches/patch-aa' X--- configure.in.orig Mon Jan 24 08:13:12 2000 X+++ configure.in Tue May 23 21:50:14 2000 X@@ -3,18 +3,7 @@ X AC_CONFIG_HEADER(config.h) X X X-GTK_EXTRA_LIBS="`gtk-config --libs` -lgdk_imlib -lutil" X- X-VERSION=`gtk-config --version` X-MAJOR=`echo $VERSION | cut -f 1 -d . -` X-MINOR=`echo $VERSION | cut -f 2 -d . -` X-MICRO=`echo $VERSION | cut -f 3 -d . -` X- X-GNOMEVERSION=`gnome-config --version` X-GVERSION=`echo $GNOMEVERSION | cut -f 2 -d " " -` X-GNOMEMAJOR=`echo $GVERSION | cut -f 1 -d . -` X-GNOMEMINOR=`echo $GVERSION | cut -f 2 -d . -` X-GNOMEMICRO=`echo $GVERSION | cut -f 3 -d . -` X+GTK_EXTRA_LIBS="`gnome-config --libs gnome gnomeui` -lgdk_imlib -lutil" X X dnl Checks for programs. X AC_PROG_CC X@@ -23,31 +12,6 @@ X X dnl Checks for libraries. X X-dnl check for gtk 1.2 or greater X-dnl quick crappy check, but I don't feel like converting X-dnl to automake to use the real one (automake confuses me :-) X- X-AC_MSG_CHECKING(for GTK+ 1.2 or greater) X-if let $(($MINOR < 2)); then X- AC_MSG_RESULT(no) X- AC_MSG_ERROR([GTK 1.2 or greater required!]); X-fi X-AC_MSG_RESULT(yes) X- X-dnl check for gnome 1.0.13 or greater X- X-AC_MSG_CHECKING(for Gnome 1.0.13 or greater) X-if let $(($GNOMEMAJOR < 1)); then X- AC_MSG_ERROR([Gnome 1.0.13 or greater required!]) X-fi X- X-if let $(($GNOMEMINOR < 1)); then X- if let $((GNOMEMICRO < 13)); then X- AC_MSG_ERROR([Gnome 1.0.13 or greater required!]) X- fi X-fi X- X-AC_MSG_RESULT(yes) X AC_CHECK_LIB(gdk_imlib, gdk_imlib_init, X , X AC_MSG_ERROR([libgdk_imlib required!]), END-of-powershell/patches/patch-aa echo x - powershell/patches/patch-ab sed 's/^X//' >powershell/patches/patch-ab << 'END-of-powershell/patches/patch-ab' X--- Makefile.in.orig Fri Feb 18 09:47:27 2000 X+++ Makefile.in Tue May 23 22:03:46 2000 X@@ -15,20 +15,24 @@ X CC = @CC@ X CPPFLAGS = @CPPFLAGS@ X CFLAGS = $(CPPFLAGS) @CFLAGS@ `gnome-config --cflags gnome gnomeui` X-LDFLAGS = @LDFLAGS@ `gnome-config --libs gnome gnomeui` `gtk-config --libs` X+LDFLAGS = @LDFLAGS@ `gnome-config --libs gnome gnomeui` X LIBS = @LIBS@ -lgdk_imlib -lzvt X INSTALL = @INSTALL@ X+INSTALL_PROGRAM = @INSTALL_PROGRAM@ X+INSTALL_DATA = @INSTALL_DATA@ X X objects = main.o signals.o menu.o term.o globals.o rcfile.o prefs.o about.o dragdrop.o ipc.o X X+all: powershell X+ X powershell : $(objects) X- gcc -o powershell $(objects) $(LDFLAGS) $(LIBS) X+ $(CC) -o powershell $(objects) $(LDFLAGS) $(LIBS) X X install: powershell X $(top_srcdir)/mkinstalldirs $(bindir) X- $(INSTALL) powershell $(bindir) X+ $(INSTALL_PROGRAM) powershell $(bindir) X $(top_srcdir)/mkinstalldirs $(helpdir) X- $(INSTALL) docs/html/* $(helpdir) X+ $(INSTALL_DATA) docs/html/* $(helpdir) X X uninstall: X /bin/rm -f $(bindir)/powershell END-of-powershell/patches/patch-ab echo c - powershell/pkg mkdir -p powershell/pkg > /dev/null 2>&1 echo x - powershell/pkg/COMMENT sed 's/^X//' >powershell/pkg/COMMENT << 'END-of-powershell/pkg/COMMENT' XA terminal emulator END-of-powershell/pkg/COMMENT echo x - powershell/pkg/DESCR sed 's/^X//' >powershell/pkg/DESCR << 'END-of-powershell/pkg/DESCR' XA powerful terminal program built from zvt with the capacity Xof running multiple shells (or programs) within the same Xterminal. X XWWW: http://powershell.sourceforge.net/ END-of-powershell/pkg/DESCR echo x - powershell/pkg/PLIST sed 's/^X//' >powershell/pkg/PLIST << 'END-of-powershell/pkg/PLIST' Xbin/powershell Xshare/gnome/help/powershell/C/a246.htm Xshare/gnome/help/powershell/C/book1.htm Xshare/gnome/help/powershell/C/c154.htm Xshare/gnome/help/powershell/C/c41.htm Xshare/gnome/help/powershell/C/c74.htm Xshare/gnome/help/powershell/C/f12.htm Xshare/gnome/help/powershell/C/f17.htm Xshare/gnome/help/powershell/C/topic.dat Xshare/gnome/help/powershell/C/x67.htm Xshare/gnome/help/powershell/C/x124.htm Xshare/gnome/help/powershell/C/x136.htm Xshare/gnome/help/powershell/C/x175.htm Xshare/gnome/help/powershell/C/x240.htm Xshare/gnome/help/powershell/C/x281.htm X@dirrm share/gnome/help/powershell/C X@dirrm share/gnome/help/powershell END-of-powershell/pkg/PLIST exit -- KATO Tsuguru / tkato@prontomail.ne.jp Sent by Japanese ProntoMail 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?200005231450.HAA31091>