blob: 139ebc014fee0bf9b189cbde67e6f7d9a7bb99ab (
plain)
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
|
PORTNAME= closql
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.1-28
DISTVERSIONSUFFIX= -g909752e
CATEGORIES= databases elisp
PKGNAMESUFFIX= -devel${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= Store EIEIO objects using EmacSQL
WWW= https://github.com/magit/closql
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.2:misc/compat.el@${EMACS_FLAVOR} \
emacsql-devel${EMACS_PKGNAMESUFFIX}>=3.1.1:databases/emacsql-devel@${EMACS_FLAVOR}
RUN_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.2:misc/compat.el@${EMACS_FLAVOR} \
emacsql-devel${EMACS_PKGNAMESUFFIX}>=3.1.1:databases/emacsql-devel@${EMACS_FLAVOR}
USES= emacs gmake
USE_GITHUB= yes
GH_ACCOUNT= magit
MAKE_ENV+= LOAD_PATH="${LOAD_PATH}"
CONFLICTS_INSTALL= closql closql-emacs_* # share/doc/closql/README.md
NO_ARCH= yes
PORTDOCS= README.org
OPTIONS_DEFINE= DOCS
LOAD_PATH= -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat -L \
${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/emacsql
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} *.el* \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR})
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|