aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-06-24 22:03:43 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-06-24 22:03:43 +0800
commitdebf8f59a45af4ae44c44886fa085a54cff00745 (patch)
treed142d65816026903d8285be60ea0039b20d5b6ee /emulators
parenta8745d318bd2ac2b5d5813ddc6e99d12b6274e36 (diff)
downloadfreebsd-ports-gnome-debf8f59a45af4ae44c44886fa085a54cff00745.tar.gz
freebsd-ports-gnome-debf8f59a45af4ae44c44886fa085a54cff00745.tar.zst
freebsd-ports-gnome-debf8f59a45af4ae44c44886fa085a54cff00745.zip
- Switch to options helpers
- Cosmetic fixes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xhomer/Makefile19
1 files changed, 13 insertions, 6 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
+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>