1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/editors/ne/files/patch-makefile
Wen Heping 02b043b14a - Add pkg-plist which forgot in previous commit
- Replace LDFLAGS= with LDFLAGS+=

Spotted by:	tobik@
2018-10-25 00:30:59 +00:00

25 lines
1.2 KiB
Plaintext

--- makefile.orig 2018-10-24 23:53:08 UTC
+++ makefile
@@ -54,17 +54,17 @@ install:
mkdir -p $(DESTDIR)$(PREFIX)/bin
mkdir -p $(DESTDIR)$(PREFIX)/share/ne/syntax
mkdir -p $(DESTDIR)$(PREFIX)/share/ne/macros
- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+# mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
mkdir -p $(DESTDIR)$(PREFIX)/share/doc/ne
- mkdir -p $(DESTDIR)$(PREFIX)/share/info
+# mkdir -p $(DESTDIR)$(PREFIX)/share/info
cp -pf src/ne$(CMDSUFFIX) $(DESTDIR)$(PREFIX)/bin
cp -p extensions $(DESTDIR)$(PREFIX)/share/ne
cp -p syntax/*.jsf $(DESTDIR)$(PREFIX)/share/ne/syntax
cp -p macros/* $(DESTDIR)$(PREFIX)/share/ne/macros
- cp -p doc/ne.1 $(DESTDIR)$(PREFIX)/share/man/man1
+# cp -p doc/ne.1 $(DESTDIR)$(PREFIX)/share/man/man1
cp -pR doc/html doc/ne.txt doc/default.* README.md COPYING NEWS CHANGES $(DESTDIR)$(PREFIX)/share/doc/ne
if [ -f doc/ne.pdf ]; then cp -p doc/ne.pdf $(DESTDIR)$(PREFIX)/share/doc/ne ; fi
- cp -p doc/ne.info.gz $(DESTDIR)$(PREFIX)/share/info
+# cp -p doc/ne.info.gz $(DESTDIR)$(PREFIX)/share/info
-install-info --dir-file=$(DESTDIR)$(PREFIX)/share/info/dir $(DESTDIR)$(PREFIX)/share/info/ne.info.gz
# Creates cygwin package on Windows