aboutsummaryrefslogtreecommitdiff
path: root/textproc/carthage/Makefile
blob: f85b3996d094fac0dc559aee25cad6cd68da405c (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
31
32
33
34
35
36
37
38
# New ports collection makefile for:	carthage
# Date created:				18 May 2002
# Whom:					Henrik Motakef <henrik.motakef@web.de>
#
# $FreeBSD$
#

PORTNAME=	carthage
PORTVERSION=	1.0 # Cannot find any version information
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://www.tei-c.org/Software/carthage/
DISTNAME=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A parser and clean-up tool for SGML DTDs

BUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison

USE_ZIP=	yes
USE_GMAKE=	yes
ALL_TARGET=	carthago

post-patch:
	${CHMOD} +w ${WRKSRC}/dpplex.c

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/carthage ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/carthago ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/carthage
	@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/carthage
	@${INSTALL_MAN} ${WRKSRC}/README.SPQR ${PREFIX}/share/doc/carthage
.endif

.include <bsd.port.mk>