From owner-svn-ports-head@FreeBSD.ORG Thu Jan 2 19:28:06 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C41639E9; Thu, 2 Jan 2014 19:28:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B04D31979; Thu, 2 Jan 2014 19:28:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s02JS6vu046132; Thu, 2 Jan 2014 19:28:06 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s02JS62V046130; Thu, 2 Jan 2014 19:28:06 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201401021928.s02JS62V046130@svn.freebsd.org> From: Rusmir Dusko Date: Thu, 2 Jan 2014 19:28:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338467 - 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-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 19:28:06 -0000 Author: nemysis Date: Thu Jan 2 19:28:05 2014 New Revision: 338467 URL: http://svnweb.freebsd.org/changeset/ports/338467 Log: - Bump PORTREVISION - Change master sites, icon - Use PLIST_FILES instead of pkg-plist - Support STAGEDIR - Simplify Option DOCS handling Approved by: pawel / wg (mentors, implicit) Deleted: head/graphics/lcdtest/pkg-plist Modified: head/graphics/lcdtest/Makefile head/graphics/lcdtest/distinfo (contents, props changed) Modified: head/graphics/lcdtest/Makefile ============================================================================== --- head/graphics/lcdtest/Makefile Thu Jan 2 19:16:50 2014 (r338466) +++ head/graphics/lcdtest/Makefile Thu Jan 2 19:28:05 2014 (r338467) @@ -3,9 +3,13 @@ PORTNAME= lcdtest PORTVERSION= 1.18 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics -MASTER_SITES= http://www.brouhaha.com/~eric/software/lcdtest/download/ +MASTER_SITES= http://www.brouhaha.com/~eric/software/lcdtest/download/ \ + SF/nemysisfreebsdp/${CATEGORIES}/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}.png:icons +EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= nemysis@FreeBSD.org COMMENT= LCD monitor test pattern generator @@ -19,21 +23,15 @@ USE_SDL= sdl image ttf CFLAGS+= -I${LOCALBASE}/include -DRELEASE=1.18 LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lSDL -lSDL_image -lSDL_ttf -PORTDOCS= README +PLIST_FILES= bin/${PORTNAME} \ + man/man1/${PORTNAME}.1.gz \ + share/applications/${PORTNAME}.desktop \ + share/pixmaps/${PORTNAME}.png -MAN1= lcdtest.1 +PORTDOCS= README OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.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/|' \ ${WRKSRC}/src/lcdtest.c @@ -43,14 +41,14 @@ do-build: (cd ${WRKSRC}/src && ${CC} ${LDFLAGS} -o lcdtest lcdtest.o) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1/ - ${INSTALL_DATA} ${WRKSRC}/desktop/${PORTNAME}.svg ${PREFIX}/share/pixmaps/ - ${INSTALL_DATA} ${WRKSRC}/desktop/${PORTNAME}.desktop ${PREFIX}/share/applications/ - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + ${INSTALL_DATA} ${WRKSRC}/desktop/${PORTNAME}.desktop \ + ${STAGEDIR}${DESKTOPDIR} + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Modified: head/graphics/lcdtest/distinfo ============================================================================== --- head/graphics/lcdtest/distinfo Thu Jan 2 19:16:50 2014 (r338466) +++ head/graphics/lcdtest/distinfo Thu Jan 2 19:28:05 2014 (r338467) @@ -1,2 +1,4 @@ SHA256 (lcdtest-1.18.tar.gz) = f0b3fa9c5a4bc86eb2713f85f422d328a673ca8f541a6403bfe156afd631200e SIZE (lcdtest-1.18.tar.gz) = 26886 +SHA256 (lcdtest.png) = bab95d97f827fd03bb3b31bdb27a5ed9fbe68dea0090ebbb4ad32b10c74345e0 +SIZE (lcdtest.png) = 2361