2013-07-08 18:42:15 +00:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
2007-08-14 15:23:38 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= unmass
|
|
|
|
PORTVERSION= 0.9
|
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= http://mirex.mypage.sk/FILES/ \
|
2008-03-27 22:15:47 +00:00
|
|
|
CRITICAL
|
2007-08-14 15:23:38 +00:00
|
|
|
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2012-07-25 06:32:06 +00:00
|
|
|
COMMENT= Extract game archives such as wad, dar, mea exe's, and many more
|
2007-08-14 15:23:38 +00:00
|
|
|
|
2011-12-27 15:14:23 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-12-18 11:53:20 +00:00
|
|
|
USES= gmake dos2unix
|
2007-08-14 15:23:38 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/kdev
|
|
|
|
|
|
|
|
PLIST_FILES= bin/unmass
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for f in ma.cpp massfs.h utools.h
|
|
|
|
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|' ${WRKSRC}/src/${f}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}_kdev \
|
2013-10-22 21:13:49 +00:00
|
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2007-08-14 15:23:38 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|