svn commit: r352461 - head/graphics/linplasma
Pawel Pekala
pawel at FreeBSD.org
Sun Apr 27 20:50:28 UTC 2014
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 at 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>
More information about the svn-ports-all
mailing list