aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unmass/Makefile9
-rw-r--r--archivers/unmass/distinfo5
2 files changed, 10 insertions, 4 deletions
diff --git a/archivers/unmass/Makefile b/archivers/unmass/Makefile
index 771516898cab..afe1d34e2598 100644
--- a/archivers/unmass/Makefile
+++ b/archivers/unmass/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= unmass
-PORTVERSION= 0.9
+PORTVERSION= 0.92
CATEGORIES= archivers
MASTER_SITES= http://mirex.mypage.sk/FILES/ \
LOCAL/ehaupt
@@ -15,10 +15,15 @@ LICENSE= GPLv2
USES= gmake dos2unix
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/kdev
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/kdev_cmd
PLIST_FILES= bin/unmass
+CFLAGS+= -DUNIX
+
+post-extract:
+ @${MV} ${WRKSRC}/../src/* ${WRKSRC}/src/
+
post-patch:
.for f in ma.cpp massfs.h utools.h
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|' ${WRKSRC}/src/${f}
diff --git a/archivers/unmass/distinfo b/archivers/unmass/distinfo
index 37d3fe952867..d7a7c454f94b 100644
--- a/archivers/unmass/distinfo
+++ b/archivers/unmass/distinfo
@@ -1,2 +1,3 @@
-SHA256 (unmass-0.9.tar.gz) = ed3829e4a73592ed3b0628a8ded27b4aec052d39b2083dac5213fcd628054e51
-SIZE (unmass-0.9.tar.gz) = 393735
+TIMESTAMP = 1476476744
+SHA256 (unmass-0.92.tar.gz) = 810e59f74f4c033fec3da6d331c683870823f1fc808a2f52f67baaaae5e57d3f
+SIZE (unmass-0.92.tar.gz) = 390954