blob: a463f80b416a65e0dc9b1b8adb3a8759e054f0dc (
plain)
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: grabc
# Date Created: Dec 30, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= grabc
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://muquit.com/muquit/software/grabc/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Grab a color from screen
PLIST_FILES= bin/grabc
USE_XLIB= yes
CFLAGS+= -I${X11BASE}/include
LIBS+= -L${X11BASE}/lib -lX11
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c ${LIBS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>
|