diff options
author | grembo <grembo@FreeBSD.org> | 2014-05-26 20:28:45 +0800 |
---|---|---|
committer | grembo <grembo@FreeBSD.org> | 2014-05-26 20:28:45 +0800 |
commit | 264c8a1b0bb62f5d3106f565de28494afdf53ed5 (patch) | |
tree | 4d26f0a14b2d1e126f66a9612a3c2ecbb3671554 /audio/emms | |
parent | 4f3cc5b574db60e7d5ac81de20ff2b8c75be9b94 (diff) | |
download | freebsd-ports-gnome-264c8a1b0bb62f5d3106f565de28494afdf53ed5.tar.gz freebsd-ports-gnome-264c8a1b0bb62f5d3106f565de28494afdf53ed5.tar.zst freebsd-ports-gnome-264c8a1b0bb62f5d3106f565de28494afdf53ed5.zip |
Stageify port.
Please note that this is the bare minimum to make it work,
the port could use more love, e.g. remove unnecessary info
and man page processing, change patch to Makefile to not allow
overriding of DESTDIR etc., since all of these things won't
do what the user expects.
Reviewed by: bapt (mentor)
Approved by: bapt (mentor)
Diffstat (limited to 'audio/emms')
-rw-r--r-- | audio/emms/Makefile | 4 | ||||
-rw-r--r-- | audio/emms/files/patch-Makefile | 8 | ||||
-rw-r--r-- | audio/emms/pkg-plist | 1 |
3 files changed, 6 insertions, 7 deletions
diff --git a/audio/emms/Makefile b/audio/emms/Makefile index c8757ca73244..e865f7b34b25 100644 --- a/audio/emms/Makefile +++ b/audio/emms/Makefile @@ -13,12 +13,10 @@ COMMENT= The Emacs Multi-Media System LICENSE= GPLv3 USES= gmake -NO_STAGE= yes USE_EMACS= yes -MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} \ +MAKE_ENV+= EMMSPREFIX=${STAGEDIR}${PREFIX} LOCALBASE=${LOCALBASE} \ EMACS_SITE_LISPDIR=${EMACS_SITE_LISPDIR} INFO= emms -MAN1= emms-print-metadata.1 .include <bsd.port.pre.mk> diff --git a/audio/emms/files/patch-Makefile b/audio/emms/files/patch-Makefile index c3dd847a83da..20d0f5df0ab0 100644 --- a/audio/emms/files/patch-Makefile +++ b/audio/emms/files/patch-Makefile @@ -16,10 +16,10 @@ -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 ++EMMSPREFIX?=$(DESTDIR)/usr/local ++INFODIR?=$(EMMSPREFIX)/info ++MAN1DIR?=$(EMMSPREFIX)/man/man1 ++SITELISP?=$(EMMSPREFIX)/$(EMACS_SITE_LISPDIR)/emms -INSTALLINFO = /usr/sbin/install-info --info-dir=$(INFODIR) +INSTALLINFO?= /usr/bin/install-info --info-dir=$(INFODIR) diff --git a/audio/emms/pkg-plist b/audio/emms/pkg-plist index 0a53bcc09d7b..04dd73cd5162 100644 --- a/audio/emms/pkg-plist +++ b/audio/emms/pkg-plist @@ -1,3 +1,4 @@ +man/man1/emms-print-metadata.1.gz %%EMACS_SITE_LISPDIR%%/emms/emms-auto.el %%EMACS_SITE_LISPDIR%%/emms/emms-bookmarks.el %%EMACS_SITE_LISPDIR%%/emms/emms-bookmarks.elc |