1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/x11/grabc/Makefile
Martin Wilke 5afc678aac - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
2008-03-23 16:44:09 +00:00

33 lines
707 B
Makefile

# ex:ts=8
# Ports collection makefile for: grabc
# Date Created: Dec 30, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= grabc
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= http://muquit.com/muquit/software/grabc/ \
http://www.carpetsmoker.net/distfiles/ \
http://www.xs4all.nl/~tournoij/distfiles/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= Grab a color from screen
PLIST_FILES= bin/grabc
USE_XORG= x11
CFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/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>