Lines 2-49
Link Here
|
2 |
# $FreeBSD: head/lang/haskell-mode.el/Makefile 362717 2014-07-23 17:30:45Z bapt $ |
2 |
# $FreeBSD: head/lang/haskell-mode.el/Makefile 362717 2014-07-23 17:30:45Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= haskell-mode |
4 |
PORTNAME= haskell-mode |
5 |
PORTVERSION= 2.9.1 |
5 |
PORTVERSION= 13.14.2 |
6 |
CATEGORIES= lang elisp |
6 |
CATEGORIES= lang elisp |
7 |
|
7 |
|
8 |
MAINTAINER= ports@FreeBSD.org |
8 |
MAINTAINER= aehlig@linta.de |
9 |
COMMENT= Emacs lisp mode for editing haskell programs |
9 |
COMMENT= Emacs lisp mode for editing haskell programs |
10 |
|
10 |
|
11 |
LICENSE= GPLv3 |
11 |
LICENSE= GPLv3 |
12 |
|
12 |
|
|
|
13 |
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs |
14 |
|
13 |
OPTIONS_DEFINE= DOCS |
15 |
OPTIONS_DEFINE= DOCS |
14 |
|
16 |
|
15 |
GH_ACCOUNT= haskell |
17 |
GH_ACCOUNT= haskell |
16 |
GH_COMMIT= 166ec39 |
18 |
GH_TAGNAME= v${PORTVERSION} |
17 |
GH_TAGNAME= ${PORTVERSION:S/./_/g} |
19 |
PORTDOCS= NEWS README.md |
18 |
NO_BUILD= yes |
|
|
19 |
PORTDOCS= NEWS fontlock.hs indent.hs README.md |
20 |
USE_GITHUB= yes |
20 |
USE_GITHUB= yes |
|
|
21 |
USES= gmake |
22 |
ALL_TARGET= haskell-mode-autoloads.el |
21 |
|
23 |
|
22 |
ELISPDIR= ${PREFIX}/${PLIST_DIRS} |
24 |
ELISPDIR= ${PREFIX}/${PLIST_DIRS} |
23 |
ELISPFILES= ghc-core.el haskell-align-imports.el haskell-c.el \ |
25 |
ELISPFILES= ghc-core.el ghci-script-mode.el haskell-align-imports.el \ |
24 |
haskell-cabal.el haskell-checkers.el haskell-decl-scan.el \ |
26 |
haskell-bot.el haskell-cabal.el haskell-checkers.el \ |
25 |
haskell-doc.el haskell-font-lock.el haskell-ghci.el \ |
27 |
haskell-collapse.el haskell-commands.el haskell-compat.el \ |
26 |
haskell-hugs.el haskell-indent.el haskell-indentation.el \ |
28 |
haskell-compile.el haskell-compile.el \ |
27 |
haskell-interactive-mode.el haskell-mode.el \ |
29 |
haskell-complete-module.el haskell-customize.el \ |
28 |
haskell-move-nested.el haskell-navigate-imports.el \ |
30 |
haskell-debug.el haskell-decl-scan.el \ |
29 |
haskell-package.el haskell-process.el haskell-session.el \ |
31 |
haskell-doc.el haskell-font-lock.el \ |
30 |
haskell-show.el haskell-simple-indent.el haskell-site-file.el \ |
32 |
haskell-indent.el haskell-indentation.el \ |
31 |
haskell-sort-imports.el haskell-string.el inf-haskell.el |
33 |
haskell-interactive-mode.el haskell-load.el \ |
|
|
34 |
haskell-menu.el haskell-mode-pkg.el haskell-mode.el \ |
35 |
haskell-mode-autoloads.el haskell-modules.el \ |
36 |
haskell-move-nested.el haskell-navigate-imports.el \ |
37 |
haskell-package.el haskell-presentation-mode.el \ |
38 |
haskell-process.el haskell-repl.el haskell-sandbox.el \ |
39 |
haskell-session.el haskell-simple-indent.el \ |
40 |
haskell-sort-imports.el haskell-string.el \ |
41 |
haskell-unicode-input-method.el haskell-utils.el \ |
42 |
haskell.el highlight-uses-mode.el inf-haskell.el \ |
43 |
w3m-haddock.el |
32 |
|
44 |
|
33 |
PLIST_DIRS= share/emacs/site-lisp/${PORTNAME}/ |
45 |
PLIST_DIRS= share/emacs/site-lisp/${PORTNAME}/ |
34 |
PLIST_FILES= ${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g} |
46 |
PLIST_FILES= ${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g} |
35 |
SUB_FILES= pkg-message |
47 |
SUB_FILES= pkg-message |
36 |
|
48 |
|
37 |
NO_STAGE= yes |
|
|
38 |
.include <bsd.port.options.mk> |
49 |
.include <bsd.port.options.mk> |
39 |
do-install: |
50 |
do-install: |
40 |
@${MKDIR} ${ELISPDIR} |
51 |
@${MKDIR} ${STAGEDIR}${ELISPDIR} |
41 |
@${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${ELISPDIR}/ |
52 |
${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${ELISPDIR}/ |
42 |
|
53 |
|
43 |
post-install: |
54 |
post-install: |
44 |
.if ${PORT_OPTIONS:MDOCS} |
55 |
.if ${PORT_OPTIONS:MDOCS} |
45 |
@${MKDIR} ${DOCSDIR} |
56 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
46 |
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ |
57 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ |
47 |
.endif |
58 |
.endif |
48 |
@${CAT} ${PKGMESSAGE} |
59 |
@${CAT} ${PKGMESSAGE} |
49 |
|
60 |
|