mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
089a429b20
PR: 192197 Submitted by: tkato432@yahoo.com Approved by: mentors (implicit)
41 lines
930 B
Makefile
41 lines
930 B
Makefile
# Created by: Dryice Liu <dryice@dryice.name>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= emms
|
|
PORTVERSION= 4.0
|
|
CATEGORIES= audio elisp
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= The Emacs Multi-Media System
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= gmake makeinfo
|
|
USE_EMACS= yes
|
|
MAKE_ENV= SITELISP="${PREFIX}/${EMACS_SITE_LISPDIR}/emms" \
|
|
INSTALLINFO="${TRUE}"
|
|
|
|
INFO= emms
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${EMACS_PORT_NAME} != "emacs23"
|
|
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^\(DESTDIR\)=|\1?=| ; \
|
|
s|^\(PREFIX\)=$$(DESTDIR)|\1?=| ; \
|
|
s|^\(INFODIR\)=|\1?=| ; \
|
|
s|^\(MAN1DIR\)=$$(PREFIX)/share|\1?=$$(PREFIX)| ; \
|
|
s|^\(SITELISP\)=|\1?=| ; \
|
|
s|^\(INSTALLINFO\) =|INSTALLINFO ?=| ; \
|
|
s| \($$(SITELISP)\)| $$(DESTDIR)\1|g ; \
|
|
s| \($$(INFODIR)\)| $$(DESTDIR)\1|g ; \
|
|
s|\($$(INFODIR)\)/emms|\1| ; \
|
|
s| \($$(MAN1DIR)\)| $$(DESTDIR)\1|g' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.post.mk>
|