Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 13:24:28 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334486 - head/graphics/tif22pnm
Message-ID:  <201311211324.rALDOSER000911@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Thu Nov 21 13:24:27 2013
New Revision: 334486
URL: http://svnweb.freebsd.org/changeset/ports/334486

Log:
  - Enable staging
  - Use new LIB_DEPENDS format

Modified:
  head/graphics/tif22pnm/Makefile

Modified: head/graphics/tif22pnm/Makefile
==============================================================================
--- head/graphics/tif22pnm/Makefile	Thu Nov 21 13:23:10 2013	(r334485)
+++ head/graphics/tif22pnm/Makefile	Thu Nov 21 13:24:27 2013	(r334486)
@@ -12,8 +12,8 @@ COMMENT=	Converts TIFF-sampled images to
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
-		tiff:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png \
+		libtiff.so:${PORTSDIR}/graphics/tiff
 
 PROJECTHOST=	sam2p
 USES=		pkgconfig
@@ -27,7 +27,6 @@ PLIST_FILES=	bin/png22pnm bin/tif22pnm
 TIF22PNM_SRCS=	ptspnm.c minigimp.c miniglib.c ptstiff3.c tif22pnm.c
 PNG2PNM_SRCS=	png22pnm.c
 
-NO_STAGE=	yes
 do-build:
 	cd ${WRKSRC} \
 		&& ${CC} ${CFLAGS} -DNDEBUG -I${LOCALBASE}/include \
@@ -36,7 +35,7 @@ do-build:
 		${PNG2PNM_SRCS} -o png22pnm `pkg-config libpng15 --libs`
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/png22pnm ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/tif22pnm ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/png22pnm ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tif22pnm ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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