svn commit: r340738 - head/graphics/imagesort

Antoine Brodin antoine at FreeBSD.org
Wed Jan 22 22:07:21 UTC 2014


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>


More information about the svn-ports-all mailing list