aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xco/Makefile
blob: 4000e3ab75c7ca12a854ce30089d4f442232655e (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
# 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
DOCDIR=     ${PREFIX}/share/doc/xco

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

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

.include <bsd.port.mk>