aboutsummaryrefslogtreecommitdiff
path: root/devel/sccs/Makefile
blob: 1a21f71c5889f9a170e3735c1926d4cefc614113 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	sccs
CATEGORIES=	devel

COMMENT=	Source Code Control System (SCCS)
WWW=		https://sccs.sourceforge.net/

TEST_DEPENDS=	star:archivers/star

MASTERDIR=	${.CURDIR}/../../devel/schilybase
COMPONENTS=	patch \
		sccs
TESTCOMPONENTS=	${COMPONENTS:Npatch}

# These files are installed by the patch target,
# but they belong to sysutils/schilyutils.
post-install:
	${RM} ${STAGEDIR}${PREFIX}/bin/opatch
	${RM} ${STAGEDIR}${PREFIX}/bin/spatch
	${RM} ${STAGEDIR}${PREFIX}/share/man/man1/opatch.1
	${RM} ${STAGEDIR}${PREFIX}/share/man/man1/patch.1
	${RM} ${STAGEDIR}${PREFIX}/share/man/man1/spatch.1

# This test suite installs a temp copy of the schilytools to /tmp.
# The directories are hard-coded unfortunately.
pre-test:
	@${ECHO_MSG} '=> cleaning old test files'
	${RM} -r /tmp/sccstests /tmp/SCCSTEST
	@${ECHO_MSG} '=> running test suite'

.include "${MASTERDIR}/Makefile.master"