mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
28 lines
586 B
Makefile
28 lines
586 B
Makefile
# Created by: ijliao
|
|
|
|
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
|
|
|
|
LICENSE= GPLv2 # specified on the website
|
|
|
|
PLIST_FILES= bin/grabc
|
|
USES= xorg
|
|
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>
|