Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 06:41:00 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333655 - head/graphics/jpeg
Message-ID:  <201311130641.rAD6f0HQ001613@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Wed Nov 13 06:41:00 2013
New Revision: 333655
URL: http://svnweb.freebsd.org/changeset/ports/333655

Log:
  - use STAGEDIR

Modified:
  head/graphics/jpeg/Makefile
  head/graphics/jpeg/pkg-plist

Modified: head/graphics/jpeg/Makefile
==============================================================================
--- head/graphics/jpeg/Makefile	Wed Nov 13 06:32:04 2013	(r333654)
+++ head/graphics/jpeg/Makefile	Wed Nov 13 06:41:00 2013	(r333655)
@@ -17,7 +17,6 @@ MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	IJG's jpeg compression utilities
 
 CONFLICTS=	libjpeg-turbo-[0-9]*
-NO_STAGE=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION2}
 DISTVERSION2=	8d
@@ -32,8 +31,6 @@ ADDITIONAL_HEADER=	jinclude.h jpegint.h
 CONFIGURE_ARGS+=	--enable-maxmem=${J_MAXMEM}
 .endif
 
-MAN1=		cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
-
 .include <bsd.port.options.mk>
 
 post-extract:
@@ -50,14 +47,14 @@ regression-test:	test
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${PREFIX}/share/doc/jpeg
-	@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jpeg/
-	@${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/jpeg/
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/jpeg
+	@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/jpeg/
+	@${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${PREFIX}/share/doc/jpeg/
 .endif
 .for header in ${ADDITIONAL_HEADER}
-	@${INSTALL_DATA} ${WRKSRC}/${header} ${PREFIX}/include/
+	@${INSTALL_DATA} ${WRKSRC}/${header} ${STAGEDIR}${PREFIX}/include/
 .endfor
-	${INSTALL_PROGRAM} ${WRKSRC}/jpegexiforient ${PREFIX}/bin/
-	${INSTALL_SCRIPT} ${WRKSRC}/exifautotran ${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/jpegexiforient ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKSRC}/exifautotran ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>

Modified: head/graphics/jpeg/pkg-plist
==============================================================================
--- head/graphics/jpeg/pkg-plist	Wed Nov 13 06:32:04 2013	(r333654)
+++ head/graphics/jpeg/pkg-plist	Wed Nov 13 06:41:00 2013	(r333655)
@@ -15,6 +15,11 @@ lib/libjpeg.a
 lib/libjpeg.la
 lib/libjpeg.so
 lib/libjpeg.so.11
+man/man1/cjpeg.1.gz
+man/man1/djpeg.1.gz
+man/man1/jpegtran.1.gz
+man/man1/rdjpgcom.1.gz
+man/man1/wrjpgcom.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/coderules.txt
 %%PORTDOCS%%%%DOCSDIR%%/filelist.txt



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