Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 19:27:57 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352545 - head/graphics/sng
Message-ID:  <201404281927.s3SJRvre099395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Apr 28 19:27:56 2014
New Revision: 352545
URL: http://svnweb.freebsd.org/changeset/ports/352545
QAT: https://qat.redports.org/buildarchive/r352545/

Log:
  - Add staging support
  - Convert to new LIB_DEPENDS format

Modified:
  head/graphics/sng/Makefile

Modified: head/graphics/sng/Makefile
==============================================================================
--- head/graphics/sng/Makefile	Mon Apr 28 19:27:48 2014	(r352544)
+++ head/graphics/sng/Makefile	Mon Apr 28 19:27:56 2014	(r352545)
@@ -12,7 +12,7 @@ COMMENT=	Compiler/decompiler for Scripta
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
 RUN_DEPENDS=	${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
 
 GNU_CONFIGURE=	yes
 CFLAGS+=	-I${LOCALBASE}/include/libpng15
@@ -20,15 +20,13 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--with-png-inc=${LOCALBASE}/include \
 		--with-rgbtxt=${LOCALBASE}/lib/X11/rgb.txt
 
-MAN1=		sng.1
-PLIST_FILES=	bin/sng bin/sng_regress
+PLIST_FILES=	bin/sng bin/sng_regress man/man1/sng.1.gz
 
-NO_STAGE=	yes
 no-pre-patch:
 	@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e '33,34s|^static ||' ${WRKSRC}/sngd.c
 
 post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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