View | Details | Raw Unified | Return to bug 141728
Collapse All | Expand All

(-)Makefile (-7 / +8 lines)
Lines 9-17 Link Here
9
PORTVERSION=	4.3.10
9
PORTVERSION=	4.3.10
10
PORTREVISION=	2
10
PORTREVISION=	2
11
CATEGORIES=	shells
11
CATEGORIES=	shells
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION}:src \
13
		SF/${PORTNAME}/${PORTNAME}-doc-dev/${PORTVERSION}:doc
13
.if !defined(NOPORTDOCS)
14
.if !defined(NOPORTDOCS)
14
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-doc${EXTRACT_SUFX}
15
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:src ${DISTNAME}-doc${EXTRACT_SUFX}:doc
15
.endif
16
.endif
16
17
17
MAINTAINER=	des@FreeBSD.org
18
MAINTAINER=	des@FreeBSD.org
Lines 33-40 Link Here
33
		--enable-function-subdirs
34
		--enable-function-subdirs
34
35
35
EXTRA_PATCHES=	${FILESDIR}/extra-patch-bsdtar
36
EXTRA_PATCHES=	${FILESDIR}/extra-patch-bsdtar
36
EXTRA_COMPLETION_FILES= _fstat _procstat _sockstat
37
EXTRA_COMPLETION_FILES=	_fstat _procstat _sockstat
37
EXTRA_COMPLETION_DIR= Completion/BSD/Command
38
EXTRA_COMPLETION_DIR=	Completion/BSD/Command
38
39
39
OPTIONS=	ZSH_GDBM	"Enable GDBM support (GPL)" off \
40
OPTIONS=	ZSH_GDBM	"Enable GDBM support (GPL)" off \
40
		ZSH_MEM		"Enable zsh-mem and zsh-secure-free options" on \
41
		ZSH_MEM		"Enable zsh-mem and zsh-secure-free options" on \
Lines 103-115 Link Here
103
	@${SED} -i "" -e "s,/etc/,${LOCALBASE}/etc/," \
104
	@${SED} -i "" -e "s,/etc/,${LOCALBASE}/etc/," \
104
		${WRKSRC}/Functions/MIME/zsh-mime-setup
105
		${WRKSRC}/Functions/MIME/zsh-mime-setup
105
.ifdef EXTRA_COMPLETION_FILES
106
.ifdef EXTRA_COMPLETION_FILES
106
	@echo "===>  Installing extra completion files"
107
	@${ECHO} "===>  Installing extra completion files"
107
.for COMPFILE in ${EXTRA_COMPLETION_FILES}
108
.for COMPFILE in ${EXTRA_COMPLETION_FILES}
108
	@(if [ -f ${WRKSRC}/${EXTRA_COMPLETION_DIR}/${COMPFILE} ] ; then \
109
	@(if [ -f ${WRKSRC}/${EXTRA_COMPLETION_DIR}/${COMPFILE} ] ; then \
109
		echo "${EXTRA_COMPLETION_DIR}/${COMPFILE} already exists" ; \
110
		${ECHO} "${EXTRA_COMPLETION_DIR}/${COMPFILE} already exists" ; \
110
		exit 1 ; \
111
		exit 1 ; \
111
	else \
112
	else \
112
		echo ${EXTRA_COMPLETION_DIR}/${COMPFILE} ; \
113
		${ECHO} ${EXTRA_COMPLETION_DIR}/${COMPFILE} ; \
113
		${CP} ${FILESDIR}/${COMPFILE} \
114
		${CP} ${FILESDIR}/${COMPFILE} \
114
			${WRKSRC}/${EXTRA_COMPLETION_DIR}/${COMPFILE} ; \
115
			${WRKSRC}/${EXTRA_COMPLETION_DIR}/${COMPFILE} ; \
115
	fi)
116
	fi)

Return to bug 141728