mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
6cf79b5b40
Reported by: QATty
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
--- ./Makefile.orig 2007-06-29 19:16:24.000000000 +0300
|
|
+++ ./Makefile 2009-05-30 12:56:48.565749310 +0300
|
|
@@ -1,4 +1,4 @@
|
|
-EMACS=emacs
|
|
+EMACS=$(EMACS_NAME)-$(EMACS_VER)
|
|
SITEFLAG=--no-site-file
|
|
GZIP=gzip
|
|
ALLSOURCE=$(wildcard *.el)
|
|
@@ -8,13 +8,13 @@
|
|
TARGET=$(patsubst %.el,%.elc,$(SOURCE))
|
|
MAN1PAGES=emms-print-metadata.1
|
|
|
|
-DESTDIR=
|
|
-PREFIX=$(DESTDIR)/usr/local
|
|
-INFODIR=$(PREFIX)/info
|
|
-MAN1DIR=$(PREFIX)/share/man/man1
|
|
-SITELISP=$(PREFIX)/share/emacs/site-lisp/emms
|
|
+DESTDIR?=
|
|
+PREFIX?=$(DESTDIR)/usr/local
|
|
+INFODIR?=$(PREFIX)/info
|
|
+MAN1DIR?=$(PREFIX)/man/man1
|
|
+SITELISP?=$(PREFIX)/$(EMACS_SITE_LISPDIR)/emms
|
|
|
|
-INSTALLINFO = /usr/sbin/install-info --info-dir=$(INFODIR)
|
|
+INSTALLINFO?= /usr/bin/install-info --info-dir=$(INFODIR)
|
|
|
|
.PHONY: all install deb-install clean
|
|
.PRECIOUS: %.elc %.info %.html
|
|
@@ -48,7 +48,7 @@
|
|
[ -d $(INFODIR) ] || install -d $(INFODIR)
|
|
install -m 644 $(ALLSOURCE) $(SITELISP)
|
|
install -m 644 $(ALLCOMPILED) $(SITELISP)
|
|
- install -m 0644 emms.info $(INFODIR)/emms
|
|
+ install -m 0644 emms.info $(INFODIR)
|
|
for p in $(MAN1PAGES) ; do $(GZIP) -9c $$p > $(MAN1DIR)/$$p.gz ; done
|
|
$(INSTALLINFO) emms.info
|
|
|