summaryrefslogtreecommitdiff
path: root/textproc/gutenmark/Makefile
blob: 503fa720c02dae53c7ef12612041faa7c6dea593 (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
# ex:ts=8
# Ports collection makefile for:	GutenMark
# Date created:			Jun 7, 2002
# Whom:				ijliao
#
# $FreeBSD$

PORTNAME=	gutenmark
PORTVERSION=	20020714
CATEGORIES=	textproc
MASTER_SITES=	ftp://ftp.sandroid.org/GutenMark/SoftwareSnapshots/
DISTNAME=	GutenMark_source_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	Attractively formatting Project Gutenberg texts

USE_REINPLACE=	yes
WRKSRC=		${WRKDIR}/GutenMark-source
USE_GMAKE=	yes
ALL_TARGET=	# empty

post-patch:
	@${REINPLACE_CMD} -e "s,cc,${CC},g" \
		-e "s,-O3 -Wall,${CFLAGS},g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/GutenMark ${PREFIX}/bin

.include <bsd.port.mk>