1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/css-mode.el/Makefile
Mathieu Arnold f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +00:00

45 lines
1.2 KiB
Makefile

# Created by: 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= 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}
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${ELISP_SUBDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/${ELISP_SUBDIR}
# For XEmacs
@${MKDIR} ${STAGEDIR}${PREFIX}/${XELISP_SUBDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/${XELISP_SUBDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${_DISTDIR}/doco.html ${STAGEDIR}${DOCSDIR}/css-mode-doc.html
.include <bsd.port.mk>