View | Details | Raw Unified | Return to bug 115859
Collapse All | Expand All

(-)Makefile (-5 / +13 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	dosbox
8
PORTNAME=	dosbox
9
PORTVERSION=	0.71
9
PORTVERSION=	0.72
10
CATEGORIES=	emulators
10
CATEGORIES=	emulators
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 16-25 Link Here
16
16
17
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
17
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
18
18
19
USE_AUTOTOOLS=	autoconf:259 aclocal:19
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
USE_SDL=	sdl net
20
USE_SDL=	sdl net
22
21
22
PLIST_FILES=	bin/dosbox \
23
		%%PORTDOCS%%%%DOCSDIR%%/NEWS \
24
		%%PORTDOCS%%%%DOCSDIR%%/README
25
23
MAN1=		dosbox.1
26
MAN1=		dosbox.1
24
PKGMESSAGE=	${WRKDIR}/pkg-message
27
PKGMESSAGE=	${WRKDIR}/pkg-message
25
28
Lines 33-40 Link Here
33
post-patch:
36
post-patch:
34
	@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
37
	@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
35
		${WRKSRC}/docs/dosbox.1
38
		${WRKSRC}/docs/dosbox.1
36
	@${SED} 's#%%DOCSDIR%%#${DOCSDIR}#' ${PKGDIR}/pkg-message > \
37
		${WRKDIR}/pkg-message
38
39
39
do-install:
40
do-install:
40
	${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox
41
	${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox
Lines 46-51 Link Here
46
.endif
47
.endif
47
48
48
post-install:
49
post-install:
49
	@${CAT} ${WRKDIR}/pkg-message
50
	@${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
51
.if !defined(NOPORTDOCS)
52
	@${ECHO_CMD} "=================================================" > ${PKGMESSAGE}
53
	@${ECHO_CMD} "Be sure to read the README for usage instructions" >> ${PKGMESSAGE}
54
	@${ECHO_CMD} "located in ${DOCSDIR} by default" >> ${PKGMESSAGE}
55
	@${ECHO_CMD} "=================================================" >> ${PKGMESSAGE}
56
	@${CAT} ${PKGMESSAGE}
57
.endif
50
58
51
.include <bsd.port.mk>
59
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (dosbox-0.71.tar.gz) = 52ee21b69f7baaf88190d7935ea58359
1
MD5 (dosbox-0.72.tar.gz) = 262939cc28966c1f9b07c2bc472b699f
2
SHA256 (dosbox-0.71.tar.gz) = df492a9e05f7633ea188cc8ba4959acd362c7e857d23b9eef1513043a166c4c4
2
SHA256 (dosbox-0.72.tar.gz) = 1747d7d9f1e5c0635b5d2d3e6648e8dc36316b1bc88b3755bf96b7fde499ac79
3
SIZE (dosbox-0.71.tar.gz) = 989672
3
SIZE (dosbox-0.72.tar.gz) = 1046475
(-)pkg-message (-4 lines)
Lines 1-4 Link Here
1
=================================================
2
Be sure to read the README for usage instructions
3
located in %%DOCSDIR%% by default
4
=================================================
(-)pkg-plist (-4 lines)
Lines 1-4 Link Here
1
bin/dosbox
2
%%PORTDOCS%%%%DOCSDIR%%/NEWS
3
%%PORTDOCS%%%%DOCSDIR%%/README
4
%%PORTDOCS%%@dirrm %%DOCSDIR%%
(-)files/patch-configure.in (-10 lines)
Lines 1-10 Link Here
1
--- configure.in.orig
2
+++ configure.in
3
@@ -407,7 +407,6 @@
4
        LIBS="$LIBS -framework AudioUnit"
5
        ;;
6
     *-*-freebsd* | *-*-linux* | *-*-dragonfly* | *-*-netbsd* | *-*-openbsd*)
7
-       AC_DEFINE(LINUX, 1, [Compiling on GNU/Linux or *BSD])
8
        AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
9
        ;;
10
     *-*-os2-emx*)

Return to bug 115859