Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 22:07:21 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340738 - head/graphics/imagesort
Message-ID:  <201401222207.s0MM7LcW086840@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Jan 22 22:07:20 2014
New Revision: 340738
URL: http://svnweb.freebsd.org/changeset/ports/340738
QAT: https://qat.redports.org/buildarchive/r340738/

Log:
  Stage support

Modified:
  head/graphics/imagesort/Makefile

Modified: head/graphics/imagesort/Makefile
==============================================================================
--- head/graphics/imagesort/Makefile	Wed Jan 22 21:59:32 2014	(r340737)
+++ head/graphics/imagesort/Makefile	Wed Jan 22 22:07:20 2014	(r340738)
@@ -12,9 +12,9 @@ COMMENT=	A flexible X utility for managi
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	gif:${PORTSDIR}/graphics/giflib \
-		jpeg:${PORTSDIR}/graphics/jpeg \
-		png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libgif.so:${PORTSDIR}/graphics/giflib \
+		libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libpng15.so:${PORTSDIR}/graphics/png
 
 OPTIONS_DEFINE=	DOCS
 
@@ -24,9 +24,6 @@ USE_GNOME=	imlib
 PORTDOCS=	README imagesortrc.sample
 PLIST_FILES=	bin/imagesort
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^CC/s| =| ?=| ; \
@@ -37,12 +34,8 @@ post-patch:
 		 s|^#endif.*|#endif|' ${WRKSRC}/imagesort.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/imagesort ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/imagesort ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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