mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
7fc5bd70f3
editors/emacs: - Update to 24.3 - Update CANNA patchset[1] - Unbreak ARM support by using the patch from emacs-devel port - Add missing INSTALLS_ICONS[2] - Remove a patch which is already integrated upstream - Fix Makefile header editors/emacs-devel: - Update to bzr revision 112178 - Fix Makefile header - Add missing INSTALLS_ICONS[2] editors/emacs23: - Remove ABI versions from LIB_DEPENDS - Fix Makefile header - Add missing INSTALLS_ICONS[2] Mk/bsd.emacs.mk: - Update major version for editors/emacs port *: - Bump PORTREVISION to chase Emacs updates PR: ports/177428[2] Submitted by: Yuji TAKANO[1] (via private email), bdrewery[2]
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# Created by: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= apel
|
|
PORTVERSION= ${APEL_VER}
|
|
PORTREVISION= 9
|
|
CATEGORIES= editors elisp
|
|
MASTER_SITES= http://git.chise.org/elisp/dist/apel/
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
MAINTAINER?= nobutaka@FreeBSD.org
|
|
COMMENT?= A Portable Emacs Library for emacs
|
|
|
|
LICENSE= GPLv2
|
|
|
|
# distfile version
|
|
APEL_VER= 10.8
|
|
# apel lispdir
|
|
APEL_LISPDIR?= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
|
|
APEL_VERSION_SPECIFIC_LISPDIR?= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
|
|
|
|
# emacs port setup
|
|
USE_EMACS= yes
|
|
|
|
DESCR= ${PKGDIR}/pkg-descr
|
|
|
|
# target name for make build
|
|
ALL_TARGET?= elc
|
|
# environments
|
|
MAKE_ARGS+= PREFIX="${LOCALBASE}" \
|
|
LISPDIR="${APEL_LISPDIR}" \
|
|
VERSION_SPECIFIC_LISPDIR="${APEL_VERSION_SPECIFIC_LISPDIR}"
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTINOS_DEFAULT= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${EMACS_VER:C/\..*//} >= 23
|
|
PLIST_SUB+= EMACS23="" NOEMACS23="@comment "
|
|
.else
|
|
PLIST_SUB+= EMACS23="@comment " NOEMACS23=""
|
|
.endif
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
@(cd ${WRKSRC} ; \
|
|
for i in ChangeLog README.* ; do \
|
|
${INSTALL_DATA} $${i} ${DOCSDIR} ; \
|
|
done)
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|