blob: ca77f9d23af72ba094c7ca0ef01ca359efccd580 (
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
|
PORTNAME= emacs-sqlite3-api
DISTVERSIONPREFIX= v
DISTVERSION= 0.17
PORTREVISION= 2
CATEGORIES= databases elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= SQLite3 API for Emacs 25+
WWW= https://github.com/pekingduck/emacs-sqlite3-api
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsqlite3.so:databases/sqlite3
USES= emacs gmake
USE_GITHUB= yes
GH_ACCOUNT= pekingduck
MAKE_ENV+= LIB="-L${LOCALBASE}/lib -lsqlite3"
CFLAGS+= -I${LOCALBASE}/include
PORTDOCS= README.org
OPTIONS_DEFINE= DOCS
post-build:
(cd ${WRKSRC} \
&& ${EMACS_CMD} -Q -batch -f batch-byte-compile sqlite3.el)
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
${INSTALL_PROGRAM} ${WRKSRC}/sqlite3-api.so ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/sqlite3.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>
|