Date: Fri, 15 Mar 2013 02:27:30 +0000 (UTC) From: Beech Rintoul <beech@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314228 - head/graphics/tiff2png Message-ID: <201303150227.r2F2RU2q020612@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: beech Date: Fri Mar 15 02:27:30 2013 New Revision: 314228 URL: http://svnweb.freebsd.org/changeset/ports/314228 Log: - Add OptionsNG PR: PR_176922 Submitted by: nemysis <nemysis@gmx.ch> Modified: head/graphics/tiff2png/Makefile Modified: head/graphics/tiff2png/Makefile ============================================================================== --- head/graphics/tiff2png/Makefile Fri Mar 15 02:26:16 2013 (r314227) +++ head/graphics/tiff2png/Makefile Fri Mar 15 02:27:30 2013 (r314228) @@ -1,13 +1,9 @@ -# New ports collection makefile for: tiff2png -# Date created: Tue 04 Jul 2000 -# Whom: will -# +# Created by: will # $FreeBSD$ -# PORTNAME= tiff2png PORTVERSION= 0.91 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF/png-mng/${PORTNAME}/${PORTVERSION} @@ -15,8 +11,8 @@ MASTER_SITES= SF/png-mng/${PORTNAME}/${P MAINTAINER= ports@FreeBSD.org COMMENT= Converts TIFF images to PNG format -LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ - jpeg.11:${PORTSDIR}/graphics/jpeg \ +LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \ + jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png MAKEFILE= Makefile.unx @@ -30,11 +26,18 @@ CFLAGS+= -DINVERT_MINISWHITE -DFAXPECT - -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tiff2png ${PREFIX}/bin -.if !defined(NOPORTDOCS) + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +PLIST_FILES+= %%DOCSDIR%%/README +PLIST_DIRS+= %%DOCSDIR%% .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303150227.r2F2RU2q020612>