summaryrefslogtreecommitdiff
path: root/x11/xco/Makefile
blob: 2461c050d5d91d3e471ddcc260bb8c8f86649a49 (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
# New ports collection makefile for:	xco
# Date created:		6 Jun 1997
# Whom:			Satoshi TAOKA
#
# $FreeBSD$
#

PORTNAME=	xco
PORTVERSION=	1.3
PORTREVISION=	1
CATEGORIES=	x11
DISTNAME=	${PORTNAME}

MAINTAINER=	taoka@FreeBSD.org
COMMENT=	Display X11 color names and colors

USE_IMAKE=	yes
USE_REINPLACE=	yes
MAN1=		xco.1
MANCOMPRESSED=	yes
DOCDIR=		${PREFIX}/share/doc/xco

post-patch:
		@${REINPLACE_CMD} -e 's/extern char \*malloc();//g' \
			${WRKSRC}/xco.c ${WRKSRC}/xargs.c

post-install:
		@${MKDIR} ${DOCDIR}
		@${INSTALL_DATA} ${FILESDIR}/copyright ${DOCDIR}

.include <bsd.port.mk>