pkgsrc/devel/rcs/Makefile
heinz adb3aa1711 Made configure use diff (and diff3) from diffutils instead of the
native Solaris diff which is not good enough for use in rcs.
Since configure picks up DIFF from the environment, patch-aa and patch-ab
became unnecessary.
Thanks to a patch by Stefan Pfetzing (slightly modified by me) this fixes
his PR pkg/33558.
2006-07-01 22:03:12 +00:00

31 lines
927 B
Makefile

# $NetBSD: Makefile,v 1.21 2006/07/01 22:03:12 heinz Exp $
#
DISTNAME= rcs-5.7
PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=rcs/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/rcs/rcs.html
COMMENT= GNU Revision Control System - version control software
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
DEPENDS+= diffutils>=2.7:../../devel/diffutils
CONFIGURE_ARGS+= --with-diffutils
# the native diff/diff3 is not sufficient for rcs
TOOLS_PLATFORM.diff= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}diff
.endif
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PATH=${LOCALBASE}/bin:"$$PATH"
CONFIGURE_HAS_MANDIR= no
post-install:
${RM} -f ${PREFIX}/bin/rcslog
${LN} -s ${PREFIX}/bin/rlog ${PREFIX}/bin/rcslog
${RM} -f ${PREFIX}/man/man1/rcslog.1 ${PREFIX}/man/man1/rcslog.1.gz
${LN} -s ${PREFIX}/man/man1/rlog.1 ${PREFIX}/man/man1/rcslog.1
.include "../../mk/bsd.pkg.mk"