aboutsummaryrefslogtreecommitdiff
path: root/emulators/vba
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/vba')
-rw-r--r--emulators/vba/Makefile9
-rw-r--r--emulators/vba/pkg-message3
-rw-r--r--emulators/vba/pkg-plist1
3 files changed, 7 insertions, 6 deletions
diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile
index 51f1c94ebac2..d59b48256635 100644
--- a/emulators/vba/Makefile
+++ b/emulators/vba/Makefile
@@ -51,19 +51,16 @@ pre-everything::
do-install:
${INSTALL} -d ${TARGET_DIR}
${INSTALL_PROGRAM} ${PROG_FILES} ${TARGET_DIR}
-
-.if !exists (${PREFIX}/bin/VisualBoyAdvance.cfg)
- ${INSTALL_DATA} ${DATA_FILES} ${TARGET_DIR}
-.endif
+ ${CP} ${DATA_FILES} ${DATA_FILES}-default
+ ${INSTALL_DATA} ${DATA_FILES}-default ${TARGET_DIR}
post-install:
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-
.for filename in ${DOC_FILES}
${INSTALL_MAN} ${WRKSRC}/${filename} ${DOCSDIR}
.endfor
-
.endif
+ ${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/emulators/vba/pkg-message b/emulators/vba/pkg-message
new file mode 100644
index 000000000000..8314d95ddd3b
--- /dev/null
+++ b/emulators/vba/pkg-message
@@ -0,0 +1,3 @@
+The default configuration file has been installed as
+X11BASE/bin/VisualBoyAdvance.cfg-default. Please copy it to
+X11BASE/bin/VisualBoyAdvance.cfg before you start the emulator.
diff --git a/emulators/vba/pkg-plist b/emulators/vba/pkg-plist
index 1fddf1e4d6b4..5f0f21b7b05c 100644
--- a/emulators/vba/pkg-plist
+++ b/emulators/vba/pkg-plist
@@ -1,4 +1,5 @@
bin/VisualBoyAdvance
+bin/VisualBoyAdvance.cfg-default
bin/TestEmu
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS