openbsd-ports/sysutils/mergemaster/Makefile
2003-07-23 19:12:18 +00:00

34 lines
841 B
Makefile

# $OpenBSD: Makefile,v 1.8 2003/07/23 19:12:18 naddy Exp $
COMMENT= "aids with merging configuration files during an upgrade"
DISTNAME= mergemaster-1.46
PKGNAME= ${DISTNAME}p0
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/
# requires sdiff(1)
RUN_DEPENDS= ::textproc/gdiff
NO_BUILD= Yes
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/mergemaster
do-install:
@perl -pi -e 's:\@SYSCONFDIR@:${SYSCONFDIR}:g;' \
-e 's:\@LOCALBASE@:${LOCALBASE}: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>