# New ports collection makefile for:	pmw
# Date Created:				28 May 2004
# Whom:					Brian Candler <B.Candler@pobox.com>
#
# $FreeBSD: ports/print/pmw/Makefile,v 1.5 2005/01/09 12:47:44 krion Exp $
#

PORTNAME=	pmw
PORTVERSION=	4.06
PORTREVISION=	1
CATEGORIES=	print audio
MASTER_SITES=	ftp://ftp.at.freebsd.org/pub/mirrors/www.quercite.com/ \
		http://www.quercite.com/

MAINTAINER=	g.gonter@ieee.org
COMMENT=	High quality music typesetting program

PKGMESSAGE=	${WRKDIR}/pkg-message

GNU_CONFIGURE=	yes
ALL_TARGET=	build

MAN1=		pmw.1

post-patch:
	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \
		s|%%LOCALBASE%%|${LOCALBASE}|g' ${MASTERDIR}/pkg-message > ${PKGMESSAGE}

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ChangeLog spec.pdf
	${INSTALL_MAN} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
