blob: 491388f40685101e2826daed771ddc1ea9548371 (
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
44
45
46
47
48
|
# New ports collection makefile for: css-mode.el
# Date created: 21 October 1999
# Whom: Shigeyuki Fukushima <shige@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= css-mode-elisp
PORTVERSION= 0.10
CATEGORIES= www elisp
MASTER_SITES= http://www.stud.ifi.uio.no/~lmariusg/download/
DISTNAME= css-mode.el
MAINTAINER= shige@FreeBSD.org
EXTRACT_SUFX= # empty
DISTFILES= ${DISTNAME} css-mode-doc.html
DIST_SUBDIR= css-mode
EXTRACT_ONLY= # empty
NO_WRKSUBDIR= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}
# install-directory for Emacs
ELISP_SUBDIR= share/emacs/site-lisp
# install-directory for XEmacs
XELISP_SUBDIR= lib/xemacs/site-lisp
# install-directory for document
CSSMODE_DOCDIR= share/doc/css-mode
PLIST_SUB= ELISP_SUBDIR=${ELISP_SUBDIR} XELISP_SUBDIR=${XELISP_SUBDIR} \
CSSMODE_DOCDIR=${CSSMODE_DOCDIR}
do-install:
${MKDIR} ${PREFIX}/${ELISP_SUBDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${PREFIX}/${ELISP_SUBDIR}/
# For XEmacs
${MKDIR} ${PREFIX}/${XELISP_SUBDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${PREFIX}/${XELISP_SUBDIR}/
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/${CSSMODE_DOCDIR}
@${INSTALL_DATA} ${_DISTDIR}/css-mode-doc.html ${PREFIX}/${CSSMODE_DOCDIR}/
.endif
.include <bsd.port.mk>
|