summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-11-13 02:28:34 +0000
committergerald <gerald@FreeBSD.org>2011-11-13 02:28:34 +0000
commita780bf9f2019a9b8607ac46e95e15d66e0310a19 (patch)
tree1e41c36f8fdfb8ef7d1314bfa06e6e1f527a3959 /emulators
parent853042ec9f87bc94c3dd2210f76dff9b1a54fdb4 (diff)
downloadFreeBSD-ports-a780bf9f2019a9b8607ac46e95e15d66e0310a19.zip
FreeBSD-ports-a780bf9f2019a9b8607ac46e95e15d66e0310a19.tar.gz
Add a knob DOSBOX to control an optional run-time dependency on DOSBox.
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Feature safe: yes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-devel/Makefile5
-rw-r--r--emulators/wine/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 5ee2d55..be9bb3d 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -60,6 +60,7 @@ SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" Off \
+ DOSBOX "Use DOSBox to run MS-DOS programs" Off \
GNUTLS "Use GnuTLS" Off \
HAL "Use HAL (Hardware Abstraction Layer)" Off \
LDAP "Use LDAP" Off \
@@ -78,6 +79,10 @@ CONFIGURE_ARGS+= --with-cups
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
.endif
+.ifdef WITH_DOSBOX
+RUN_DEPENDS+= dosbox:${PORTSDIR}/emulators/dosbox
+.endif
+
.ifdef WITH_GNUTLS
CONFIGURE_ARGS+= --with-gnutls
LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 5ee2d55..be9bb3d 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -60,6 +60,7 @@ SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" Off \
+ DOSBOX "Use DOSBox to run MS-DOS programs" Off \
GNUTLS "Use GnuTLS" Off \
HAL "Use HAL (Hardware Abstraction Layer)" Off \
LDAP "Use LDAP" Off \
@@ -78,6 +79,10 @@ CONFIGURE_ARGS+= --with-cups
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
.endif
+.ifdef WITH_DOSBOX
+RUN_DEPENDS+= dosbox:${PORTSDIR}/emulators/dosbox
+.endif
+
.ifdef WITH_GNUTLS
CONFIGURE_ARGS+= --with-gnutls
LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls
OpenPOWER on IntegriCloud