ports/115859: [patch] emulators/dosbox update to 0.72

Alex Kozlov spam at rm-rf.kiev.ua
Mon Aug 27 11:10:08 UTC 2007


>Number:         115859
>Category:       ports
>Synopsis:       [patch] emulators/dosbox update to 0.72
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 27 11:10:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kozlov
>Release:        FreeBSD 6.2
>Organization:
private
>Environment:
>Description:
Update dosbox to 0.72
Makefile optimization.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dosbox
-PORTVERSION=	0.71
+PORTVERSION=	0.72
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,10 +16,13 @@
 
 LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
 
-USE_AUTOTOOLS=	autoconf:259 aclocal:19
 GNU_CONFIGURE=	yes
 USE_SDL=	sdl net
 
+PLIST_FILES=	bin/dosbox \
+		%%PORTDOCS%%%%DOCSDIR%%/NEWS \
+		%%PORTDOCS%%%%DOCSDIR%%/README
+
 MAN1=		dosbox.1
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
@@ -33,8 +36,6 @@
 post-patch:
 	@${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
@@ -46,6 +47,13 @@
 .endif
 
 post-install:
-	@${CAT} ${WRKDIR}/pkg-message
+	@${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
+.if !defined(NOPORTDOCS)
+	@${ECHO_CMD} "=================================================" > ${PKGMESSAGE}
+	@${ECHO_CMD} "Be sure to read the README for usage instructions" >> ${PKGMESSAGE}
+	@${ECHO_CMD} "located in ${DOCSDIR} by default" >> ${PKGMESSAGE}
+	@${ECHO_CMD} "=================================================" >> ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
+.endif
 
 .include <bsd.port.mk>
Index: distinfo
@@ -1,3 +1,3 @@
-MD5 (dosbox-0.71.tar.gz) = 52ee21b69f7baaf88190d7935ea58359
-SHA256 (dosbox-0.71.tar.gz) = df492a9e05f7633ea188cc8ba4959acd362c7e857d23b9eef1513043a166c4c4
-SIZE (dosbox-0.71.tar.gz) = 989672
+MD5 (dosbox-0.72.tar.gz) = 262939cc28966c1f9b07c2bc472b699f
+SHA256 (dosbox-0.72.tar.gz) = 1747d7d9f1e5c0635b5d2d3e6648e8dc36316b1bc88b3755bf96b7fde499ac79
+SIZE (dosbox-0.72.tar.gz) = 1046475
Index: pkg-message
@@ -1,4 +0,0 @@
-=================================================
-Be sure to read the README for usage instructions
-located in %%DOCSDIR%% by default
-=================================================
Index: pkg-plist
@@ -1,4 +0,0 @@
-bin/dosbox
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
Index: files/patch-configure.in
@@ -1,10 +0,0 @@
---- configure.in.orig
-+++ configure.in
-@@ -407,7 +407,6 @@
-        LIBS="$LIBS -framework AudioUnit"
-        ;;
-     *-*-freebsd* | *-*-linux* | *-*-dragonfly* | *-*-netbsd* | *-*-openbsd*)
--       AC_DEFINE(LINUX, 1, [Compiling on GNU/Linux or *BSD])
-        AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
-        ;;
-     *-*-os2-emx*)


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list