mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# 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.11
|
|
PORTREVISION= 1
|
|
CATEGORIES= www elisp
|
|
MASTER_SITES= http://www.garshol.priv.no/download/software/css-mode/
|
|
DISTNAME= css-mode.el
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A CSS(Cascade Style Sheet) editing mode for Emacsen
|
|
|
|
EXTRACT_SUFX= # empty
|
|
DISTFILES= ${DISTNAME} doco.html
|
|
DIST_SUBDIR= css-mode
|
|
|
|
EXTRACT_ONLY= # empty
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
|
|
# install-directory for Emacs
|
|
ELISP_SUBDIR= share/emacs/site-lisp
|
|
# install-directory for XEmacs
|
|
XELISP_SUBDIR= lib/xemacs/site-lisp
|
|
# install-directory for document
|
|
DOCSDIR= ${PREFIX}/share/doc/css-mode
|
|
|
|
PLIST_SUB= ELISP_SUBDIR=${ELISP_SUBDIR} XELISP_SUBDIR=${XELISP_SUBDIR}
|
|
|
|
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} ${DOCSDIR}
|
|
${INSTALL_DATA} ${_DISTDIR}/doco.html ${DOCSDIR}/css-mode-doc.html
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|