Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2014 20:50:28 +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: r352461 - head/graphics/linplasma
Message-ID:  <201404272050.s3RKoSuF038722@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Apr 27 20:50:28 2014
New Revision: 352461
URL: http://svnweb.freebsd.org/changeset/ports/352461
QAT: https://qat.redports.org/buildarchive/r352461/

Log:
  - Add staging support
  - Convert to new LIB_DEPENDS format, options framework

Modified:
  head/graphics/linplasma/Makefile

Modified: head/graphics/linplasma/Makefile
==============================================================================
--- head/graphics/linplasma/Makefile	Sun Apr 27 20:34:08 2014	(r352460)
+++ head/graphics/linplasma/Makefile	Sun Apr 27 20:50:28 2014	(r352461)
@@ -11,7 +11,7 @@ MASTER_SITE_SUBDIR=	apps/graphics/hacks/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Sinus plasma, an SVGAlib demo
 
-LIB_DEPENDS=	vga.1:${PORTSDIR}/graphics/svgalib
+LIB_DEPENDS=	libvga.so:${PORTSDIR}/graphics/svgalib
 
 ONLY_FOR_ARCHS=	i386
 
@@ -20,7 +20,8 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 PLIST_FILES=	bin/linplasma
 PORTDOCS=	README
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e "s:PI:M_PI:" ${WRKSRC}/linplasma.c
 	@${REINPLACE_CMD} -e \
@@ -28,11 +29,9 @@ post-patch:
 			${WRKSRC}/linplasma.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/linplasma ${PREFIX}/bin
-	${CHMOD} +s ${PREFIX}/bin/linplasma
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/linplasma ${STAGEDIR}${PREFIX}/bin
+	${CHMOD} +s ${STAGEDIR}${PREFIX}/bin/linplasma
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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