73f7c91b5d
(Part 1)
38 lines
922 B
Makefile
38 lines
922 B
Makefile
# 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@henrik-motakef.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>
|