aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cl-asdf/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-09-20 01:33:46 +0800
committermiwi <miwi@FreeBSD.org>2009-09-20 01:33:46 +0800
commit00cf7600ee2799c36aa525ee528d3019fdf24f7c (patch)
tree9b06fb7f237738849c70910d9f9e2938143904b1 /devel/cl-asdf/Makefile
parent934f9b5f2d5176e2e677b6f81a96d070fd061b26 (diff)
downloadfreebsd-ports-gnome-00cf7600ee2799c36aa525ee528d3019fdf24f7c.tar.gz
freebsd-ports-gnome-00cf7600ee2799c36aa525ee528d3019fdf24f7c.tar.zst
freebsd-ports-gnome-00cf7600ee2799c36aa525ee528d3019fdf24f7c.zip
- Respect PORTEXAMPLES
- pkg-message incorrectly refers to ${PREFIX} instead of %%PREFIX%% PR: 136772 Submitted by: Sahil Tandon <sahil@tandon.net> Feature safe: yes
Diffstat (limited to 'devel/cl-asdf/Makefile')
-rw-r--r--devel/cl-asdf/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/cl-asdf/Makefile b/devel/cl-asdf/Makefile
index 4298ef9b1ed6..c2a13b77a7b9 100644
--- a/devel/cl-asdf/Makefile
+++ b/devel/cl-asdf/Makefile
@@ -15,6 +15,7 @@ PKGNAMEPREFIX= cl-
MAINTAINER= ports@FreeBSD.org
COMMENT= A system definition facility for Common Lisp
+SUB_FILES+= pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes # Sources only, see cl-asdf-[cmucl|sbcl|clisp]
CL_LIBDIR= ${PREFIX}/lib/common-lisp
@@ -37,15 +38,17 @@ do-install:
${CP} ${PREFIX}/etc/asdf-init.lisp.default \
${PREFIX}/etc/asdf-init.lisp
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/cl-asdf/
- ${MKDIR} ${PREFIX}/share/examples/cl-asdf/
+ ${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCSDIR}/
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test/* ${EXAMPLESDIR}/
.endif
post-install:
- @${CAT} ${MASTERDIR}/pkg-message
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>