1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/net/whois/files/patch-aa
Martin Wilke 3675124cbf - Re-apply binary name change as proposed in PR ports/105417 and listed
on 2007-09-03 in UPDATING
- Pass maintainership to submitter
- Use PLIST_FILES

PR:		134860
Submitted by:	Lapo Luchini <lapo@lapo.it>
2009-05-30 20:59:04 +00:00

53 lines
1.5 KiB
Plaintext

--- Makefile.orgi 2008-12-24 19:32:32.000000000 +0100
+++ Makefile 2008-12-24 19:33:58.000000000 +0100
@@ -1,6 +1,9 @@
-prefix = /usr
+prefix = %%PREFIX%%
-CFLAGS = -g -O2
+LDFLAGS+=-L%%LOCALBASE%%/lib -lintl
+CFLAGS+=-I%%LOCALBASE%%/include
+
+CFLAGS += -g -O2
PERL = perl
INSTALL = install
@@ -21,7 +24,7 @@
endif
ifdef LOCALEDIR
-DEFS += -DLOCALEDIR=\"$(BASEDIR)$(prefix)/share/locale\"
+DEFS += -DLOCALEDIR=\"$(prefix)/share/locale\"
endif
ifdef HAVE_LIBIDN
@@ -68,19 +71,19 @@
$(PERL) -w make_tld_serv.pl < tld_serv_list > $@
##############################################################################
-install: install-whois install-mkpasswd #install-pos
+install: install-whois install-mkpasswd
install-whois: whois
- $(INSTALL) -d $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
- $(INSTALL) -m 0755 whois $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
+ $(INSTALL) -d $(prefix)/bin/
+ $(INSTALL) -d $(prefix)/man/man1/
+ $(INSTALL) -m 0755 whois $(prefix)/bin/mwhois
+ $(INSTALL) -m 0644 whois.1 $(prefix)/man/man1/mwhois.1
install-mkpasswd: mkpasswd
- $(INSTALL) -d $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
- $(INSTALL) -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/
+ $(INSTALL) -d $(prefix)/bin/
+ $(INSTALL) -d $(prefix)/man/man1/
+ $(INSTALL) -m 0755 mkpasswd $(prefix)/bin/
+ $(INSTALL) -m 0644 mkpasswd.1 $(prefix)/man/man1/
install-pos:
cd po && $(MAKE) install