Added
Link Here
|
1 |
PORTNAME= closql |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 1.0.4 |
4 |
CATEGORIES= databases elisp |
5 |
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} |
6 |
|
7 |
MAINTAINER= yasu@utahime.org |
8 |
COMMENT= Store EIEIO objects using EmacSQL |
9 |
|
10 |
LICENSE= GPLv3+ |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
13 |
BUILD_DEPENDS= emacsql${EMACS_PKGNAMESUFFIX}>=3.0.0:databases/emacsql@${EMACS_FLAVOR} |
14 |
RUN_DEPENDS= emacsql${EMACS_PKGNAMESUFFIX}>=3.0.0:databases/emacsql@${EMACS_FLAVOR} |
15 |
|
16 |
USES= emacs |
17 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= emacscollective |
19 |
|
20 |
NO_ARCH= yes |
21 |
|
22 |
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/closql.el \ |
23 |
${EMACS_VERSION_SITE_LISPDIR}/closql.elc |
24 |
|
25 |
PORTDOCS= README.md |
26 |
|
27 |
OPTIONS_DEFINE= DOCS |
28 |
|
29 |
do-build: |
30 |
(cd ${WRKSRC} \ |
31 |
&& ${EMACS_CMD} -Q -batch -L . \ |
32 |
-L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/emacsql \ |
33 |
-f batch-byte-compile closql.el) |
34 |
|
35 |
do-install: |
36 |
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} |
37 |
(cd ${WRKSRC} && ${INSTALL_DATA} closql.el* \ |
38 |
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}) |
39 |
|
40 |
do-install-DOCS-on: |
41 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
42 |
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} |
43 |
|
44 |
.include <bsd.port.mk> |