233640b6af
- Remove 4.X cruft. PR: ports/115859 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Approved by: stas (mentor), Tom Carrick <knyght@gmail.com> (maintainer)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: dosbox
|
|
# Date created: 28 July 2002
|
|
# Whom: Tom Carrick <knyghtmare@knyghtmare.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dosbox
|
|
PORTVERSION= 0.72
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= knyght@gmail.com
|
|
COMMENT= An emulator of a PC with DOS
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
|
|
|
GNU_CONFIGURE= 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#\/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}
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|