Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2014 14:10:05 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/187331: commit references a PR
Message-ID:  <201403291410.s2TEA5PM066458@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/187331; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/187331: commit references a PR
Date: Sat, 29 Mar 2014 14:02:32 +0000 (UTC)

 Author: amdmi3
 Date: Sat Mar 29 14:02:29 2014
 New Revision: 349512
 URL: http://svnweb.freebsd.org/changeset/ports/349512
 QAT: https://qat.redports.org/buildarchive/r349512/
 
 Log:
   - Support staging
   - Use new LIB_DEPENDS syntax
   
   PR:		187331
   Submitted by:	amdmi3
   Approved by:	maintainer timeout, portmgr (blanket)
 
 Modified:
   head/graphics/optipng/Makefile
 
 Modified: head/graphics/optipng/Makefile
 ==============================================================================
 --- head/graphics/optipng/Makefile	Sat Mar 29 14:01:55 2014	(r349511)
 +++ head/graphics/optipng/Makefile	Sat Mar 29 14:02:29 2014	(r349512)
 @@ -18,19 +18,17 @@ BUNDLED_LIBPNG_DESC=	Use bundled libpng
  BUNDLED_ZLIB_DESC=	Use bundled zlib
  
  HAS_CONFIGURE=	yes
 -PLIST_FILES=	bin/optipng
 -MAN1=		optipng.1
 +PLIST_FILES=	bin/optipng man/man1/optipng.1.gz
  PORTDOCS=	history.txt optipng.man.html optipng.man.pdf optipng.man.txt \
  		png_optimization.html todo.txt
  
 -NO_STAGE=	yes
  .include <bsd.port.options.mk>
  
  .if empty(PORT_OPTIONS:MBUNDLED_LIBPNG)
  CONFIGURE_ARGS+=	--with-system-libpng
  CFLAGS+=	"-I${LOCALBASE}/include"
  LDFLAGS+=	"-L${LOCALBASE}/lib"
 -LIB_DEPENDS+=	png15:${PORTSDIR}/graphics/png
 +LIB_DEPENDS+=	libpng15.so:${PORTSDIR}/graphics/png
  .endif
  
  .if empty(PORT_OPTIONS:MBUNDLED_ZLIB)
 @@ -38,13 +36,11 @@ CONFIGURE_ARGS+=	--with-system-zlib
  .endif
  
  do-install:
 -	${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${PREFIX}/bin/
 -	${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${MAN1PREFIX}/man/man1/
 +	${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${STAGEDIR}${PREFIX}/bin/
 +	${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
  
  post-install:
 -.if ${PORT_OPTIONS:MDOCS}
 -	${INSTALL} -d ${DOCSDIR}
 -	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/
 -.endif
 +	${INSTALL} -d ${STAGEDIR}${DOCSDIR}
 +	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}/
  
  .include <bsd.port.mk>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403291410.s2TEA5PM066458>