[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

www/polipo



	超手抜きですが、どなたか完成させてやってください。

itojun


# 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:
#
#	./DESCR
#	./distinfo
#	./Makefile
#	./patches/patch-aa
#	./PLIST
#
echo x - ./DESCR
sed 's/^X//' >./DESCR << 'END-of-./DESCR'
END-of-./DESCR
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
X$NetBSD$
X
XSHA1 (polipo-0.9.9.tar.gz) = 0cc72c783a865e5b1bb6ef5b514e7af3724d740a
XRMD160 (polipo-0.9.9.tar.gz) = edb282032f2875154205668405a632a475e2a1ab
XSize (polipo-0.9.9.tar.gz) = 148476 bytes
XSHA1 (patch-aa) = 2aa9a564812b11397f9baef36d86654af2156821
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD$
X#
X
XDISTNAME=		polipo-0.9.9
XCATEGORIES=		www
XMASTER_SITES=		http://www.pps.jussieu.fr/~jch/software/files/polipo/
X
XMAINTAINER=		packages@netbsd.org
XHOMEPAGE=		http://www.pps.jussieu.fr/~jch/software/files/polipo/
XCOMMENT=		small web proxy
X
XWRKSRC=		${WRKDIR}/polipo-0.9.9
X
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X$NetBSD$
X
X--- Makefile.orig	2005-09-24 03:19:08.000000000 +0900
X+++ Makefile	2006-05-15 18:20:11.000000000 +0900
X@@ -1,2 +1,2 @@
X-PREFIX = /usr/local
X+# PREFIX = /usr/local
X BINDIR = $(PREFIX)/bin
X@@ -4,3 +4,3 @@
X INFODIR = $(PREFIX)/info
X-LOCAL_ROOT = /usr/share/polipo/www
X+LOCAL_ROOT = $(PREFIX)/share/polipo/www
X DISK_CACHE_ROOT = /var/cache/polipo
X@@ -74,8 +74,8 @@
X 	mkdir -p $(TARGET)$(BINDIR)
X-	mkdir -p $(TARGET)$(LOCAL_ROOT)
X-	mkdir -p $(TARGET)$(LOCAL_ROOT)/doc
X+#	mkdir -p $(TARGET)$(LOCAL_ROOT)
X+#	mkdir -p $(TARGET)$(LOCAL_ROOT)/doc
X 	rm -f $(TARGET)$(BINDIR)/polipo
X 	cp -f polipo $(TARGET)$(BINDIR)/
X-	cp -f html/* $(TARGET)$(LOCAL_ROOT)/doc
X-	cp -f localindex.html $(TARGET)$(LOCAL_ROOT)/index.html
X+#	cp -f html/* $(TARGET)$(LOCAL_ROOT)/doc
X+#	cp -f localindex.html $(TARGET)$(LOCAL_ROOT)/index.html
X 
X@@ -83,6 +83,6 @@
X 	mkdir -p $(TARGET)$(MANDIR)/man1
X-	mkdir -p $(TARGET)$(INFODIR)
X+#	mkdir -p $(TARGET)$(INFODIR)
X 	cp -f polipo.man $(TARGET)$(MANDIR)/man1/polipo.1
X-	cp polipo.info $(TARGET)$(INFODIR)/
X-	install-info --info-dir=$(INFODIR) polipo.info
X+#	cp polipo.info $(TARGET)$(INFODIR)/
X+#	install-info --info-dir=$(INFODIR) polipo.info
X 
END-of-./patches/patch-aa
echo x - ./PLIST
sed 's/^X//' >./PLIST << 'END-of-./PLIST'
X@comment $NetBSD$
Xbin/polipo
Xman/man1/polipo.1
END-of-./PLIST
exit