Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 18:40:00 +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: r342354 - head/graphics/cthumb
Message-ID:  <201402021840.s12Ie0sl077671@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Feb  2 18:39:59 2014
New Revision: 342354
URL: http://svnweb.freebsd.org/changeset/ports/342354
QAT: https://qat.redports.org/buildarchive/r342354/

Log:
  Stage support

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

Modified: head/graphics/cthumb/Makefile
==============================================================================
--- head/graphics/cthumb/Makefile	Sun Feb  2 18:24:01 2014	(r342353)
+++ head/graphics/cthumb/Makefile	Sun Feb  2 18:39:59 2014	(r342354)
@@ -19,8 +19,7 @@ RUN_DEPENDS=	${LOCALBASE}/bin/pnmscale:$
 USES=		perl5
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-themedir=${DATADIR}
-
-MAN1=		cthumb.1
+CONFIGURE_ENV=	perl_path=${PERL}
 
 PORTDOCS=	ChangeLog INSTALL README TO-DO VERSION cthumbrc.sample
 
@@ -49,20 +48,19 @@ THEMES=		blue-steel.theme \
 		tv-large.theme \
 		tv.theme
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${PREFIX}/man/man1
-	${MKDIR} ${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${STAGEDIR}${PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for theme in ${THEMES}
-	${MKDIR} ${DATADIR}/${theme}
-	${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${DATADIR}/${theme}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/${theme}
+	${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${STAGEDIR}${DATADIR}/${theme}
 .endfor
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/graphics/cthumb/pkg-plist
==============================================================================
--- head/graphics/cthumb/pkg-plist	Sun Feb  2 18:24:01 2014	(r342353)
+++ head/graphics/cthumb/pkg-plist	Sun Feb  2 18:39:59 2014	(r342354)
@@ -1,4 +1,5 @@
 bin/cthumb
+man/man1/cthumb.1.gz
 %%DATADIR%%/blue-steel.theme/1.gif
 %%DATADIR%%/blue-steel.theme/back.png
 %%DATADIR%%/blue-steel.theme/bot.png



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