- Switch to options helpers

- Cosmetic fixes
This commit is contained in:
Dmitry Marakasov 2016-06-24 14:03:43 +00:00
parent 7df40923eb
commit b6a21a5b7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417422

View File

@ -14,21 +14,28 @@ COMMENT= Emulator for the DEC Pro 350 computer
USES= gmake tar:tgz
USE_XORG= xt sm ice xext x11
ALL_TARGET= clean xhomer
INSTALL_TARGET=
INSTALL_TARGET= # empty
CFLAGS+= -Wall -ffloat-store
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_FILES= bin/xhomer %%EXAMPLESDIR%%/xhomer.cfg
SUB_FILES= pkg-message
PLIST_FILES= bin/xhomer
PORTDOCS= README LICENSE SIMH
PORTEXAMPLES= xhomer.cfg
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/xhomer ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/xhomer.cfg ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>