aboutsummaryrefslogtreecommitdiffstats
path: root/www/css-mode.el
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-06-28 02:59:01 +0800
committeritetcu <itetcu@FreeBSD.org>2008-06-28 02:59:01 +0800
commit9f0dc6ee14d0e50de2515493e07749941c4e16c5 (patch)
treeeee9de3014573df6d90685f10bf60efaa780dfe6 /www/css-mode.el
parentc875977405672e78269ccb3a76b46c9f992269dd (diff)
downloadfreebsd-ports-gnome-9f0dc6ee14d0e50de2515493e07749941c4e16c5.tar.gz
freebsd-ports-gnome-9f0dc6ee14d0e50de2515493e07749941c4e16c5.tar.zst
freebsd-ports-gnome-9f0dc6ee14d0e50de2515493e07749941c4e16c5.zip
- use PORTDOCS, DOCSDIR macros
- fix plist for -DNOPORTDOCS - bump PORTREVISION Submitted by: QA Tindy run
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