aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/dosbox/Makefile
blob: 64d28b9cdfadd66c5ab57ff878628319b7d3a027 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:   dosbox
# Date created:        28 July 2002
# Whom:                Tom Carrick <knyghtmare@knyghtmare.com>
#
# $FreeBSD$
#

PORTNAME=   dosbox
PORTVERSION=    0.61
PORTREVISION=   1
CATEGORIES= emulators
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= knyghtmare@knyghtmare.com
COMMENT=    An emulator of a PC with DOS

LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png

GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
USE_SDL=    sdl net

MAN1=       dosbox.1
PKGMESSAGE= ${WRKDIR}/pkg-message

CPPFLAGS+=      -I${LOCALBASE}/include
CONFIGURE_ENV+=     CPPFLAGS="${CPPFLAGS}"
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=    --enable-core-inline

post-patch:
    @${REINPLACE_CMD} -e 's#SDL\/#SDL11\/#g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
        ${WRKSRC}/docs/dosbox.1
    @${SED} 's#%%DOCSDIR%%#${DOCSDIR}#' ${PKGDIR}/pkg-message > \
        ${WRKDIR}/pkg-message

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox
    ${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

post-install:
    @${CAT} ${WRKDIR}/pkg-message

.include <bsd.port.mk>
title='2012-08-05 06:52:02 +0800'>2012-08-051-1/+1 * - update png to 1.5.10dinoex2012-06-012-1/+12 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2 * - Update to version 1.6.1, bugfix and translations releasedanfe2011-07-254-26/+57 * - Get Rid MD5 supportmiwi2011-03-191-1/+0 * - Add LICENSE (GPLv2) and adjust relevant commentdanfe2011-03-181-8/+6 * Sync to new bsd.autotools.mkade2010-12-041-1/+1 * Bump PORTREVISION for ports that depend on libogg, directly or indirectlynaddy2010-06-071-1/+1 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * - Mention that this is master port in Makefile headerdanfe2010-05-221-2/+3 * - fix build for png-1.4.1dinoex2010-03-311-0/+11 * - update to 1.4.1dinoex2010-03-281-2/+2 * - update to jpeg-8dinoex2010-02-051-1/+2 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-1/+1 * - Allow to build with KDE3 frontenddanfe2009-08-184-3/+128 * Augment the description: add information about add-ons.danfe2009-08-171-1/+6 * - Update to version 1.6.0danfe2009-08-167-130/+262 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1 * - update to jpeg7dinoex2009-07-181-2/+2 * - Update X.org ports to 7.4+ (few ports are more recent than the katamari).flz2009-01-241-2/+3 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Take maintainershipdanfe2008-04-292-13/+11 * Reset jylefort's port maintainerships. portmgr has taken his commit bitlinimon2008-04-291-1/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-6/+5 * . unbreak building with gcc-4.2 (delete extra qualifications), thisbsam2007-05-233-1/+23 * - Welcome X.org 7.2 \o/.flz2007-05-202-8/+1 * [patch] cleanup non-supported FreeBSD versionsedwin2007-05-021-4/+0 * Install missing 3D modelsjylefort2006-10-312-1/+17 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-142-1/+9 * Modify these files to reflect bsd.lua.mk as tested on the cluster.linimon2006-09-151-4/+6 * Do not tell users to restart gconfd-2 after install, since it's nojylefort2006-05-052-10/+0 * - Update to 1.4.1jylefort2006-05-04