mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
3c175cb569
Reviewed by: marcus
31 lines
609 B
Makefile
31 lines
609 B
Makefile
# 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>
|