blob: 032daac97922be187e9675541d62f9ddb458a009 (
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
47
48
|
PORTNAME= closql
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.1
PORTREVISION= 6
CATEGORIES= databases elisp
PKGNAMESUFFIX= ${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= emacsql${EMACS_PKGNAMESUFFIX}>=3.0.0:databases/emacsql@${EMACS_FLAVOR}
RUN_DEPENDS= emacsql${EMACS_PKGNAMESUFFIX}>=3.0.0:databases/emacsql@${EMACS_FLAVOR}
USES= emacs
USE_GITHUB= yes
GH_ACCOUNT= magit
CONFLICTS_INSTALL= closql closql-devel* closql-emacs_*
NO_ARCH= yes
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/closql.el \
${EMACS_VERSION_SITE_LISPDIR}/closql.elc
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
do-build:
(cd ${WRKSRC} \
&& ${EMACS_CMD} -Q -batch -L . \
-L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/emacsql \
-f batch-byte-compile closql.el)
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} closql.el* \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR})
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|