1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/x11/grabc/Makefile
Mahdi Mokhtari e87d9e532d Updating the ports I maintain to my FreeBSD.org address.
Submitted by:	mmokhi
Reviewed by:	feld, mat
Approved by:	feld, mat (mentors)
Differential Revision:	https://reviews.freebsd.org/D9498
2017-02-11 04:44:43 +00:00

28 lines
587 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= mmokhi@FreeBSD.org
COMMENT= Grab a color from screen
LICENSE= GPLv2 # specified on the website
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>