Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 22:14:14 +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: r339293 - head/graphics/urt
Message-ID:  <201401092214.s09MEE6r062646@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Jan  9 22:14:14 2014
New Revision: 339293
URL: http://svnweb.freebsd.org/changeset/ports/339293

Log:
  - Stage support, cheating on PREFIX
  - New LIB_DEPENDS syntax

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

Modified: head/graphics/urt/Makefile
==============================================================================
--- head/graphics/urt/Makefile	Thu Jan  9 21:59:55 2014	(r339292)
+++ head/graphics/urt/Makefile	Thu Jan  9 22:14:14 2014	(r339293)
@@ -16,7 +16,7 @@ PATCH_DIST_STRIP=-p1
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Toolkit and library for raster image processing
 
-LIB_DEPENDS=	netpbm:${PORTSDIR}/graphics/netpbm
+LIB_DEPENDS=	libnetpbm.so:${PORTSDIR}/graphics/netpbm
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
@@ -26,49 +26,22 @@ USE_XORG=	x11 xext
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=Configure
 CONFIGURE_ARGS=	config/urt
-USE_GMAKE=	yes
+USES=		gmake
 MAKEFILE=	makefile
+MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
 ALL_TARGET=	# none
 USE_LDCONFIG=	yes
 
-MAN1=	aliastorle.1 applymap.1 avg4.1 crop.1 cubitorle.1 dvirle.1	\
-	fant.1 getx11.1 giftorle.1 graytorle.1 into.1 mcut.1 mergechan.1\
-	painttorle.1 pgmtorle.1 ppmtorle.1 pyrmask.1 rawtorle.1		\
-	repos.1 rlatorle.1 rleClock.1 rleaddcom.1 rleaddeof.1 rlebg.1	\
-	rlebox.1 rlecat.1 rleccube.1 rlecomp.1 rledither.1 rleflip.1	\
-	rlegrid.1 rlehdr.1 rlehisto.1 rleinterp.1 rleldmap.1 rlemandl.1	\
-	rlenoise.1 rlepatch.1 rleprint.1 rlequant.1 rlescale.1 		\
-	rleselect.1 rlesetbg.1 rlespiff.1 rlesplice.1 rlesplit.1	\
-	rlestereo.1 rleswap.1 rletoabA60.1 rletoabA62.1	rletoalias.1	\
-	rletoascii.1 rletogif.1 rletogray.1 rletopaint.1 rletoppm.1	\
-	rletops.1 rletoraw.1 rletorla.1 rletotarga.1 rletotiff.1	\
-	rlezoom.1 smush.1 targatorle.1 tifftorle.1 to8.1 tobw.1 unexp.1	\
-	unslice.1 urt.1 wasatchrle.1
-MAN3=	buildmap.3 bwdithermap.3 colorquant.3 dither.3 ditherbw.3	\
-	dithergb.3 dithermap.3 float_to_exp.3 hilbert.3 hilbert_c2i.3	\
-	hilbert_i2c.3 inv_cmap.3 librle.3 make_square.3 rgb_to_bw.3	\
-	rle_addhist.3 rle_cp.3 rle_debug.3 rle_delcom.3 rle_freeraw.3	\
-	rle_get_error.3 rle_get_set.3 rle_get_setup.3			\
-	rle_get_setup_ok.3 rle_getcom.3 rle_getraw.3 rle_getrow.3	\
-	rle_getskip.3 rle_hdr.3 rle_op.3 rle_open_f.3			\
-	rle_open_f_noexit.3 rle_put_init.3 rle_put_setup.3 rle_putcom.3	\
-	rle_puteof.3 rle_putraw.3 rle_putrow.3 rle_raw_alloc.3		\
-	rle_raw_free.3 rle_rawtorow.3 rle_row_alloc.3 rle_row_free.3	\
-	rle_skiprow.3
-MAN5=	rle.5
-MLINKS=	rle.5 RLE.5
-
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}/img
-	@(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/img)
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/img
+	@(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/img)
 .endif
 
 .include <bsd.port.mk>

Modified: head/graphics/urt/pkg-plist
==============================================================================
--- head/graphics/urt/pkg-plist	Thu Jan  9 21:59:55 2014	(r339292)
+++ head/graphics/urt/pkg-plist	Thu Jan  9 22:14:14 2014	(r339293)
@@ -76,6 +76,123 @@ include/rle_raw.h
 lib/librle.a
 lib/librle.so
 lib/librle.so.1
+man/man1/aliastorle.1.gz
+man/man1/applymap.1.gz
+man/man1/avg4.1.gz
+man/man1/crop.1.gz
+man/man1/cubitorle.1.gz
+man/man1/dvirle.1.gz
+man/man1/fant.1.gz
+man/man1/getx11.1.gz
+man/man1/giftorle.1.gz
+man/man1/graytorle.1.gz
+man/man1/into.1.gz
+man/man1/mcut.1.gz
+man/man1/mergechan.1.gz
+man/man1/painttorle.1.gz
+man/man1/pgmtorle.1.gz
+man/man1/ppmtorle.1.gz
+man/man1/pyrmask.1.gz
+man/man1/rawtorle.1.gz
+man/man1/repos.1.gz
+man/man1/rlatorle.1.gz
+man/man1/rleClock.1.gz
+man/man1/rleaddcom.1.gz
+man/man1/rleaddeof.1.gz
+man/man1/rlebg.1.gz
+man/man1/rlebox.1.gz
+man/man1/rlecat.1.gz
+man/man1/rleccube.1.gz
+man/man1/rlecomp.1.gz
+man/man1/rledither.1.gz
+man/man1/rleflip.1.gz
+man/man1/rlegrid.1.gz
+man/man1/rlehdr.1.gz
+man/man1/rlehisto.1.gz
+man/man1/rleinterp.1.gz
+man/man1/rleldmap.1.gz
+man/man1/rlemandl.1.gz
+man/man1/rlenoise.1.gz
+man/man1/rlepatch.1.gz
+man/man1/rleprint.1.gz
+man/man1/rlequant.1.gz
+man/man1/rlescale.1.gz
+man/man1/rleselect.1.gz
+man/man1/rlesetbg.1.gz
+man/man1/rlespiff.1.gz
+man/man1/rlesplice.1.gz
+man/man1/rlesplit.1.gz
+man/man1/rlestereo.1.gz
+man/man1/rleswap.1.gz
+man/man1/rletoabA60.1.gz
+man/man1/rletoabA62.1.gz
+man/man1/rletoalias.1.gz
+man/man1/rletoascii.1.gz
+man/man1/rletogif.1.gz
+man/man1/rletogray.1.gz
+man/man1/rletopaint.1.gz
+man/man1/rletoppm.1.gz
+man/man1/rletops.1.gz
+man/man1/rletoraw.1.gz
+man/man1/rletorla.1.gz
+man/man1/rletotarga.1.gz
+man/man1/rletotiff.1.gz
+man/man1/rlezoom.1.gz
+man/man1/smush.1.gz
+man/man1/targatorle.1.gz
+man/man1/tifftorle.1.gz
+man/man1/to8.1.gz
+man/man1/tobw.1.gz
+man/man1/unexp.1.gz
+man/man1/unslice.1.gz
+man/man1/urt.1.gz
+man/man1/wasatchrle.1.gz
+man/man3/buildmap.3.gz
+man/man3/bwdithermap.3.gz
+man/man3/colorquant.3.gz
+man/man3/dither.3.gz
+man/man3/ditherbw.3.gz
+man/man3/dithergb.3.gz
+man/man3/dithermap.3.gz
+man/man3/float_to_exp.3.gz
+man/man3/hilbert.3.gz
+man/man3/hilbert_c2i.3.gz
+man/man3/hilbert_i2c.3.gz
+man/man3/inv_cmap.3.gz
+man/man3/librle.3.gz
+man/man3/make_square.3.gz
+man/man3/rgb_to_bw.3.gz
+man/man3/rle_addhist.3.gz
+man/man3/rle_cp.3.gz
+man/man3/rle_debug.3.gz
+man/man3/rle_delcom.3.gz
+man/man3/rle_freeraw.3.gz
+man/man3/rle_get_error.3.gz
+man/man3/rle_get_set.3.gz
+man/man3/rle_get_setup.3.gz
+man/man3/rle_get_setup_ok.3.gz
+man/man3/rle_getcom.3.gz
+man/man3/rle_getraw.3.gz
+man/man3/rle_getrow.3.gz
+man/man3/rle_getskip.3.gz
+man/man3/rle_hdr.3.gz
+man/man3/rle_op.3.gz
+man/man3/rle_open_f.3.gz
+man/man3/rle_open_f_noexit.3.gz
+man/man3/rle_put_init.3.gz
+man/man3/rle_put_setup.3.gz
+man/man3/rle_putcom.3.gz
+man/man3/rle_puteof.3.gz
+man/man3/rle_putraw.3.gz
+man/man3/rle_putrow.3.gz
+man/man3/rle_raw_alloc.3.gz
+man/man3/rle_raw_free.3.gz
+man/man3/rle_rawtorow.3.gz
+man/man3/rle_row_alloc.3.gz
+man/man3/rle_row_free.3.gz
+man/man3/rle_skiprow.3.gz
+man/man5/RLE.5.gz
+man/man5/rle.5.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/pics/README
 %%PORTDOCS%%%%DOCSDIR%%/pics/bullet_holes_and_shot_turb.ps.Z



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