Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 19:36:18 +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: r334609 - head/graphics/jasper
Message-ID:  <201311221936.rAMJaIqT020491@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Fri Nov 22 19:36:18 2013
New Revision: 334609
URL: http://svnweb.freebsd.org/changeset/ports/334609

Log:
  - use STAGEDIR
  - drop NO_INSTALL_MANPAGES

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

Modified: head/graphics/jasper/Makefile
==============================================================================
--- head/graphics/jasper/Makefile	Fri Nov 22 19:33:41 2013	(r334608)
+++ head/graphics/jasper/Makefile	Fri Nov 22 19:36:18 2013	(r334609)
@@ -16,8 +16,6 @@ LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/j
 
 LICENSE=	MIT
 
-NO_STAGE=	yes
-
 USE_AUTOTOOLS=	libtool
 USE_ZIP=	yes
 USE_GNOME=	lthack
@@ -50,17 +48,11 @@ PLIST_SUB+=	OPENGL="@comment "
 EXTRA_PATCHES+=	${FILESDIR}/uuid.patch
 .endif
 
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1=		imgcmp.1 imginfo.1 jasper.1 jiv.1
-.endif
-
 post-install:
-.if !defined(NO_INSTALL_MANPAGES)
-	@cd ${WRKSRC}/src/appl && make install-man
-.endif
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+	cd ${WRKSRC}/src/appl && ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} install-man
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/
 .endif
 
 .include <bsd.port.mk>

Modified: head/graphics/jasper/pkg-plist
==============================================================================
--- head/graphics/jasper/pkg-plist	Fri Nov 22 19:33:41 2013	(r334608)
+++ head/graphics/jasper/pkg-plist	Fri Nov 22 19:36:18 2013	(r334609)
@@ -26,6 +26,10 @@ lib/libjasper.a
 lib/libjasper.la
 lib/libjasper.so
 lib/libjasper.so.4
+man/man1/imgcmp.1.gz
+man/man1/imginfo.1.gz
+man/man1/jasper.1.gz
+man/man1/jiv.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/jasper.pdf
 %%PORTDOCS%%%%DOCSDIR%%/jpeg2000.pdf



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