mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
5afc678aac
- Bump PORTREVISION Approved by: portmgr (xorg cleanup)
33 lines
707 B
Makefile
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>
|