- Add staging support

- Convert to new LIB_DEPENDS format
This commit is contained in:
Pawel Pekala 2014-04-25 20:44:47 +00:00
parent 669e3e4d31
commit 1e6f6f6e8d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352150

View file

@ -10,7 +10,7 @@ MASTER_SITE_SUBDIR= apps/graphics/hacks/svgalib
MAINTAINER= ports@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>