svn commit: r352150 - head/graphics/acidwarp
Pawel Pekala
pawel at FreeBSD.org
Fri Apr 25 20:44:48 UTC 2014
Author: pawel
Date: Fri Apr 25 20:44:47 2014
New Revision: 352150
URL: http://svnweb.freebsd.org/changeset/ports/352150
QAT: https://qat.redports.org/buildarchive/r352150/
Log:
- Add staging support
- Convert to new LIB_DEPENDS format
Modified:
head/graphics/acidwarp/Makefile
Modified: head/graphics/acidwarp/Makefile
==============================================================================
--- head/graphics/acidwarp/Makefile Fri Apr 25 20:30:02 2014 (r352149)
+++ head/graphics/acidwarp/Makefile Fri Apr 25 20:44:47 2014 (r352150)
@@ -10,7 +10,7 @@ MASTER_SITE_SUBDIR= apps/graphics/hacks/
MAINTAINER= ports at FreeBSD.org
COMMENT= SVGAlib demo which displays trippy mathematical images in cycling colors
-LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
+LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib
ONLY_FOR_ARCHS= i386
ALL_TARGET= ${PORTNAME}
@@ -23,7 +23,6 @@ OPTIONS_DEFINE= SETUID DOCS
OPTIONS_DEFAULT= SETUID
SETUID_DESC= Install with setuid bit set
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSETUID}
@@ -34,12 +33,8 @@ post-extract:
${RM} -f ${WRKSRC}/acidwarp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/acidwarp ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/acidwarp ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list