2008-02-15 16:48:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2008/02/15 15:48:46 gdt Exp $
|
1999-03-12 17:02:32 +01:00
|
|
|
#
|
|
|
|
|
2001-10-13 00:34:21 +02:00
|
|
|
DISTNAME= rcs-5.7
|
2005-02-15 21:54:37 +01:00
|
|
|
PKGREVISION= 3
|
2007-02-17 21:59:46 +01:00
|
|
|
CATEGORIES= devel scm
|
1999-05-24 22:39:35 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=rcs/}
|
1999-03-12 17:02:32 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-10-13 01:14:43 +02:00
|
|
|
HOMEPAGE= http://www.cs.purdue.edu/homes/trinkle/RCS/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= GNU Revision Control System - version control software
|
1999-03-12 17:02:32 +01:00
|
|
|
|
2008-02-15 16:48:46 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2001-11-12 04:06:31 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2007-08-01 16:41:18 +02:00
|
|
|
.if ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" || ${OPSYS} == "AIX"
|
2005-12-05 21:49:47 +01:00
|
|
|
DEPENDS+= diffutils>=2.7:../../devel/diffutils
|
2006-07-02 00:03:12 +02:00
|
|
|
CONFIGURE_ARGS+= --with-diffutils
|
|
|
|
# the native diff/diff3 is not sufficient for rcs
|
|
|
|
TOOLS_PLATFORM.diff= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}diff
|
2001-11-12 04:06:31 +01:00
|
|
|
.endif
|
1999-03-12 17:02:32 +01:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= PATH=${LOCALBASE}/bin:"$$PATH"
|
2005-10-31 20:59:52 +01:00
|
|
|
CONFIGURE_HAS_MANDIR= no
|
1999-03-12 17:02:32 +01:00
|
|
|
|
1999-03-16 10:46:42 +01:00
|
|
|
post-install:
|
|
|
|
${RM} -f ${PREFIX}/bin/rcslog
|
|
|
|
${LN} -s ${PREFIX}/bin/rlog ${PREFIX}/bin/rcslog
|
2007-01-07 10:13:46 +01:00
|
|
|
${RM} -f ${PREFIX}/${PKGMANDIR}/man1/rcslog.1 ${PREFIX}/${PKGMANDIR}/man1/rcslog.1.gz
|
|
|
|
${LN} -s ${PREFIX}/${PKGMANDIR}/man1/rlog.1 ${PREFIX}/${PKGMANDIR}/man1/rcslog.1
|
1999-03-16 10:46:42 +01:00
|
|
|
|
1999-03-12 17:02:32 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|