summaryrefslogtreecommitdiff
path: root/devel/pccts/Makefile
blob: 7a4c67f32b5f12d4ce40c307d16b85762f1d9f5c (plain)
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
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.4 2000/04/26 15:42:55 agc Exp $
#

DISTNAME=	pccts133mr
PKGNAME=	pccts-1.33.22
CATEGORIES=	devel
MASTER_SITES=	http://www.polhode.com/
EXTRACT_SUFX=	.zip

MAINTAINER=	David Maxwell <david@maxwell.net>
HOMEPAGE=	http://www.polhode.com/pccts.html

BUILD_DEPENDS=  unzip:../../archivers/unzip

DIST_SUBDIR=	${PKGNAME}

EXTRACT_CMD=    unzip -qo ${DOWNLOADED_DISTFILE}
WRKSRC=		${WRKDIR}/pccts
MAKEFILE=	makefile
ALL_TARGET=

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/antlr ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/dlg ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/genmk ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/sor ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pccts
	${INSTALL_MAN} ${WRKSRC}/CHANGES_FROM_131.txt \
		${WRKSRC}/CHANGES_FROM_133.txt \
		${WRKSRC}/CHANGES_FROM_133_BEFORE_MR13.txt \
		${WRKSRC}/KNOWN_PROBLEMS.txt \
		${WRKSRC}/RIGHTS ${WRKSRC}/history.txt \
		${PREFIX}/share/doc/pccts/
	${INSTALL_DATA_DIR} ${PREFIX}/include/pccts
	${INSTALL_MAN} ${WRKSRC}/h/*.h ${PREFIX}/include/pccts/
	${INSTALL_MAN} ${WRKSRC}/h/*.c ${PREFIX}/include/pccts/
	${INSTALL_MAN} ${WRKSRC}/h/*.cpp ${PREFIX}/include/pccts/

.include "../../mk/bsd.pkg.mk"