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

(-)Makefile (-7 / +7 lines)
Lines 29-46 Link Here
29
29
30
# XXX we also have to work around ``new'' uudecode behavior, thanks guys!
30
# XXX we also have to work around ``new'' uudecode behavior, thanks guys!
31
post-extract:
31
post-extract:
32
	cp ${FILESDIR}/Makefile ${WRKSRC}
32
	${CP} ${FILESDIR}/Makefile ${WRKSRC}
33
	if [ -f ${WRKSRC}/group.c ]; then \
33
	if [ -f ${WRKSRC}/group.c ]; then \
34
		mv ${WRKSRC}/group.c ${WRKSRC}/conserver/group.c ; \
34
		${MV} ${WRKSRC}/group.c ${WRKSRC}/conserver/group.c ; \
35
	fi
35
	fi
36
36
37
post-install:
37
post-install:
38
	@if [ ! -f ${PREFIX}/etc/rc.d/conserver.sh ]; then \
38
	@if [ ! -f ${PREFIX}/etc/rc.d/conserver.sh ]; then \
39
		echo "Installing ${PREFIX}/etc/rc.d/conserver.sh startup file."; \
39
		${ECHO} "Installing ${PREFIX}/etc/rc.d/conserver.sh startup file."; \
40
		echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/conserver.sh; \
40
		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/conserver.sh; \
41
		echo "if [ -x ${PREFIX}/sbin/conserver -a -f ${PREFiX}/etc/conserver.cf ]; then" >> ${PREFIX}/etc/rc.d/conserver.sh; \
41
		${ECHO} "if [ -x ${PREFIX}/sbin/conserver -a -f ${PREFiX}/etc/conserver.cf ]; then" >> ${PREFIX}/etc/rc.d/conserver.sh; \
42
		echo "	${PREFIX}/sbin/conserver -d -n ; echo -n ' conserver'" >> ${PREFIX}/etc/rc.d/conserver.sh; \
42
		${ECHO} "	${PREFIX}/sbin/conserver -d -n ; echo -n ' conserver'" >> ${PREFIX}/etc/rc.d/conserver.sh; \
43
		echo "fi" >> ${PREFIX}/etc/rc.d/conserver.sh; \
43
		${ECHO} "fi" >> ${PREFIX}/etc/rc.d/conserver.sh; \
44
		chmod 751 ${PREFIX}/etc/rc.d/conserver.sh; \
44
		chmod 751 ${PREFIX}/etc/rc.d/conserver.sh; \
45
	fi
45
	fi

Return to bug 13181