1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/www/snownews/files/extra-patch-Makefile
Cheng-Lung Sung ce9cca0a47 - port misses to install XML::LibXML perl module (when opml2snow installed)
- add OPTIONS for OPML

PR:		86882
Submitted by:	Parv <parv AT pair dot com>
2005-10-21 04:57:21 +00:00

40 lines
1.8 KiB
Plaintext

--- Makefile.orig Sun Jun 5 17:50:22 2005
+++ Makefile Fri Oct 21 11:50:27 2005
@@ -12,7 +12,7 @@
VERSION= `grep VERSION version.h | sed s/\"//g | sed s/\#define\ VERSION\ //`
DISTDIR= snownews-$(VERSION)
-DISTFILES = AUTHOR COPYING CREDITS Changelog README README.de README.patching INSTALL opml2snow snowsync \
+DISTFILES = AUTHOR COPYING CREDITS Changelog README README.de README.patching INSTALL snowsync \
Makefile platform_settings configure \
doc po scripts \
main.c interface.c netio.c xmlparse.c updatecheck.c os-support.c conversions.c dialog.c ui-support.c categories.c about.c cookies.c setup.c net-support.c digcalc.c md5.c filters.c io-internal.c zlib_interface.c support.c \
@@ -60,10 +60,6 @@
mkdir -p $(DESTDIR)$(PREFIX)/bin; \
fi
$(INSTALL) -s snownews $(DESTDIR)$(PREFIX)/bin
- $(INSTALL) opml2snow $(DESTDIR)$(PREFIX)/bin
- if [ ! -f "$(DESTDIR)$(PREFIX)/bin/snow2opml" ]; then \
- ln -sf $(DESTDIR)$(PREFIX)/bin/opml2snow $(DESTDIR)$(PREFIX)/bin/snow2opml; \
- fi;
$(INSTALL) snowsync $(DESTDIR)$(PREFIX)/bin
install-locales: locales
@@ -79,7 +75,6 @@
mkdir -p $(DESTDIR)$(PREFIX)/man/man1; \
fi
$(INSTALL) -m 0644 $(MAN)/snownews.1 $(DESTDIR)$(PREFIX)/man/man1
- $(INSTALL) -m 0644 $(MAN)/opml2snow.1 $(DESTDIR)$(PREFIX)/man/man1
for L in $(LANGS); do \
if [ ! -d "$(DESTDIR)$(PREFIX)/man/$$L/man1" ]; then \
@@ -127,7 +122,7 @@
mkdir $(DISTDIR)/man/it
mkdir $(DISTDIR)/man/ru_RU.KOI8-R
mkdir $(DISTDIR)/po
- cp AUTHOR COPYING CREDITS Changelog README README.de INSTALL.binary snownews opml2snow $(DISTDIR)
+ cp AUTHOR COPYING CREDITS Changelog README README.de INSTALL.binary snownews $(DISTDIR)
cp doc/man/de/snownews.1 $(DISTDIR)/man/de
cp doc/man/nl/snownews.1 $(DISTDIR)/man/nl
cp doc/man/fr/snownews.1 $(DISTDIR)/man/fr