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

(-)Makefile (-4 / +4 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	mtools
8
PORTNAME=	mtools
9
PORTVERSION=	4.0.10
9
PORTVERSION=	4.0.10
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	emulators
11
CATEGORIES=	emulators
12
MASTER_SITES=	${MASTER_SITE_GNU}
12
MASTER_SITES=	${MASTER_SITE_GNU}
13
MASTER_SITE_SUBDIR=	mtools
13
MASTER_SITE_SUBDIR=	mtools
Lines 63-71 Link Here
63
63
64
post-install:
64
post-install:
65
	${INSTALL_DATA} ${WRKSRC}/mtools.conf ${PREFIX}/etc/mtools.conf.sample
65
	${INSTALL_DATA} ${WRKSRC}/mtools.conf ${PREFIX}/etc/mtools.conf.sample
66
.if !exists(${PREFIX}/etc/mtools.conf)
66
	@if [ ! -f ${PREFIX}/etc/mtools.conf ]; then \
67
	@cd ${PREFIX}/etc && ${CP} -f mtools.conf.sample mtools.conf
67
		cd ${PREFIX}/etc && ${CP} -p mtools.conf.sample mtools.conf; \
68
.endif
68
	fi
69
	@${CAT} ${PKGMESSAGE}
69
	@${CAT} ${PKGMESSAGE}
70
70
71
.include <bsd.port.mk>
71
.include <bsd.port.mk>

Return to bug 157910