1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/x11/grabc/Makefile
2013-12-29 13:55:50 +00:00

26 lines
543 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= grabc
PORTVERSION= 1.1
PORTREVISION= 4
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_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} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>