blob: 70d8f95465bab09a5fc496228d8277c939cdab13 (
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
49
50
51
52
53
54
55
56
57
58
|
PORTNAME= semi
PORTVERSION= ${SEMI_VER}.${SNAPDATE}
PORTREVISION= 2
CATEGORIES= editors elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= SEMI, Library of MIME feature for GNU Emacs for emacs
WWW= https://github.com/wanderlust/semi
LICENSE= GPLv2
BUILD_DEPENDS= flim${EMACS_PKGNAMESUFFIX}>0:editors/flim@${EMACS_FLAVOR}
RUN_DEPENDS= flim${EMACS_PKGNAMESUFFIX}>0:editors/flim@${EMACS_FLAVOR}
USES= emacs iconv makeinfo
USE_GITHUB= yes
GH_ACCOUNT= wanderlust
GH_TAGNAME= 7d8df0e
SNAPDATE= 20230104
NO_ARCH= yes
FLIM_TRUNK= 1.14
SEMI_VER= ${SEMI_TRUNK}.7
SEMI_TRUNK= 1.14
ALL_TARGET= elc
MAKE_ARGS+= PREFIX="${STAGEDIR}${PREFIX}" \
LISPDIR="${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}" \
VERSION_SPECIFIC_LISPDIR="${STAGEDIR}${EMACS_VERSION_SITE_LISPDIR}" \
PACKAGE_LISPDIR=NONE
INFO= mime-ui-en mime-ui-ja
OPTIONS_DEFINE= DOCS
post-build:
@(cd ${WRKSRC} ; \
for i in mime-ui-en.texi mime-ui-ja.texi; do \
${MAKEINFO} --no-split --no-validate $${i} ; \
done)
post-install:
@(cd ${WRKSRC} ; \
for i in mime-ui-en.info mime-ui-ja.info; do \
${INSTALL_DATA} ${WRKSRC}/$${i} ${STAGEDIR}${PREFIX}/${INFO_PATH} ; \
done)
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC} ; \
for i in NEWS README.* TODO VERSION ; do \
${INSTALL_DATA} $${i} ${STAGEDIR}${DOCSDIR}/ ; \
done)
.include <bsd.port.mk>
|