blob: 13c048c0fee17ea403835d584d6617301493a90e (
plain) (
blame)
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
|
PORTNAME= pg.el
DISTVERSION= 0.13
PORTREVISION= 3
CATEGORIES= databases elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= PostgreSQL Elisp interface
WWW= https://github.com/cbbrowne/pg.el
LICENSE= GPLv2+
USES= emacs
USE_GITHUB= yes
GH_ACCOUNT= cbbrowne
GH_TAGNAME= 4f6516e
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= README
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} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|