aboutsummaryrefslogtreecommitdiff
path: root/emulators/gxemul
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-08-24 09:17:19 +0000
committerJohn Marino <marino@FreeBSD.org>2014-08-24 09:17:19 +0000
commit8a2e42acafc11472d4e83883367627254e6e9c3a (patch)
tree3022814049e90dfcd1c3eefd73cc545788afaa41 /emulators/gxemul
parente4066d5ab5b86782b7b44928098bc8cf9a491c1b (diff)
downloadports-8a2e42acafc11472d4e83883367627254e6e9c3a.tar.gz
ports-8a2e42acafc11472d4e83883367627254e6e9c3a.zip
emulators/gxemul: Upgrade version 0.6.0 => 0.6.0.1
PR: 192789 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=365904
Diffstat (limited to 'emulators/gxemul')
-rw-r--r--emulators/gxemul/Makefile43
-rw-r--r--emulators/gxemul/distinfo4
2 files changed, 24 insertions, 23 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile
index 5be78e39f6a3..70169f1f98c1 100644
--- a/emulators/gxemul/Makefile
+++ b/emulators/gxemul/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= gxemul
-PORTVERSION= 0.6.0
-PORTREVISION= 2
+PORTVERSION= 0.6.0.1
CATEGORIES= emulators
MASTER_SITES= http://gxemul.sourceforge.net/src/ \
http://gavare.se/gxemul/src/
@@ -11,39 +10,41 @@ MASTER_SITES= http://gxemul.sourceforge.net/src/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Instruction-level machine emulator
-OPTIONS_DEFINE= X11 DOCS
-OPTIONS_DEFAULT= X11
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+USE_GCC= yes
HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --without-unittests
ALL_TARGET= build
MAKE_JOBS_UNSAFE= yes
-PORTDOCS= *
-PLIST_FILES= bin/gxemul \
- man/man1/gxemul.1.gz
-
-USE_GCC= yes
-
# svgalib installs vga.h, which conflicts with gxemul when building with
# a virtual VGA adaptor.
CONFLICTS= svgalib-[0-9]*
-X11_USE= xorg=x11
-X11_CONFIGURE_OFF=--disable-x
+PORTDOCS= *
+PLIST_FILES= bin/gxemul man/man1/gxemul.1.gz
+
+OPTIONS_DEFINE= DOCS X11
+OPTIONS_DEFAULT= X11
+
+X11_USE= xorg=x11
+X11_CONFIGURE_OFF= --disable-x
post-patch:
@${REINPLACE_CMD} -Ee \
's|/usr/X11R6|${LOCALBASE}|g; \
- s|-O[0-9]?||g; \
- s|-f[a-zA-Z-]+||g' ${WRKSRC}/configure
+ /CXXFLAGS=/s|-O[0-9]?||g; \
+ /CXXFLAGS=/s|-f[a-zA-Z-]+||g' ${WRKSRC}/configure
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/components \
- ${STAGEDIR}${DOCSDIR}/machines
- ${INSTALL_DATA} ${WRKSRC}/doc/components/* ${STAGEDIR}${DOCSDIR}/components
- ${INSTALL_DATA} ${WRKSRC}/doc/machines/* ${STAGEDIR}${DOCSDIR}/machines
- ${INSTALL_DATA} `find ${WRKSRC}/doc/ -type f -depth 1` ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} gxemul \
+ ${STAGEDIR}${PREFIX}/bin)
+ (cd ${WRKSRC}/man && ${INSTALL_MAN} gxemul.1 \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . \
+ ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/emulators/gxemul/distinfo b/emulators/gxemul/distinfo
index 38d5ecac3b2a..49e5499cd444 100644
--- a/emulators/gxemul/distinfo
+++ b/emulators/gxemul/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gxemul-0.6.0.tar.gz) = d3f85c7964b44b085e088862d88b1f31d907fb99c5321900c0b3a723c82581e8
-SIZE (gxemul-0.6.0.tar.gz) = 3598795
+SHA256 (gxemul-0.6.0.1.tar.gz) = 0790823d8d7f8848c98318ace829f7a0159a5f9b79d80bd8c367fb17014dcda9
+SIZE (gxemul-0.6.0.1.tar.gz) = 5420978