openbsd-ports/sysutils/mergemaster/Makefile

29 lines
738 B
Makefile

# $OpenBSD: Makefile,v 1.7 2003/05/12 21:54:32 naddy Exp $
COMMENT= "aids with merging configuration files during an upgrade"
DISTNAME= mergemaster-1.46
CATEGORIES= sysutils
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://grappa.unix-ag.uni-kl.de/~naddy/
NO_BUILD= Yes
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/mergemaster
do-install:
@perl -pi -e 's:/etc(/mergemaster\.rc):${SYSCONFDIR}$$1:g' \
${WRKSRC}/mergemaster.sh ${WRKSRC}/mergemaster.8
${INSTALL_SCRIPT} ${WRKSRC}/mergemaster.sh ${PREFIX}/sbin/mergemaster
${INSTALL_MAN} ${WRKSRC}/mergemaster.8 ${PREFIX}/man/man8
.include <bsd.port.mk>