diff options
Diffstat (limited to 'x11/grabc/Makefile')
-rw-r--r-- | x11/grabc/Makefile | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/x11/grabc/Makefile b/x11/grabc/Makefile index 38c1934f2a12..6b14337255a1 100644 --- a/x11/grabc/Makefile +++ b/x11/grabc/Makefile @@ -1,26 +1,29 @@ PORTNAME= grabc -PORTVERSION= 1.1 -PORTREVISION= 4 +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.2 +PORTEPOCH= 1 CATEGORIES= x11 -MASTER_SITES= http://muquit.com/muquit/software/grabc/ -DISTNAME= ${PORTNAME}${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mew14930xvi@inbox.lv COMMENT= Grab a color from screen WWW= https://www.muquit.com/muquit/software/grabc/grabc.html -LICENSE= GPLv2 # specified on the website +LICENSE= MIT -PLIST_FILES= bin/grabc -USES= xorg -USE_XORG= x11 -CFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -lX11 +USES= localbase xorg +USE_GITHUB= yes +GH_ACCOUNT= muquit +USE_XORG= x11 xorgproto + +PLIST_FILES= bin/grabc share/man/man1/grabc.1.gz do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c ${LIBS} + cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c \ + ${LIBS} -lX11 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ + ${STAGEDIR}${PREFIX}/share/man/man1/ .include <bsd.port.mk> |