From owner-svn-ports-all@FreeBSD.ORG Tue Mar 12 22:54:46 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8560C5A3; Tue, 12 Mar 2013 22:54:46 +0000 (UTC) (envelope-from beech@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 6D0DBE7B; Tue, 12 Mar 2013 22:54:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2CMsk8G065149; Tue, 12 Mar 2013 22:54:46 GMT (envelope-from beech@svn.freebsd.org) Received: (from beech@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2CMsjHI065145; Tue, 12 Mar 2013 22:54:45 GMT (envelope-from beech@svn.freebsd.org) Message-Id: <201303122254.r2CMsjHI065145@svn.freebsd.org> From: Beech Rintoul Date: Tue, 12 Mar 2013 22:54:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314006 - head/graphics/lcdtest X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 22:54:46 -0000 Author: beech Date: Tue Mar 12 22:54:45 2013 New Revision: 314006 URL: http://svnweb.freebsd.org/changeset/ports/314006 Log: - Makefile tweaks - Shorten Header - Bump portrevision - Pass maintainership to submitter PR: ports/176865 Submitted by: nemysis Added: head/graphics/lcdtest/pkg-plist (contents, props changed) Modified: head/graphics/lcdtest/Makefile (contents, props changed) head/graphics/lcdtest/pkg-descr (contents, props changed) Modified: head/graphics/lcdtest/Makefile ============================================================================== --- head/graphics/lcdtest/Makefile Tue Mar 12 22:46:55 2013 (r314005) +++ head/graphics/lcdtest/Makefile Tue Mar 12 22:54:45 2013 (r314006) @@ -1,20 +1,17 @@ -# New ports collection makefile for: lcdtest -# Date created: 23 Mar 2007 -# Whom: Eric P. Scott -# +# Created By: Eric P. Scott # $FreeBSD$ -# PORTNAME= lcdtest PORTVERSION= 1.18 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics -MASTER_SITES= http://www.brouhaha.com/~eric/software/lcdtest/download/ \ - http://www.predatorlabs.net/dl/ +MASTER_SITES= http://www.brouhaha.com/~eric/software/lcdtest/download/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@gmx.ch COMMENT= LCD monitor test pattern generator +LICENSE= GPLv3 + RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/Liberation/LiberationMono-Bold.ttf:${PORTSDIR}/x11-fonts/liberation-fonts-ttf USE_SDL= sdl image ttf @@ -22,13 +19,22 @@ USE_SDL= sdl image ttf CFLAGS+= -I${LOCALBASE}/include -DRELEASE=1.18 LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lSDL -lSDL_image -lSDL_ttf -PLIST_FILES= bin/lcdtest PORTDOCS= README MAN1= lcdtest.1 +OPTIONS_DEFINE= DOCS + +.include + +.if ${PORT_OPTIONS:MDOCS} +PLIST_SUB+= PORTDOCS="" +.else +PLIST_SUB+= PORTDOCS="@comment " +.endif + post-patch: - ${REINPLACE_CMD} -e 's|/usr/share/fonts/liberation/|${LOCALBASE}/lib/X11/fonts/Liberation/|' \ + @${REINPLACE_CMD} -e 's|/usr/share/fonts/liberation/|${LOCALBASE}/lib/X11/fonts/Liberation/|' \ ${WRKSRC}/src/lcdtest.c do-build: @@ -36,11 +42,15 @@ do-build: (cd ${WRKSRC}/src && ${CC} ${LDFLAGS} -o lcdtest lcdtest.o) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/lcdtest ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/lcdtest.1 ${PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1/ + ${INSTALL_DATA} ${WRKSRC}/desktop/${PORTNAME}.svg ${PREFIX}/share/pixmaps/ + @${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/desktop/${PORTNAME}.desktop ${PREFIX}/share/applications/ + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include Modified: head/graphics/lcdtest/pkg-descr ============================================================================== --- head/graphics/lcdtest/pkg-descr Tue Mar 12 22:46:55 2013 (r314005) +++ head/graphics/lcdtest/pkg-descr Tue Mar 12 22:54:45 2013 (r314006) @@ -1,4 +1,4 @@ -lcdtest is a utility to display LCD monitor test patterns. It may be +lcdtest is a utility to display LCD monitor test patterns. It may be useful for adjusting the pixel clock frequency and phase on LCD monitors when using analog inputs, and for finding pixels that are stuck on or off. Added: head/graphics/lcdtest/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/lcdtest/pkg-plist Tue Mar 12 22:54:45 2013 (r314006) @@ -0,0 +1,6 @@ +bin/lcdtest +share/applications/lcdtest.desktop +%%PORTDOCS%%%%DOCSDIR%%/README +share/pixmaps/lcdtest.svg +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrmtry share/applications