freebsd-ports/archivers/unmass/Makefile

36 lines
735 B
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
PORTNAME= unmass
PORTVERSION= 0.92
CATEGORIES= archivers
MASTER_SITES= http://mirex.mypage.sk/FILES/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
2012-07-25 08:32:06 +02:00
COMMENT= Extract game archives such as wad, dar, mea exe's, and many more
2011-12-27 16:14:23 +01:00
LICENSE= GPLv2
USES= dos2unix
GNU_CONFIGURE= yes
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}
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}_kdev \
2013-10-22 23:13:49 +02:00
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>