mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
805fc8ec88
PR: ports/146529 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Approved by: maintainer(timeout, > 15days)
44 lines
1013 B
Makefile
44 lines
1013 B
Makefile
# New ports collection makefile for: dosbox
|
|
# Date created: 28 July 2002
|
|
# Whom: Tom Carrick <knyghtmare@knyghtmare.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dosbox
|
|
PORTVERSION= 0.74
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= knyght@gmail.com
|
|
COMMENT= An emulator of a PC with DOS
|
|
|
|
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_SDL= sdl net sound
|
|
PLIST_FILES= bin/dosbox
|
|
PORTDOCS= NEWS README
|
|
|
|
MAN1= dosbox.1
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
|
CONFIGURE_ARGS+= --enable-core-inline
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
|
|
${WRKSRC}/docs/dosbox.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox
|
|
${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${MAN1PREFIX}/man/man1/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|