summaryrefslogblamecommitdiff
path: root/textproc/carthage/Makefile
blob: f9a23f00abe3fd991d479e54bd9b5ccff72bbac5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                              
                                                        





















                                                                          
# 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
CATEGORIES=	textproc
MASTER_SITES=	http://www.tei-c.org/Software/carthage/
DISTNAME=	${PORTNAME}

MAINTAINER=	henrik.motakef@web.de
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>