- Add staging support

- Fix recursive COMMENT
- Convert to new LIB_DEPENDS format
- Switch to PLIST_FILES
- Define DOCS option
This commit is contained in:
Pawel Pekala 2014-04-10 12:50:22 +00:00
parent 599213147f
commit 8380e8a8ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350803
2 changed files with 9 additions and 12 deletions

View file

@ -11,22 +11,22 @@ DISTNAME= VGBA${PORTVERSION:S/.//}-FreeBSD-80x86-bin
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Virtual GameBoy Advance is an emulator of Nintendo GameBoy Advance(TM)
COMMENT= Emulator of Nintendo GameBoy Advance(TM)
LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
LIB_DEPENDS= libc.so.5:${PORTSDIR}/misc/compat5x
ONLY_FOR_ARCHS= i386
NO_BUILD= no
NO_WRKSUBDIR= no
INSTALL_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP}
PLIST_FILES= bin/vgba
PORTDOCS= VGBA.html
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/vgba ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${INSTALL_DIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/VGBA.html ${DOCSDIR}
.endif # !defined(NOPORTDOCS)
${INSTALL_PROGRAM} ${WRKSRC}/vgba ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/VGBA.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
bin/vgba
%%PORTDOCS%%%%DOCSDIR%%/VGBA.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%