- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2016-08-12 09:01:07 +00:00
parent 159205276d
commit e0c1f5579a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420118

View File

@ -10,14 +10,14 @@ MASTER_SITES= http://www.zeograd.com/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= PC Engine C compiler which can create ROMs (hucard) or CD images
OPTIONS_DEFINE= DOCS
NO_WRKSUBDIR= yes
USES= gmake zip
MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
OPTIONS_DEFINE= DOCS
do-install:
.for file in huc isolink nesasm pceas pcxtool
${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${STAGEDIR}${PREFIX}/bin
@ -25,6 +25,8 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
(cd ${WRKSRC}/include \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/${PORTNAME})
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})