[Midnightbsd-cvs] mports: Makefile: switch to localbase for /etc files.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Nov 10 15:54:05 EST 2008
Log Message:
-----------
switch to localbase for /etc files. remove stupid tests we don't need. Minimize output that is unnecessary. Why scare users?
Modified Files:
--------------
mports/shells/zsh:
Makefile (r1.10 -> r1.11)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/shells/zsh/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -L shells/zsh/Makefile -L shells/zsh/Makefile -u -r1.10 -r1.11
--- shells/zsh/Makefile
+++ shells/zsh/Makefile
@@ -1,8 +1,4 @@
-# New ports collection makefile for: zsh
-#
# $MidnightBSD$
-# $FreeBSD: ports/shells/zsh/Makefile,v 1.81 2006/05/02 09:03:06 sergei Exp $
-#
# The following compile-time options are available:
# ZSH_ETCDIR=<dir> directory for zsh system-wide configuration files:
@@ -51,7 +47,7 @@
ZSH_STATIC "Enable static zsh" off
# These variables can be overriden by user
-ZSH_ETCDIR?= /etc
+ZSH_ETCDIR?= ${LOCALBASE}/etc
ZSH_FNDIR?= ${DATADIR}/${ZSH_VER}/functions
ZSH_SITEFNDIR?= ${DATADIR}/site-functions
@@ -125,8 +121,8 @@
post-install:
${LN} ${PREFIX}/bin/zsh ${PREFIX}/bin/rzsh
- ${TEST} -d ${ZSH_ETCDIR} || ${MKDIR} ${ZSH_ETCDIR}
- ${TEST} -d ${ZSH_SITEFNDIR} || ${MKDIR} ${ZSH_SITEFNDIR}
+ @${MKDIR} ${ZSH_ETCDIR}
+ @${MKDIR} ${ZSH_SITEFNDIR}
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/StartupFiles && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
More information about the Midnightbsd-cvs
mailing list