aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/doscmd/Makefile
blob: bbd8207cfdd111bc7963b19b726cf9aadb7b80cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:        doscmd
# Date created:                 2004-03-23
# Whom:                     des
#
# $FreeBSD$
#

PORTNAME=   doscmd
PORTVERSION=    20110826
CATEGORIES= emulators
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= doscmd

MAINTAINER= shurd@sasktel.net
COMMENT=    DOS emulator

ONLY_FOR_ARCHS= i386
.ifdef WITHOUT_X11
MAKE_ARGS+= -DNO_X
PLIST_SUB+= X11="@comment "
.else
USE_XORG=   x11
PLIST_SUB+= X11=""
MAKE_ARGS+= X11BASE=${LOCALBASE}
.endif
MAKE_ARGS+= MANDIR="${PREFIX}/man/man"
MAN1=       doscmd.1
MANCOMPRESSED=  yes

post-install:
    @${ECHO_MSG} NOTE:
    @${ECHO_MSG} =====
    @${ECHO_MSG} For security reasons, FreeBSD no longer allows mmap\(\) at zero.
    @${ECHO_MSG} To remove this security protection and allow doscmd to work, you will need
    @${ECHO_MSG} to set sysctl security.bsd.map_at_zero=1 either before running doscmd or
    @${ECHO_MSG} in /etc/sysctl.conf.

.include <bsd.port.mk>