summaryrefslogtreecommitdiff
path: root/x11/xco/Makefile
blob: 8b668e8b38f6777af9d3d837594ed11a6ae86d70 (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
# Created by: Satoshi TAOKA
# $FreeBSD$

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

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

USES=		imake
USE_XORG=	x11 xext
MAN1=		xco.1
MANCOMPRESSED=	yes
DOCDIR=		${PREFIX}/share/doc/xco

NO_STAGE=	yes
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>