blob: cf5996557414ad30356d2231006360993c3189fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# 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="${STAGEDIR}${LOCALBASE}" \
LISPDIR="${STAGEDIR}${APEL_LISPDIR}" \
VERSION_SPECIFIC_LISPDIR="${STAGEDIR}${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} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC} ; \
for i in ChangeLog README.* ; do \
${INSTALL_DATA} $${i} ${STAGEDIR}${DOCSDIR} ; \
done)
.endif
.include <bsd.port.post.mk>
|