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

(-)Makefile (-4 / +5 lines)
Lines 38-49 Link Here
38
38
39
post-install:
39
post-install:
40
.for FILE in mfsmaster mfsexports mfsmetalogger mfstopology
40
.for FILE in mfsmaster mfsexports mfsmetalogger mfstopology
41
	@if [ ! -f ${PREFIX}/etc/${FILE}.cfg ]; then \
41
	@if [ ! -f ${PREFIX}/etc/mfs/${FILE}.cfg ]; then \
42
		${CP} ${PREFIX}/etc/mfs/${FILE}.cfg.dist ${PREFIX}/etc/${FILE}.cfg ; \
42
		${CP} ${PREFIX}/etc/mfs/${FILE}.cfg.dist ${PREFIX}/etc/mfs/${FILE}.cfg ; \
43
	fi
43
	fi
44
.endfor
44
.endfor
45
45
	@if [ ! -f ${MFS_WORDIR}/mfs/metadata.mfs ]; then \
46
		${CP} ${MFS_WORKDIR}/mfs/metadata.mfs.empty ${MFS_WORKDIR}/mfs/metadata.mfs ; \
47
	fi
46
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
48
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
47
	@${CAT} ${PKGMESSAGE}
49
	@${CAT} ${PKGMESSAGE}
48
49
.include <bsd.port.post.mk>
50
.include <bsd.port.post.mk>

Return to bug 186404