mirror of
https://git.freebsd.org/ports.git
synced 2025-05-27 16:36:28 -04:00
- liberally sprinkle extern all over the place - define LICENSE - take over maintainership of this unmaintained port - ship examples and html files - define DOCS and EXAMPLES options - pacify portlint and portclippy - add a pkg-message as the author intended - remove dead MASTER_SITES entry PR: 259586 Approved by: flo (mentor) Differential Revision: https://reviews.freebsd.org/D38516
30 lines
989 B
Text
30 lines
989 B
Text
--- Makefile.orig 2003-06-10 20:26:51 UTC
|
|
+++ Makefile
|
|
@@ -5,13 +5,13 @@
|
|
|
|
# -m386 (486,pentium,pentiumpro)
|
|
#OPTIMIZE=-O7 -mpentiumpro
|
|
-OPTIMIZE=-O3
|
|
+#OPTIMIZE=-O3
|
|
|
|
# debug symbols will be stripped anyway during 'make install'
|
|
DEBUG=-g
|
|
|
|
#### DON'T CHANGE ANYTHING BELOW ####
|
|
-DESTDIR=/usr/local
|
|
+DESTDIR?=/usr/local
|
|
CFLAGS=-Wall $(OPTIMIZE) $(DEBUG)
|
|
LIBS=-lm
|
|
CC=gcc
|
|
@@ -37,9 +37,8 @@ mls_text.o: mls_text.c mls_text.h mls_lang.h Makefile
|
|
$(CC) $(CFLAGS) -c mls_text.c -o mls_text.o
|
|
|
|
install: mls
|
|
- install -m 755 -g root -o root -s mls $(DESTDIR)/bin
|
|
- install -m 644 -g root -o root mls.1 $(DESTDIR)/man/man1
|
|
- gzip -9f $(DESTDIR)/man/man1/mls.1
|
|
+ $(BSD_INSTALL_PROGRAM) mls $(DESTDIR)$(PREFIX)/bin
|
|
+ $(BSD_INSTALL_MAN) mls.1 $(DESTDIR)$(PREFIX)/man/man1
|
|
@echo "**************************************************************"
|
|
@echo "*** To use HTML feature or PHP wrapper, copy contents of ***"
|
|
@echo "*** 'html' subdirectory to location accessible by your ***"
|