From b6a21a5b7d7a3ba3aa4260eb25c8bd2a55f4e15a Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 24 Jun 2016 14:03:43 +0000 Subject: [PATCH] - Switch to options helpers - Cosmetic fixes --- emulators/xhomer/Makefile | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/emulators/xhomer/Makefile b/emulators/xhomer/Makefile index 3852f17d0aca..bc97ea9674af 100644 --- a/emulators/xhomer/Makefile +++ b/emulators/xhomer/Makefile @@ -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