blob: 61558d54e1a26974ff69bc410569da4607ee7675 (
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
|
PORTNAME= pg.el
DISTVERSIONPREFIX= v
DISTVERSION= 0.24
PORTREVISION= 1
CATEGORIES= databases elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= PostgreSQL Elisp interface
WWW= https://github.com/emarsden/pg-el
LICENSE= GPLv2+
USES= emacs
USE_GITHUB= yes
GH_ACCOUNT= emarsden
GH_PROJECT= pg-el
CONFLICTS_INSTALL= pg.el pg.el-emacs_* # share/doc/pg.el/README
NO_ARCH= yes
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/pg.el \
${EMACS_VERSION_SITE_LISPDIR}/pg.elc
PORTDOCS= CHANGELOG.md README.md
OPTIONS_DEFINE= DOCS
do-build:
(cd ${WRKSRC} \
&& ${EMACS_CMD} -Q -batch -L . -f batch-byte-compile *.el)
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} ${PORTDOCS:C/^/${WRKSRC}\//g} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|