aboutsummaryrefslogtreecommitdiff
path: root/www/css-mode.el
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-27 18:59:01 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-27 18:59:01 +0000
commit4277c3a2dd7a166a8dc7f3764c7f34b31b797511 (patch)
tree87fa0fd2faa05c842f3162a466fcdc7219d689f5 /www/css-mode.el
parentf70fdf426ace49793cfcb9464f1ce21c018b5074 (diff)
downloadports-4277c3a2dd7a166a8dc7f3764c7f34b31b797511.tar.gz
ports-4277c3a2dd7a166a8dc7f3764c7f34b31b797511.zip
Notes
Diffstat (limited to 'www/css-mode.el')
-rw-r--r--www/css-mode.el/Makefile14
-rw-r--r--www/css-mode.el/pkg-plist4
2 files changed, 9 insertions, 9 deletions
diff --git a/www/css-mode.el/Makefile b/www/css-mode.el/Makefile
index 933f82b42d30..b4481c2c11c9 100644
--- a/www/css-mode.el/Makefile
+++ b/www/css-mode.el/Makefile
@@ -7,6 +7,7 @@
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
@@ -27,22 +28,21 @@ 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
+DOCSDIR= ${PREFIX}/share/doc/css-mode
-PLIST_SUB= ELISP_SUBDIR=${ELISP_SUBDIR} XELISP_SUBDIR=${XELISP_SUBDIR} \
- CSSMODE_DOCDIR=${CSSMODE_DOCDIR}
+PLIST_SUB= ELISP_SUBDIR=${ELISP_SUBDIR} XELISP_SUBDIR=${XELISP_SUBDIR}
do-install:
- ${MKDIR} ${PREFIX}/${ELISP_SUBDIR}
+ @${MKDIR} ${PREFIX}/${ELISP_SUBDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${PREFIX}/${ELISP_SUBDIR}/
# For XEmacs
- ${MKDIR} ${PREFIX}/${XELISP_SUBDIR}
+ @${MKDIR} ${PREFIX}/${XELISP_SUBDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${PREFIX}/${XELISP_SUBDIR}/
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/${CSSMODE_DOCDIR}
- @${INSTALL_DATA} ${_DISTDIR}/doco.html ${PREFIX}/${CSSMODE_DOCDIR}/css-mode-doc.html
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${_DISTDIR}/doco.html ${DOCSDIR}/css-mode-doc.html
.endif
.include <bsd.port.mk>
diff --git a/www/css-mode.el/pkg-plist b/www/css-mode.el/pkg-plist
index cf30cdfafdc3..c52e3295d414 100644
--- a/www/css-mode.el/pkg-plist
+++ b/www/css-mode.el/pkg-plist
@@ -1,6 +1,6 @@
%%ELISP_SUBDIR%%/css-mode.el
%%XELISP_SUBDIR%%/css-mode.el
-%%CSSMODE_DOCDIR%%/css-mode-doc.html
-@dirrm %%CSSMODE_DOCDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/css-mode-doc.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry lib/xemacs/site-lisp
@dirrmtry lib/xemacs